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
I suggest you to use iat (”Iso9660 Analyzer Tool“):
First install the package
sudo apt install iatYou can convert the image using the command
iat file.img file.isoIn 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
DoneAccording 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:
- archived web page
- archived project page
- inofficial mirror
- latest release, officially backuped by BerliOS+SourceForge
a list of ”reference sites“:
some links which might be interesting for you if iat is not what you need:
You can install cdemu like that:
First you add the repository:
sudo add-apt-repository ppa:cdemu/ppaUpdate your repo. list:
sudo apt-get updateInstall cdemu:
sudo apt-get install gcdemu
For ddrescue, there is no package existing. You can download it there:
1