Convert many disk image formats to ISO9660 from Terminal
There are many formats of disk images which is not possible to mount with standard Linux tools. But, with “Iat” tool, we can convert it to ISO format and then mount it with
Iat (Iso9660 Analyzer Tool) is a tool, by Salvatore Santagati, for detecting the structure of many types of CD-ROM image file formats, such as BIN, MDF, PDI, CDI, NRG, and B5I, and converting them into ISO (ISO-9660).
It’s included in the Debian repositories, so installation is simple:
sudo apt-get install iat
It very easy to use:
iat input-image-file output-iso-file
Convert MDX-image to ISO9660:
iat image.mdx image.iso
Convert NRG-image to ISO9660:
iat image.nrg image.iso
Convert BIN-image to ISO9660:
iat image.bin > image.iso
Write CD directly from MDF-image:
iat image.mdf | cdrecord
If output file name is not defined, then STDOUT will be used instead.
Then we can mount ISO image with standard Linux tools:
mount -o loop image.iso /mnt/disk
If this article has helped you then please leave a comment
Thanks for reading!
Arthur is a designer and full stack software engineer. He is the founder of Space X-Chimp and the blog My Cyber Universe. His personal website can be found at arthurgareginyan.com.