LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting .Cue files? (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-cue-files-332787/)

hongman 06-12-2005 12:24 PM

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

KimVette 06-12-2005 12:33 PM

.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.

hongman 06-12-2005 12:45 PM

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

imitheos 06-12-2005 05:10 PM

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.

KimVette 06-12-2005 05:24 PM

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=

hongman 06-13-2005 01:53 AM

how do i find out if its regular or 'raw'?

imitheos 06-13-2005 07:31 AM

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.

mmodem 06-27-2005 10:22 PM

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?)

GomiCowboy 07-05-2005 10:48 AM

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.

ptmono 07-10-2005 06:58 PM

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.

GomiCowboy 07-10-2005 10:00 PM

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


All times are GMT -5. The time now is 09:25 AM.