LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2005, 01:24 PM   #1
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Rep: Reputation: 35
Mounting .Cue files?


Hi all

How would I mount .cue files in Linux? The command
Code:
mount -o loop /file/name.iso /location/to/mount
doesnt work for cue as it does for ISO.

Any help?

Thanks

Hong
 
Old 06-12-2005, 01:33 PM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
.cue is not the disk image, it is a spec describing the disk image and is usually a few hundred bytes at most.

the large .bin file described by the .cue file is the disk image. THAT is what you need to mount.
 
Old 06-12-2005, 01:45 PM   #3
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Code:
sudo mount -o loop -t iso9660 name.bin /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
Hmm. Doesnt seem to want to work.

I did a bit of research, and came across bchunk. That created 2 iso files, one which was 1.1MB and one that was 640MB. I tried mounting the bigger one with the same command as above (with .iso instead) and I get the same message.

Any ideas?

Thanks

Hong
 
Old 06-12-2005, 06:10 PM   #4
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 415

Rep: Reputation: 86
Quote:
Originally posted by hongman
Code:
sudo mount -o loop -t iso9660 name.bin /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
I did a bit of research, and came across bchunk. That created 2 iso files, one which was 1.1MB and one that was 640MB. I tried mounting the bigger one with the same command as above (with .iso instead) and I get the same message.

Any ideas?

Thanks

Hong
.cue files are text files which define what are the contents of the binary .bin file.
if the .bin file you have is mode1/2048 then it is a regular "iso" file (or udf maybe) and you can mount it like usually.
if the .bin file is mode1/2352 (raw) which is the usual then you cannot mount it.

You can use bchunk as you said to make it into an iso, which should have worked.
You can use cdemu patch too from www.cdemu.org. It is a kernel patch which emulates a cd device.
It produces a module so you don't need to recompile your kernel to use it.

Both bchunk and cdemu have worked perfectly for me.
You say bchunk didn't work, but even if it did, i would still recommend cdemu.

Try it and logically it will work perfectly.
 
Old 06-12-2005, 06:24 PM   #5
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Converting bin/cue to .iso

(the windows solutions might/should be able to run under wine)
http://www.weethet.nl/english/cdrw_bintoiso.php
http://www.magiciso.com/download.htm
http://www.codeproject.com/tools/Bin2Iso.asp
http://www.linuxsoft.cz/pl/sw_detail.php?id_item=2076
http://rpmfind.net/linux/rpm2html/se...&system=&arch=

Last edited by KimVette; 06-12-2005 at 06:25 PM.
 
Old 06-13-2005, 02:53 AM   #6
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
how do i find out if its regular or 'raw'?
 
Old 06-13-2005, 08:31 AM   #7
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 415

Rep: Reputation: 86
Quote:
Originally posted by hongman
how do i find out if its regular or 'raw'?
Simply bat 'cat'ing the .cue file, but why do all that trouble ?

I mentioned 2 programs to you that do the conversion and KimVette mentioned a dozen.

If you don't want to burn it and want to see its contents or to copy some of it, then use
some of the programs mentioned to do the conversion and then mount it regularly with
-o loop, or with cdemu you can mount it without converting it.
 
Old 06-27-2005, 11:22 PM   #8
mmodem
LQ Newbie
 
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by imitheos
.cue files are text files which define what are the contents of the binary .bin file.
if the .bin file you have is mode1/2048 then it is a regular "iso" file (or udf maybe) and you can mount it like usually.
if the .bin file is mode1/2352 (raw) which is the usual then you cannot mount it.

You can use bchunk as you said to make it into an iso, which should have worked.
You can use cdemu patch too from www.cdemu.org. It is a kernel patch which emulates a cd device.
It produces a module so you don't need to recompile your kernel to use it.

Both bchunk and cdemu have worked perfectly for me.
You say bchunk didn't work, but even if it did, i would still recommend cdemu.

Try it and logically it will work perfectly.
I converted the bin files to iso but now im not capable of mount them, i used bchunk to create the iso files.

When mouting iso files i get this error:

~]# mount -o loop -t iso9660 /mnt/ext3/Software/Variados/Matlab/Matlab_linux/TLF-SOFT-05.10.05.MATHWORKS.MATLAB.V7.0.4.R14.SP2.LINUX-HOTiSO-CD101.iso /mnt/a
mount: archive system type incorrect, invalid option, invalid superblock /dev/loop0,
or excessive number of mounted archive systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
 
Old 07-05-2005, 11:48 AM   #9
GomiCowboy
Member
 
Registered: Apr 2003
Location: US
Distribution: Gentoo 2004.1, Ubuntu Hoary (unstable-ish)
Posts: 30

Rep: Reputation: 15
Humbl'st Thanks

Thanks for the tips - something actually worked. bchunk converted to .iso and I was able to mount it fine. I'd been trying to mount just the .bin file for sometime trying about every file system type I could think of offhand.
 
Old 07-10-2005, 07:58 PM   #10
ptmono
LQ Newbie
 
Registered: Jun 2003
Location: Korea
Distribution: Fedora Core 4 and KDE
Posts: 4

Rep: Reputation: 0
I have tried to install the MS office 2003. But I have failed. I am newbi and my english is bad.
following is my note.

->I have mounted the MSoffice2003.iso
# mkdir /media/iso
# mount MSoffice2003.iso /media/iso
->I make link
# cd $HOME/.wine/dosdevices
# ln -s MSoffice2003.iso i:
-> I execute the setup.exe with wine
# wine "i:setup.exe"
-> I have failed to install. Strange characters are occure.
# wine /media/iso/setup.exe
-> The error box tell tell "Newer windows version needed"

I think "ln" give you a link like CD.
 
Old 07-10-2005, 11:00 PM   #11
GomiCowboy
Member
 
Registered: Apr 2003
Location: US
Distribution: Gentoo 2004.1, Ubuntu Hoary (unstable-ish)
Posts: 30

Rep: Reputation: 15
Hey, I don't know what to tell you about installing with wine (I've never much liked it or pearpc), but you should check out openoffice - you'd be suprised how many features are included. If you're looking for just a word processing program then OpenOffice Writer is much better than word in my opinion
 
  


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
Mounting .cue/bin images PapaSmurf88 Linux - Software 2 05-30-2005 08:47 AM
Mounting bin/cue files TheOneAndOnlySM Linux - General 9 12-05-2004 09:09 AM
Mounting bin/cue image nrunge Linux - Software 1 11-11-2003 08:12 PM
mounting bin/cue files tychop Linux - Software 6 05-03-2003 03:59 PM
Mounting bin/cue Hubas Linux - Newbie 1 01-14-2003 08:13 PM


All times are GMT -5. The time now is 01:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration