HowTo: Mount Bin/Cue files in Linux

by Jon

Okay, so I I lied a little bit. I’m not sure how to mount a straight bin/cue file combination in Linux, but I do know that it’s really easy to convert them into an ISO file, and then mount the ISO in debian based linux.

sudo apt-get install bchunk

The syntax from bchunk is as follows:
bchunk [-v] [-p] [-r] [-w] [-s]

So if i wanted to convert image,bin and image.cue into image.iso, I’d run the command:
bchunk image.bin image.cue image.iso

Then to mount the ISO in linux you run the command:
mount -o loop -t iso9660 image.iso /mnt/image, where image.iso is the iso is the image that you want to mount and /mnt/image is the mount directory.

Hopefully you’ll find a use for this like I did. If it doesnt work feel free to leave me an email at howe -dot- jon -at- gmail -dot- com and I’ll respond as quick as I can.

Later,
Jon Howe

Comments

  1. Drakedog

    Nice! it works!

  2. jo

    liar!
    but it works just great 😉

  3. Caffeine

    Unfortunately this does nto work with VCDs however. As the cue-file contains 2 images, one with the structure of the disc and one with the data you cant just “mount the image”. I tested merging the 2 files togetherer which didn’t work either though. Maybe its just the image though …

  4. linuxfan

    you could play the bin files directly from mplayer.

  5. Kyle Smith

    I found a better solution. That is, if you can get it working. There’s a program called cdemu. It’s actually a kernel module, so you have to compile it yourself. You have to have your kernels source installed also.

    It is worth the effort of setting up though.

  6. Kartik Thakore

    Thx a lot that help me tons. Hopefully I can help you. Well if you have an ati radeon card an you want to install it on ubuntu edgy. here is a script that will let you do that easy. here!

  7. Sean

    procedures are slick. I tried it on Fedora 6 and was able to do it as well. Only difference is the option:

    sudo apt-get install bchunk

    is instead

    yum install bchunk

    All else is the same.

  8. lala

    Thx!

    the bhunk and .bin suggestion worked great!

    slackware 10.1

  9. magari

    in gentoo;

    sh4rk magari # emerge -s bchunk
    Searching…
    [ Results for search key : bchunk ]
    [ Applications found : 1 ]

    * app-cdr/bchunk
    Latest version available: 1.2.0
    Latest version installed: [ Not Installed ]
    Size of files: 14 kB
    Homepage: http://he.fi/bchunk/
    Description: Converts bin/cue CD-images to iso+wav/cdr
    License: GPL-2

    ’emerge bchunk’ to install

  10. Martin Smith

    Excellent. Worked first time in Ubuntu

  11. bestial

    Had to put -r first, to get it to work, maybe it would work with -v aswell, anyway, it works! But am I the only one who get’s to .iso’s ?

  12. Falx

    Brilliant!

    This works like a charm and I had no hitches.

    Ubuntu Edgy Eft.

    Thanks, Jon.

Leave a comment