Friday 12 September 2008

Tip of the Day: Mount an ISO Image

To mount an ISO image in Ubuntu, you will only need to execute a command like:

sudo mount -o loop /path/to/cd_image.iso /path/to/mount/point/

For example:

sudo mount -o loop ~/dvd_image.iso /media/cdrom0/

The image will be mounted under /media/cdrom0/. You can also create mount points in /mnt (or a directory of your choice), just make sure the mount point is an empty directory:

sudo mkdir -p /mnt/iso0/
sudo mount -o loop ~/dvd_image.iso /mnt/iso0/

Updated: Sep 12, 2008

No comments: