View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > CD Image Conversion

From LQWiki

Jump to: navigation, search

Contents

CD Image Conversion

For one reason or another, you may have .nrg .bin .b5i .cdi .mdf .ccd .img .pdi files laying around that you would like to access under Linux. Here are some nifty utilities to convert those pesky 'Windows only' images into something Linux can understand (standard .iso format (wiki.linuxquestions.org))... You can then burn it to disk or mount it via loopback device.

Don't expect error correction codes and the like to be preserved, just the data... Generally speaking, these types of things are pretty irrelevant on linux to begin with. If you legally backed up some software of yours and made a 1:1 image of it under Windows, more than likely, your resulting ISO from the programs below will not contain this copy protection data. For our purposes, we just want to be able to extract files from it or convert a non-copy-protected image to ISO format.

All of the resulting binaries below should be made executable and then placed in your $PATH

The resulting ISO images can be mounted with:

mount -t iso9660 myimage.iso /mnt/cdrom -o loop

mount-iso-image (EL) for the KDE Desktop (www.kde.org) might also be of interest to you. Also, CDemu (EL) might be something to check out. Both programs can mount .bin/.cue images to a Virtual Drive, much like the Windows program Daemon Tools (EL) can. For a full program that can convert many images and do much much more, download AcetoneISO (EL) software. Yet another program that shows promise is IAT (EL).

bin2iso

While most Linux burning software can handle .bin/.cue images, this program is useful none-the-less. Instead of burning the .bin to disk, you can convert it and then mount via loopback device.

.bin is a standard Windows format Image file.

bin2iso (mange.dynup.net) - This is just a C file that you can compile with the command of gcc -o bin2iso bin2iso-0.4.c

nrg2iso

.nrg is a Nero (ww2.nero.com) Image file.

nrg2iso (EL) can be compiled with a simple make


mdf2iso

.mdf is an Alcohol 120% (EL) Image file.

mdf2iso (EL) can be compiled with ./configure and make


b5i2iso

.b5i is a Blindwrite (EL) Image file.

b5i2iso (EL) can be compiled with a simple make


cdi2iso

.cdi is a DiscJuggler (EL) Image file.

cdi2iso (EL) can be compiled with a simple make


img2iso

.img is a CloneCD (EL) Image file.

The actuall name of this utility is called isodump. Honestly, it's a very bad name for it seeing as how most, if not all, linux distributions already come with a program named isodump. I've taken the liberty of renaming it so it doesn't conflict with the existing program.

isodump (EL) - This is how I compile this program:

sed -i 's@isodump@img2iso@g' isodump.c
sed -i 's@isodump@img2iso@g' isodump.h
sed -i 's@isodump@img2iso@g' Makefile.Linux
sed -i 's@isodump@img2iso@g' isodump.man
mv isodump.c img2iso.c
mv isodump.h img2iso.h
mv isodump.man img2iso.man
./configure --prefix=/usr
make

The sed commands will give you a binary and man page named "img2iso" instead of "isodump"


Alternatively,

ccd2iso

.ccd is a CloneCD (www.slysoft.com) Image file. ('cue sheet' for .img file)

ccd2iso (sourceforge.net) - This one is a little screwy as well. The make looks for the aclocal hardlink from automake-1.6...? Unless you are using aclocal-1.6, a conventional ./configure and make isn't going to cut it. There are a few ways around it. I'll leave it to your imagination. I did:

cd src/
gcc -o ccd2iso ccd2iso.c

That gave me some warings about an ignored attribute but still works as expected.

pdi2iso

.pdi is an InstantCOPY (EL) Image file.

pdi2iso (EL) can be compiled with a simple make

bchunk

.bin is a standard Windows format Image file.

bchunk (EL) can be compiled with a simple make

bchunk (binchunker) converts a CD image in a ".bin / .cue" format (sometimes ".raw / .cue") to a set of .iso and .cdr tracks. A .cue is required with this program. Often times, using this will result in 2 seperate ISO images. If this is not what you desire, use bin2iso instead.


xbiso

.xbx is an Xbox (EL) Image file.

xbiso (sourceforge.net) can be compiled with make clean and ./configure and make


Alternatively,

extract-xiso

.xbx is an Xbox (EL) Image file.

extract-xiso (sourceforge.net) can be compiled with a simple make


gg2iso

Actually there is no utility for this, but it can be done as follows:

$ ls

image.gi
image1.gi
image2.gi

$ cat image1.gi image2.gi > image.iso


c2d2iso

.c2d is a Roxio's WinOnCD CD Image File.

There is no standalone Application like this, you must use KIso (kiso.sourceforge.net) as it's the only open-source app that supports this image format currently.


uif2iso

.uif is a proprietary file format associated with WordPerfect (www.corel.com) for Windows and compressed disk images by MagicISO (www.magiciso.com).

uif2iso (EL) can be compiled with a simple make

daa2iso

.daa (Direct Access Archive) is a proprietary file format associated with PowerISO (www.poweriso.com) for Windows.

daa2iso (EL) can be compiled with a simple make

IsoBuster

IsoBuster (www.smart-projects.net) runs under Wine. Cedega (www.transgaming.com) and CrossOverOffIce (www.codeweavers.com) may work as well.

IsoBuster is supposed to convert any Image file format to a standard BIN or ISO.


Share

Personal tools