LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-28-2003, 02:13 PM   #1
bignester
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware
Posts: 30

Rep: Reputation: 15
cant mount cds after recording them


here is the command that I use to record CD's

cdrecord -v speed=16 driver=generic_mmc dev=0,0,0 driveropts=burnfree <the data files i want to include> -data

The writing procedure goes on without a problem.

But when try to mount it i an error

mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems
Ive been able to make audio cds that work fine in the past. But my data cds arent working.

Could this be a drive problem, or is my command wrong.
 
Old 06-28-2003, 05:09 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It's a command problem. Cdrecord does not create an iso9660 filesystem, instead it's just burning the data to the cd's as if it were an hd. I don't even know how to grab info from them after you have done that, or if it's even possible.

You need to create an iso first:
mkisofs -lJR /path/to/data /path/to/more/data

Now with that you have 2 choices, on the fly iso creation, meaning no iso is kept on the HD. If you are just going to burning this iso once, this is probably your best bet if your system can handle it, the syntax is:
mkisofs -lJR /path/to/data /path/to/more/data | cdrecord <options> -
Don't miss that last - on cdrecord. It's telling cdrecord to take the output from mkisofs as the input to burn the cd with. This creates the necessary filesystem on the CD to be able to read it.

If you want to keep the iso on the HD or if your system cannot handle creation on the fly, then:
mkisofs -lJR -o /path/to/image.iso /path/to/data /path/to/more/data &&
cdrecord <options> /path/to/image.iso

&& tells cdrecord not to start until mkisofs is completely finished and without errors. IF there are errors, cdrecord will not start at all.

HTH

Cool
 
  


Reply



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
Can't mount some CDs RySk8er30 Mandriva 10 05-25-2005 08:19 PM
recording audio CDs, dev help with cdrecord gdiv Linux - Software 2 05-03-2005 05:20 PM
Recording audio CDs Nathaniel Firet Linux - Software 3 04-21-2005 01:23 PM
Cannot mount CDs in 2.6.2 Red Guy Debian 3 02-28-2004 06:26 PM
Recording CDs using CDRW and CDROM devices humaneasy Mandriva 8 09-04-2003 06:59 AM

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

All times are GMT -5. The time now is 01:13 AM.

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