Archive for the 'Ubutnu' Category

Ubutnu convert .bin to .iso

If you need to convert a .bin to a .iso you can do the following.

1) Install bchunk:

sudo apt-get install bchunk

2) Create the file:

sudo nano /usr/local/bin/bchunkcue

3) Add the following in the new file:

#!/bin/bash
echo “FILE “”$1.bin” ”BINARY” >> $1.cue
echo ” TRACK 01 MODE1/2352 >> $1.cue
echo ” INDEX 01 00:00:00 >> $1.cue
bchunk $1.bin $1.cue $1_
rm $1.cue

4) Give it execution permission:

chmod a+x /usr/local/bin/bchunkcue

5) Then simply run (without the .bin extension after the filename):

bchunkcue filename

You should now have a .iso file that you can burn. With newer versions of k3b you are able to burn .bin files, I have not tested this myself and did the steps I mentioned above mainly because I did not want the data burnt onto a disk; simply wanted to mount it.