multiple iso + install problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
win3storm
Level 1
Level 1
Posts: 7
Joined: Tue Dec 22, 2009 12:48 pm

multiple iso + install problem

Post by win3storm »

Hi,

I have got a program in 2 iso images on my HDD (ripped from archive DVD and both of these are CD images) and haven't got any CD-s.
When I mount the first iso, I can run setup.exe with wine. But only the first one. When installer asks the other one into the cdrom drive, never opens.
I tried to mount it to normal and virtual cdrom also, but not solved. There is a single way, I think, but I didn't found.

Can somebody help?

Regards:
win3storm
rekuli
Level 2
Level 2
Posts: 26
Joined: Tue Dec 22, 2009 10:12 pm

Post by rekuli »

there is at least a work-around. Two methods:

method 1: you have a Volume manager running (GNOME or KDE)
open a terminal and force unmounting the first ISO, then mount the next in the same directory. Wine will notice this, though you will still see the Icon and name of the first ISO on your desktop. Do the same for all following ISOs, but do not forget to re-mount the first ISO when you quit Wine.

method 2: divert your optical drive to several entries in WineCFG's "Drives" tab and use another "drive" for each ISO.


Hope this helps, ReKuli
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: multiple iso + install problem

Post by vitamin »

win3storm wrote:When installer asks the other one into the cdrom drive, never opens.
http://wiki.winehq.org/FAQ#head-dc33f7e ... ebb1f024f7
win3storm
Level 1
Level 1
Posts: 7
Joined: Tue Dec 22, 2009 12:48 pm

Re: multiple iso + install problem

Post by win3storm »

vitamin wrote:
win3storm wrote:When installer asks the other one into the cdrom drive, never opens.
http://wiki.winehq.org/FAQ#head-dc33f7e ... ebb1f024f7
Thanks for answers, but tried before I ask and doesn't work of course. I didn't wrote complete method I used, this is my mistake.

sudo mount -o loop -t iso9660 program1.iso /media/iso
mounted

wine /media/iso/setup.exe
lots of errors, triing again automatically and:
started and stopped when program2.iso was needed

wine eject e: //e: drive is /media/iso in winecfg->drives tab
cannot open device for drive e:

I couldn't resolve.
rekuli
Level 2
Level 2
Posts: 26
Joined: Tue Dec 22, 2009 10:12 pm

Post by rekuli »

try this (like in my method 1 given above) "lazy forced" umount, which worked well for me:

umount -l -f /media/iso
mount -oloop -tiso9660 <next-iso-file> /media/iso
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Re: multiple iso + install problem

Post by dimesio »

win3storm wrote:
vitamin wrote:
win3storm wrote:When installer asks the other one into the cdrom drive, never opens.
http://wiki.winehq.org/FAQ#head-dc33f7e ... ebb1f024f7
Thanks for answers, but tried before I ask and doesn't work of course. I didn't wrote complete method I used, this is my mistake.

sudo mount -o loop -t iso9660 program1.iso /media/iso
mounted

wine /media/iso/setup.exe
lots of errors, triing again automatically and:
started and stopped when program2.iso was needed

wine eject e: //e: drive is /media/iso in winecfg->drives tab
cannot open device for drive e:

I couldn't resolve.
Why don't you simply mount both isos at the start? Configure them as separate cd-rom drives in winecfg.
win3storm
Level 1
Level 1
Posts: 7
Joined: Tue Dec 22, 2009 12:48 pm

I give up

Post by win3storm »

Thanks all.
No working way. I tried a lot and asked help. I think it cannot run.
gr4fimaci
Level 1
Level 1
Posts: 6
Joined: Wed Feb 10, 2010 8:31 am

tried all

Post by gr4fimaci »

I've the same problem. Tried all way suggested here, but doesn't work any. Can I get help?
Berillions
Level 4
Level 4
Posts: 230
Joined: Sat Mar 28, 2009 12:55 pm

Post by Berillions »

If i understand, you have 2 DVD and you can't eject the first DVD when the installation ask you to insert the Second DVD?

Use this command to resolve the problem :

Code: Select all

wine start /unix /media/cdrom/Setup.exe
With this command, you can eject the first DVD.

Berillions
gr4fimaci
Level 1
Level 1
Posts: 6
Joined: Wed Feb 10, 2010 8:31 am

Post by gr4fimaci »

Berillions wrote:If i understand, you have 2 DVD and you can't eject the first DVD when the installation ask you to insert the Second DVD?

Use this command to resolve the problem :

Code: Select all

wine start /unix /media/cdrom/Setup.exe
With this command, you can eject the first DVD.

Berillions
Not exactly. The installer was in mdf files and I converted to iso. I cannot use wine eject e: (e: is /media/iso and configured as CD-ROM) now, because doesn't work (never did).

I start the setup.exe in first iso and it asks the second one.
wine eject e: // doesn't work any way
umount -l -f /media/iso // works fine
mount -t iso9660 cd2.iso /media/iso -o loop // works fine, all data in rigth path, but...
setup.exe can't continue, waits for cd2
Berillions
Level 4
Level 4
Posts: 230
Joined: Sat Mar 28, 2009 12:55 pm

Post by Berillions »

Ok, i use this command when i installed Mass Effect (iso DVD) and Mass Effect 2 (DVD version) and it works fine.

Mass Effect :

Code: Select all

mount -o loop MEDVD1.iso /media/cdrom
wine start /unix /media/cdrom/Setup.exe
When the Installation ask me the second DVD :

Code: Select all

umount /media/cdrom
mount -o loop MEDVD2.iso /media/cdrom
Which game do you want to install?
When the installation ask you to insert the 2nd DVD, have you got a windows with this question?
User avatar
dimesio
Moderator
Moderator
Posts: 13266
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

gr4fimaci wrote:
Not exactly. The installer was in mdf files and I converted to iso. I cannot use wine eject e: (e: is /media/iso and configured as CD-ROM) now, because doesn't work (never did).

I start the setup.exe in first iso and it asks the second one.
wine eject e: // doesn't work any way
umount -l -f /media/iso // works fine
mount -t iso9660 cd2.iso /media/iso -o loop // works fine, all data in rigth path, but...
setup.exe can't continue, waits for cd2
Have you tried mounting BOTH isos at the start, and configuring them as separate cd-roms in winecfg?
gr4fimaci
Level 1
Level 1
Posts: 6
Joined: Wed Feb 10, 2010 8:31 am

Post by gr4fimaci »

dimesio wrote:
gr4fimaci wrote:
Not exactly. The installer was in mdf files and I converted to iso. I cannot use wine eject e: (e: is /media/iso and configured as CD-ROM) now, because doesn't work (never did).

I start the setup.exe in first iso and it asks the second one.
wine eject e: // doesn't work any way
umount -l -f /media/iso // works fine
mount -t iso9660 cd2.iso /media/iso -o loop // works fine, all data in rigth path, but...
setup.exe can't continue, waits for cd2
Have you tried mounting BOTH isos at the start, and configuring them as separate cd-roms in winecfg?
Of course. The installer cannot use separate drive. I tried lots of ways but result was the same: "Please insert cd2..."
gr4fimaci
Level 1
Level 1
Posts: 6
Joined: Wed Feb 10, 2010 8:31 am

Post by gr4fimaci »

Berillions wrote:Ok, i use this command when i installed Mass Effect (iso DVD) and Mass Effect 2 (DVD version) and it works fine.

Mass Effect :

Code: Select all

mount -o loop MEDVD1.iso /media/cdrom
wine start /unix /media/cdrom/Setup.exe
When the Installation ask me the second DVD :

Code: Select all

umount /media/cdrom
mount -o loop MEDVD2.iso /media/cdrom
Which game do you want to install?
When the installation ask you to insert the 2nd DVD, have you got a windows with this question?
Call of Duty (I want to install UO).
Using /media/cdrom0 instead of /media/iso is the same. The installer asks the second disk. Never seen other error/warning message in Window or command line - if You mean.
gr4fimaci
Level 1
Level 1
Posts: 6
Joined: Wed Feb 10, 2010 8:31 am

new error message found

Post by gr4fimaci »

When I unmounted cd1:

Code: Select all

sudo umount -l -f /media/iso
Tried a switch (-u) and get a message:

Code: Select all

wine eject -u e:
fixme:mountmgr:harddisk_ioctl unsupported ioctl 90020
This will be the one. Does somebody know, how to solve?[/code]
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: new error message found

Post by vitamin »

gr4fimaci wrote:

Code: Select all

sudo umount -l -f /media/iso
wine eject -u e:
fixme:mountmgr:harddisk_ioctl unsupported ioctl 90020
[/code]
You run 'wine eject' first. And make sure e: is really mapped to /media/iso in winecfg.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

gr4fimaci wrote:
Berillions wrote:If i understand, you have 2 DVD and you can't eject the first DVD when the installation ask you to insert the Second DVD?

Use this command to resolve the problem :

Code: Select all

wine start /unix /media/cdrom/Setup.exe
With this command, you can eject the first DVD.

Berillions
Not exactly. The installer was in mdf files and I converted to iso. I cannot use wine eject e: (e: is /media/iso and configured as CD-ROM) now, because doesn't work (never did).

I start the setup.exe in first iso and it asks the second one.
wine eject e: // doesn't work any way
umount -l -f /media/iso // works fine
mount -t iso9660 cd2.iso /media/iso -o loop // works fine, all data in rigth path, but...
setup.exe can't continue, waits for cd2
You can directly mount MDF with fuseiso, I believe. If some important data was lost when converting to ISO at least you still have that data in the original image.
Locked