Sunday, June 24, 2012

Mount ISO Image Under Linux



An ISO image is an disk image of an optical disc using a conventional ISO format. ISO image files typically have a file extension of .ISO. The name “ISO” is taken from the ISO 9660 file system used with CD-ROM media, but an ISO image can also contain UDF file system because UDF is backward-compatible to ISO 9660. You can mount an ISO images via the loop device under Linux.

To mount ISO file,

# mkdir /mnt/data

# mount -o loop,ro linuxarticles.iso /mnt/data
where,

ro =  Mount the filesystem read-only.

loop = Mount as a loop device.

Note: A loop device is a pseudo-device that makes a file accessible as a block device.

# cd /mnt/data

# ls -l

No comments:

Post a Comment