LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2006, 05:41 AM   #1
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
mounting a .cue image


I know there are programs that can do this, but I like doing things the hard way, it's the only way to learn.

Let me see if I get this. For images created with something such as dd, I can simlpy use
mount -o loop /path/something.iso /mnt/isoimg
Right?

Now... What if I have a .cue (with the corresponding .bin in the same folder)? I tried:
Quote:
mount -o loop /path/something.cue /mnt/isoimg/
and got
Quote:
/dev/loop0: Invalid argument
mount: you must specify the filesystem type
Assuming what the fs was, I tried:
Quote:
mount -o loop -t iso9660 /path/something.cue /mnt/isoimg
and got:
Quote:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
In dmesg, all it said was "unable to mount cd image" or something like that, and something else which I am not certain what it was. If it is relevant I will look again and print it here.

So... what am I doing wrong? Tried to mount the .bin file instead... same thing. Any ideas anyone?

By the way, if I do get this to work, to unmount it, I just have to write unmount /mnt/isoimg , right?

Thanks for reading, and for any info you might have.
 
Old 09-25-2006, 06:03 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
try mounting the bin file.
 
Old 09-25-2006, 06:18 AM   #3
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
yup, been there, done that, same thing
thanks anyway.
 
Old 09-25-2006, 09:27 AM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,266

Rep: Reputation: 63
try like this

Quote:
mount -t iso9660 -o ro,loop=/dev/loop /path/file.cue /mount/point
 
Old 09-25-2006, 09:54 AM   #5
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
/dev/loop: No such file or directory.

I have in /dev only loop0, loop1 to loop7
 
Old 09-25-2006, 10:21 AM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,266

Rep: Reputation: 63
Oops, I meant loop0.
 
Old 09-25-2006, 12:07 PM   #7
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Quote:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
same thing
 
Old 10-14-2006, 07:26 AM   #8
Kanesoban
Member
 
Registered: Oct 2006
Distribution: Gentoo
Posts: 34

Rep: Reputation: 15
Helo!

First you have to convert the .bin file to iso (bin is Nero's own format, and it isn't supported by the Linux kernel).

To convert it, you need an application named "bchunk". You can simply apt-get it:
sudo apt-get install bchunk

after this is done, use the bchunk command to convert your bin file to iso. You also need to have the .cue file aswell.

bchunk <filename>.bin <filename>.cue <name of output file>

Now you have a iso file, that you can mount the "standard way".
 
Old 10-15-2006, 01:03 AM   #9
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
ok, so there's no way to do this directly. I have to convert it first.
thanks.
 
Old 11-12-2006, 01:11 AM   #10
aneeshm
Member
 
Registered: Jun 2004
Location: Indore , MP , India
Distribution: Ubuntu 5.04
Posts: 41

Rep: Reputation: 15
@ Kanesoban

I was having exactly the same problem. Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i create the cue sheet from a .bin image? ronanio Linux - Software 5 11-05-2005 07:09 AM
How to extract bin/cue image? Mojojo Linux - Software 3 09-06-2005 04:13 PM
Mounting .Cue files? hongman Linux - Newbie 10 07-10-2005 10:00 PM
Mounting bin/cue image nrunge Linux - Software 1 11-11-2003 07:12 PM
Mounting bin/cue Hubas Linux - Newbie 1 01-14-2003 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration