Convert Brasero Images into ISO format

This was not the post I had been planning for a long time but I came across this solution this morning and I had to document it. So here it goes.

Brasero is a CD/DVD burning software provided by default with GNOME distributions. It's less cluttered and gets the job done easily. But as usual with Linux Distributions and some software which tries to define its own format for getting things done instead of using a popular format, Brasero too had one annoying little 'feature'. It uses its own image format, .BIN/.TOC. Yes, it can convert into .ISO format but somehow in a momentary lapse of decision I converted one of my CDs to .BIN/.TOC format. And therein lay my problem. This not being a popular format, it wasn't recognized by most CD burning applications. I could have done it with Brasero and distributed the CD to windows users but then my DVD drive went bad and I was left with this .BIN/.TOC format with no way of handing it over to Windows users.

Online search suggested the application 'bchunk' to convert .BIN/.CUE files to ISO but it refused to recognize .TOC file. This morning I tried to find if there was any way to convert this pesky .TOC into .CUE file. Found two solutions. cuetools and cdrdao. Only the latter worked.

How to convert .toc to .iso

cuetools:
cuetools seemed to be quite popular as I ran into more pages on Google with it. But cuetools had some issues and won't recognize my source .TOC file. The syntax is simple.

cueconvert -i toc -o cue file.toc file.cue


This didn't help as it kept giving Syntax Error. Cuetools has many other features as well but I prefer to work with ISO format so didn't explore much. It's available in Ubuntu repository.


cdrdao:
This little gem worked better than my expectations. This is also available in the repository with CLI as well as with a GUI frontend. The tool to convert .TOC into .CUE format is toc2cue.

toc2cue file.toc file.cue

And it was completed even before I can blink.

After that it was easy to use bchunk to convert this .BIN/.CUE into .ISO format

bchunk file.bin file.cue file.iso

I have a half done script to mount ISOs and used it to check the generated ISO file. It mounted fine without any error :).

update: If this was helpful, please leave a comment.

About

Time is an illusion. Lunchtime, doubly so.

TwitterFacebook