Wednesday, June 24, 2009

Mounting ISO in Ubuntu

Promised Anbin to post about mounting ISO in Ubuntu
However I am busy with my visa few days ago.
I am not sure about the older version, maybe this trick will work on 8.10
Ubuntu 9.04 mounting of ISO images is supported in the kernel
Just forget about downloading extra packages to mount...
Open your terminal and enter the command

sudo mkdir /media/isoimage
sudo mount /home/username/path/to/file/myfile.iso /media/isoimage/ -t iso9660 -o loop

The first command makes a folder in the /media directory to where your ISO image can be mounted.
The second command then mounts the file to that directory
A shortcut to the directory should then appear on your desktop.
Here's some picture about me doing mounting...


Here's a dummy .iso file


To mount it, just do what you think you should


To unmount it, type umount (not unmount) I kena before...

If you mess with the setting terribly...(how terrible can you go?)
Just restart your PC/Laptop/whatever... (it may not work) it will auto unmount
Happy mounting!

1 comment:

Anbin Andy said...

Thanks, I have already added the link.