Sunday, December 25, 2011

Create ISO files and mount ISO files a folder.

In Linux (Ubuntu) it is possible to convert a contents of a folder into an "iso" file just using the command given below.

mkisofs -o /home/linuxlookup/example.iso /source/directory/

Similarly, you can mount an "iso" image as a folder using the coomand below.

# mount -o loop disk1.iso /mnt/

Similarly, to mount an "iso" as a drive use the below command,

sudo mount /home/vijays/redhat_4.8.iso /mnt/ -t iso9660 -o loop