Install multiple ISO games with Wine.
Solved
Hello,
So here it is, I'm trying to install Call of Duty (the first one) on my PC running Ubuntu 10.10. I have two iso files for this.
The problem is, when I mount the first cd, I can't unmount it to mount the second one... What should I do?
Configuration: Windows Vista Geforce 9300GE 3Go DDR2 Intel Pentium Dual CPU 2.00Ghz
--
Forum rules!
So here it is, I'm trying to install Call of Duty (the first one) on my PC running Ubuntu 10.10. I have two iso files for this.
The problem is, when I mount the first cd, I can't unmount it to mount the second one... What should I do?
Configuration: Windows Vista Geforce 9300GE 3Go DDR2 Intel Pentium Dual CPU 2.00Ghz
--
Forum rules!
4 answers
-
Ah, but it is entirely possible to mount ISOs under Linux! You simply need to ensure that the directory where you mount them is referenced by a Wine disk.
sudo mkdir -p /mnt/iso winecfg
Add a disk for /mnt/iso. Then mount your ISO file, for example, by following this guide:
https://www.commentcamarche.net/faq/906-monter-une-image-iso-sous-linux
sudo mount -o loop -t iso9660 /path/to/file1.iso /mnt/iso
When you want to change the ISO:
sudo umount /mnt/iso sudo mount -o loop -t iso9660 /path/to/file2.iso /mnt/iso
... then continue with the installation.
You can automatically mount ISO files that you often use in dedicated mount points (for example, /mnt/iso-w3 for Warcraft 3) and reference everything in /etc/fstab.
gksudo gedit /etc/fstab
Then add a line like this:
/home/mando/Games/FrozenThrone.iso /mnt/iso-w3 iso9660 user,ro,loop 0 0
Save and exit, then:
mount /mnt/iso-w3
Naturally, you will need to reference /mnt/iso-w3 in winecfg for Wine to take advantage of it.
Good luck. -
If an umount fails, it's because a process is using a file from the directory tree. For example, if a program has opened a file, it's game over. More likely, you have a shell (a terminal running bash, for example) positioned in the mount point (for example, in /mnt/iso). You need to exit this directory beforehand for the umount to work:
cd / umount /mnt/iso
If that doesn't suffice, you can find the offending process using the lsof command:
lsof | grep /mnt/iso
Good luck! -
No, you shouldn't kill wineserver or it will crash wine. At worst, you can mount the ISOs of each CD in different directories all referenced in winecfg, for example /mnt/iso-cd1, /mnt/iso-cd2, etc...
That said, an installation of Diablo 2 that requires multiple CDs works perfectly for me. Either the installer for your game is broken, or you're doing it wrong.-
From what I've read, the game works. I've also tried this method, but no matter how many times I click OK when it asks for CD 2, even though I've mounted it in "iso2" and changed the drive in winecfg to recognize iso2 as a CD drive, it still doesn't work...
I can't help but wonder if it's the SETUP that doesn't recognize the second CD... -
-
-
Suppose you mount your iso at /mnt/iso. When Diablo2 asks you to insert a new CD, you normally just have to type:
umount /mnt/iso
... then mount the correct iso file in /mnt/iso. Then you click OK in the installer and so on.
The other strategy is to create a mount point for each installation CD:
sudo mkdir -p /mnt/iso-d2-cd1 sudo mkdir -p /mnt/iso-d2-cd2 sudo mkdir -p /mnt/iso-d2-cd3 sudo mount -o loop -t iso9660 /home/toto/cd1.iso /mnt/iso-d2-cd1 sudo mount -o loop -t iso9660 /home/toto/cd2.iso /mnt/iso-d2-cd2 sudo mount -o loop -t iso9660 /home/toto/cd3.iso /mnt/iso-d2-cd3 winecfg
There you add a CD drive for each of the three mount points from /mnt/iso-d2-cd1 to /mnt/iso-d2-cd3. Then you launch the Diablo2 installer...
Good luck.