Mounting an ISO or FS Location as a CDROM in WINE...
-
- Level 1
- Posts: 8
- Joined: Fri Jul 23, 2010 9:04 pm
Mounting an ISO or FS Location as a CDROM in WINE...
Is it possible to mount either an ISO Archive file, or a location within my File System, as a CDROM which WINE can use as such? If so, then how can I do that?
Mounting an ISO or FS Location as a CDROM in WINE...
On 07/24/2010 02:09 PM, Linux-Smith wrote:
image with the flag -o loop. For example:
shell> mount <iso filename> <target dir> -o loop
If your target dir is accessible to your regular user, it will be
available to WINE.
For non-standard images, you may need to look at if the cdemu package
from your distribution de jour.
Bryan
Normally you do not need to do anything more then mount your opticalIs it possible to mount either an ISO Archive file, or a location within my File System, as a CDROM which WINE can use as such? If so, then how can I do that?
image with the flag -o loop. For example:
shell> mount <iso filename> <target dir> -o loop
If your target dir is accessible to your regular user, it will be
available to WINE.
For non-standard images, you may need to look at if the cdemu package
from your distribution de jour.
Bryan
-
- Level 1
- Posts: 8
- Joined: Fri Jul 23, 2010 9:04 pm
You need to map the mounted iso as a cdrom in winecfg. With the iso already mounted, go to the Drives tab and click autodetect. The mounted iso should appear in the drives list. Click Show Advanced, select the drive, and make sure the Type is set to cdrom.Linux-Smith wrote:OK... WINE is not running the installer as though it was a CDROM... how do I fix that?
-
- Level 1
- Posts: 8
- Joined: Fri Jul 23, 2010 9:04 pm
Mounting an ISO or FS Location as a CDROM in WINE...
On 07/24/2010 04:14 PM, Linux-Smith wrote:
never employed an autorun senerio with WINE---ever. I don't see the point.
I also never have seen a program that installs from CDROM that doesn't
start its actual installation by anything other then a simple executable
file. Look it the mount directory for .exe or .msi files. If the CDROM
does support autorun do something like
mount_dir> cat autorun.inf
That will tell you the program that autorun launches. There isn't
anything "special" about CDROM autorun. You can just as easily start the
installer yourself.
For example, nine out of ten CDROMs will install with this command:
mount_dir> wine setup.exe
done
Bryan
You don't usually *have* to trick WINE into autorunning the CDROM. I'veJust tried that, same results as before...
never employed an autorun senerio with WINE---ever. I don't see the point.
I also never have seen a program that installs from CDROM that doesn't
start its actual installation by anything other then a simple executable
file. Look it the mount directory for .exe or .msi files. If the CDROM
does support autorun do something like
mount_dir> cat autorun.inf
That will tell you the program that autorun launches. There isn't
anything "special" about CDROM autorun. You can just as easily start the
installer yourself.
For example, nine out of ten CDROMs will install with this command:
mount_dir> wine setup.exe
done
Bryan
Terminal output? http://wiki.winehq.org/FAQ#run_from_terminalLinux-Smith wrote:Just tried that, same results as before...
-
- Level 1
- Posts: 8
- Joined: Fri Jul 23, 2010 9:04 pm
Even with the directory *explicitly* set via wincfg as a CD-ROM drive, this is what I'm getting in the terminal, plus an error message at the end telling me to "Run setup from the CD":
According to the AppDB, the program I'm installing works on other systems... so why am I having this problem?
Code: Select all
jwesleycooper@linux-twom:/mnt/FakeCD> wine setup.exe
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a060, {485e7de8-0a80-11d8-ad15-505054503030}, 1, 0x33fe10, (null), (null), 0x100a068,)
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a080, {485e7de9-0a80-11d8-ad15-505054503030}, 1, 0x33fe10, (null), (null), 0x100a088,)
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a0a0, {485e7dea-0a80-11d8-ad15-505054503030}, 1, 0x33fe10, (null), (null), 0x100a0a8,)
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a0c0, {485e7deb-0a80-11d8-ad15-505054503030}, 1, 0x33fe10, (null), (null), 0x100a0c8,)
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a0e0, {485e7dec-0a80-11d8-ad15-505054503030}, 1, 0x33fe10, (null), (null), 0x100a0e8,)
fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a100, {485e7ded-0a80-11d8-ad15-505054503030}, 1, 0x33fe10, (null), (null), 0x100a108,)
fixme:win:RegisterDeviceNotificationW (hwnd=0x148470, filter=0x54e93c,flags=0x00000001) returns a fake device notification handle!
fixme:win:LockWindowUpdate (0x2005a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
wine client error:26: write: Bad file descriptor
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7e25925f
wine client error:26: write: Bad file descriptor
Mounting an ISO or FS Location as a CDROM in WINE...
Linux-Smith wrote:
Also, are you installing to a FRESH Wine directory?
You might want to move your existing .wine directory out of the way and
then try again
will move your existing .wine directory to .wine.backup
Then try the install AGAIN.
James McKenzie
Bad CD (it does happen) or your ISO image is corrupt.Even with the directory *explicitly* set via wincfg as a CD-ROM drive, this is what I'm getting in the terminal, plus an error message at the end telling me to "Run setup from the CD":
Code:
wine client error:26: write: Bad file descriptor
Also, are you installing to a FRESH Wine directory?
You might want to move your existing .wine directory out of the way and
then try again
Code: Select all
mv .wine{,.backup}
Then try the install AGAIN.
James McKenzie
-
- Level 1
- Posts: 8
- Joined: Fri Jul 23, 2010 9:04 pm
Mounting an ISO or FS Location as a CDROM in WINE...
Linux-Smith wrote:
What program are you running to install/run this program?
Also, have you looked at our Applications Database for this game? The
following entry may provide assistance, although it is for C&C Red Alert.
http://appdb.winehq.org/objectManager.p ... on&iId=727
This game is rated Gold for Wine 1.2-rc3.
It appears that this game cannot be installed with the Wine default
version of Windows XP.
Good luck.
James McKenzie
Ok. Now we have more information go to on.Well, moving the .wine folder didn't work... I guess this must just be a bad image of Command & Conquer Windows 95 Edition. Thanks anyway.
What program are you running to install/run this program?
Also, have you looked at our Applications Database for this game? The
following entry may provide assistance, although it is for C&C Red Alert.
http://appdb.winehq.org/objectManager.p ... on&iId=727
This game is rated Gold for Wine 1.2-rc3.
It appears that this game cannot be installed with the Wine default
version of Windows XP.
Good luck.
James McKenzie