Monday, 1 March 2010

How to Mount an ISO file

One of the things I love about Linux is many solutions are already made. Sometimes you need a little skill to piece together ready-made solutions, but many times they're already there.

For example, you have an .iso file, but don't want to burn it yet. You just want to see its contents.

Create a directory where you will view the iso:
mkdir /media/myiso
Then mount it:
mount -t iso9660 -o loop image.iso /media/myiso
The iso I used had spaces in the filename, so I just used
mount -t iso9660 -o loop "my image.iso" /media/myiso
(which works.)