I have a file.img file that I want to convert to file.iso.

The tool ccd2iso does not seem to work for this task:

Unrecognized sector mode (0) at sector 0!

I ensured that the img file is not corrupted.


2 Answers 2


I suggest you to use iat (”Iso9660 Analyzer Tool“):

First install the package

sudo apt install iat

You can convert the image using the command

iat file.img file.iso

In my case, the tool ran for about half a minute (~3GiB image file). The output looked like this:

Iso9660 Analyzer Tool v0.1.3 by Salvatore Santagati
Licensed under GPL v2 or later

Detect Signature ISO9660 START at 32768
Detect Signature ISO9660 END at 36864

 Image offset start at 0
 Sector header 0 bit
 Sector ECC 0 bit
 Block 2048

According to the man page, the supported formats are (at least) BIN, MDF, PDI, CDI, NRG, B5I, and, of course, ISO-9660.

additional info

Iso9660 Analyzer Tool is not maintained anymore. It had been published to BerliOS, which is not online anymore. However, here are some working links:

a list of ”reference sites“:

some links which might be interesting for you if iat is not what you need:

  • I tried to convert the img file, provided in the zip downloaded from memtest86.com (with the intention of making it work with Ventory), to an iso, and iat got locked up at Detect Signature at 5222476 with 100% CPU and never finished until I killed the process a few minutes later. Dec 9, 2021 at 16:55

You can install cdemu like that:

  • First you add the repository:

    sudo add-apt-repository ppa:cdemu/ppa

  • Update your repo. list:

    sudo apt-get update

  • Install cdemu:

    sudo apt-get install gcdemu

For ddrescue, there is no package existing. You can download it there: http://sourceforge.net/projects/ddrescueview/


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.