Tuesday, July 12, 2011

How to browse files in an ISO image?

Its always easy to do things using the command lines in Linux. To browse files of an ISO image is an easy task in Linux. Open a terminal window and type in the following commands.
sudo mkdir /media/iso
sudo modprobe loop
sudo mount filename.iso /media/iso -t iso9660 -o loop
cd /media/iso
Hereafter you will be able to navigate to the /media/iso folder and see the contents of the ISO image. To unmount the ISO, use the following command:
sudo umount /media/iso
I will explain the commands and options used specificly:
sudo modprobe loop  ->loads/ installs the module for loopback file system support
iso9660  -> the file system used by CD roms
-t  -> specify the file system type
-o loop  -> for additional options while using a loopback filesystem