Saturday, 23 February 2008

Convert IMG to ISO in Ubuntu

I downloaded a file the other day thinking it was in the .iso format, but it turned it to be .img file instead. I couldn't find any programs that recognised it. I was about to delete the file when I came across some commands that can convert img, nrg and mdf to iso format for easy burning.

First thing I did was to install the commands.

sudo aptitude install nrg2iso ccd2iso mdf2iso

Then you can use the following simple commands for converting to iso. Make sure you are in the same directory as the file you're converting,

For img to iso:
ccd2iso file.img file.iso

For mdf to iso:
mdf2iso file.mdf file.iso

For nrg to iso:
nrg2iso file.nrg file.iso

Once you have converted your file you can easily create an image disk using K3b or GnomeBaker.


1 comment: