How to mount iso image as a virtual drive
Hello, I can you please tell me how to mount and unmount any .ISO image as virtual drive. I was using DEMON tools in XP. But could not find any solution for Ubuntu Gusty.
|
mount -o loop -t iso9660 file.iso /mnt/test (of course, change file.iso to the *.iso filename and /mnt/test to the directory you want to mount it to).
|
You could install qemu. To run an iso, issue a command like this:
qemu -boot d -m 512 -cdrom <isoname>.iso where the switches tell qemu to treat the iso as though it were a cd, and how much RAM to assign to qemu. |
qemu to mount iso file ?
Quote:
|
Quote:
|
The -o means use the following options. The -t means use the following filesystem type. The mount command generally follows the pattern "mount device location". The loop option means the device you are using is located on an already mounted filesystem and must be "looped back" somewhere else. The iso9660 filesystem type is the standard filesystem for cdrom's. Put that all together and you get the above command.
HTH Forrest |
Quote:
-o loop indicates that it uses a loopback device since there is no actual drive involved -t iso9660 indicates an ISO file system file.iso is the file to mount /mnt/test is the location where the file should be mounted Don't forget that the result of this command is always read only. If you want to modify the contents of an ISO image you will have to use mkisofs such as mentioned here: Mount an ISO image. |
All times are GMT -5. The time now is 06:44 PM. |