Draco's Weblog

My Personal Programming & Electronics Journal.

Convert BIN/TOC Image to BIN/CUE

| Comments

So I was ripping a CD using Brasero and the output I got was a binary file along with a TOC file.

I wanted to mount this binary or convert it to ISO, so I came across this utility, toc2cue. which is is part of cdrdao port.

First install cdrdao, a read-write utility for CDs in disc-at-once mode

1
# portmaster sysutils/cdrdao

Then run the following command

1
# toc2cue filename.toc filename.cue

And you would have a cue/bin format which you can convert to ISO later using the procedures in this article.

Anyway I could have just used dd to create the ISO from a CD located at /dev/sr0 like so

1
# dd if=/dev/sr0 of=/path/to/file.iso

But it was nice knowing these utilities in case I came across these formats in the future.

Comments