Sunday, February 11, 2007

How to mount an ISO image in Linux

ISO image can be mounted just like any device or file system, and here is how...

Create a mount point for the ISO:

BASH# mkdir /media/iso

Now mount the ISO in the mount point with the following command:

BASH# mount myiso.iso /media/iso/ -t iso9660 -o ro,loop=/dev/loop0

Where myiso.iso is your ISO file.

What I haven't tried yet is omitting the ro (read only) option, so that it might be possible to make changes to the ISO before finally burning, not sure if this works (will check) but the command would probably look like this:

BASH# mount myiso.iso /media/iso/ -t iso9660 -o loop=/dev/loop0

Have fun!

from: http://www.techspot.com/vb/topic483.html