Pages

Friday, September 18, 2020

Convert CDI to ISO

Today I was confronted with an "rare" format for CD images: CDI
Of course I needed the content from that disc but CDI is not really supported under linux and burning a small CD image for just copying some files one time was no option. So I searched a little on the internet how to deal with CDI files under linux. With iat I found a little neat program to convert CDI to ISO files. Under Armbian it has to be installed first:

# apt install iat
...


The usage is more than easy. Just use an existing CDI file as input file and a new name for the output file:

# iat image.cdi image.iso
Iso9660 Analyzer Tool v0.1.3 by Salvatore Santagati
Licensed under GPL v2 or later

Detect Signature ISO9660 START at 387784
Detect Signature ISO9660 END at 390120

 Image offset start at 350408
 Sector header 0 bit
 Sector ECC 288 bit
 Block 2336
Done


The above command will convert the file image.cdi to the new file image.iso. The new ISO image file can then be mounted regulary:

# mount -o loop image.iso /mnt/
mount: /mnt: WARNING: device write-protected, mounted read-only.


The RO message can be safely ignored (or use ro as parameter). After the image was mounted I could access the content and copy the files I needed, without burning the image.

1 comment: