13 November 2007

How do I view the contents of a .iso file in Linux?

ISO files are whole disk images. They are single image files that are used for burning to a CD or DVD.

To view the contents of a .iso file you need to mount the file as a loopback device with the following command

mount -o loop /path/to/rhel-4-U6-i386-as-disc1.iso /mount/point

An example of where this can be useful could be when setting up an installation server.

Download the required .iso files, mount them as loopback, copy all the files to a central repository, and perform an NFS installation.

No comments: