Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to install some program in wine, which require to access a mounted ISO image. Whenever I mount an ISO image in Nautilus, in which drive it mounted in Wine?

For some programs which can find the ISO automatically, I have no problem.

share|improve this question

4 Answers 4

up vote 5 down vote accepted

CDemu

We sucessfully mounted CD or DVD images for application installation in Wine or for running an application which needs access to its CD using CDemu. Amongst ISO a wide variety of other formats are supported. Therefore the image does not need to be in ISO format.

The application can be installed by adding the following ppa to our sources:

  • ppa:cdemu/ppa

We can then install the CDemu client and the CDemu daemon with

sudo apt-get update && sudo apt-get install cdemu-daemon cdemu-client

After logging out and back in, or a reboot, the daemon will be started. To mount an ISO file as CD we can then issue:

cdemu load <number> <path_to_iso>

The <number> corresponds to the internal number of drives loaded by CDemu (per default 2 drives, change this in /etc/default/cdemu-daemon to a higher number if needed.

The following is an example command to load a drive 0 from an image.iso:

cdemu load 0 /home/nur/images/image.iso

This will unload an image:

cdemu unload <number> 

Related questions:

share|improve this answer
sudo mount -o loop /path/to.iso /mnt/cdrom/
share|improve this answer
    
Actually, the user seems have already mounted the ISO. But he looks for a way to map already mounted images into Wine devices automatically. –  Sneetsher Jan 31 at 15:07
1  
Nur mounted an image using Nautilus, that is why wine can not see it. If mount the image to usual cdrom location then wine able to see it. –  Sergei Jan 31 at 15:21
    
In late Ubuntu releases, CD's mounted in the new mounting path: /media/user_name/cd_title. Wine does not create mapping automatically for it otherwise. –  Sneetsher Jan 31 at 15:40
    
Your solution works well. I would suggest to add a permanent mapping for /mnt/cdrom/ using winecfg/Wine Configuration in drives tab or create a link to. ln -s /mnt/cdrom /home/user_name/.wine/dosdevices/e: –  Sneetsher Jan 31 at 15:56

If you have mounted an .iso image in Ubuntu, Wine will treat it exactly as Ubuntu is treating it. So if you navigate to / with a Wine program (I think it is the Z:\ folder), you will see all of your Ubuntu files and folders, and you can navigate to the mount point of the iso, which will be listed with the mount command in the terminal (it's probably somewhere in /mount)

share|improve this answer
    
programs like Rebirth won't consider that the CD-Rom is available –  ttoine Aug 9 '13 at 12:34

After you mount the ISO or the disk with any tools or commands which you prefer, start Configure Wine create a new Drive mapping. Click Add, browse the path and select OK. Here, I've mapped Ubuntu 13.10 i386 DVD to drive letter e: in wine (g: is for my Flash Drive).

cinfigWine

Then you can browse the iso or disk in the $HOME/user/.wine's dosdrives directory.

dosdevices

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.