Wednesday, 10 December 2008

Mount an ISO file

It is convenient to mount an ISO file directly instead of burning it to a CD first.
This recipe describes the command used to mount an ISO image on a Linux system.

As a requirement, you have to be logged as root.

To mount the ISO image file.iso to the mount point /mnt/test use this command:

mount -o loop file.iso /mnt/test

It will work for a CD or DVD ISO image.

You can also specify the format of the CD:

mount -o loop -t iso9660 file.iso /mnt/test

No comments:

Post a Comment