Sunday, April 20, 2008

converting .img to .iso and mounting iso

.img files are CloneCD files created as a result of dumping contents of a Cd into a file. Very similar to .iso files which are more popular for containing cd images.

Many tools, like virtual box allow mounting .iso files as a virtual cd/dvd. Ubuntu repositories provide a tool called ccd2iso for converting the .img to .iso.

just install ccd2iso from the repositories using

sudo apt-get install ccd2iso

Once installed, just launch it for converting

ccd2iso file.img file.iso

This will create the iso equivalent of the img file.

To mount the iso file normally in the linux environment, just type

mount -o loop -t iso9660 filename.iso /mnt/iso

1 comment:

  1. Through the last few days I was looking for a detailed instruction for solving similar task, but nothing worked for me. The main question for me was to understad how better to how to open .iso file and thanks God I could solve it with the help of my friend, who gave me an advice to search through your blog. Thanks for that.