LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-29-2005, 07:21 PM   #1
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Rep: Reputation: 0
cdrecord makes cd unreadable


Ok, after finally getting my cdrw drive to work, I tried to burn a cd.

Well, I burned two cds in the following way:

Code:
cdrecord dev=0,0,0 /root/Desktop/(file here, ex: d.txt)
and it seems to happily oblige. However, after remounting the cd I get an error that it is write only(?) and can not be mounted.

Does anyone have any suggestions on what it could be?
 
Old 06-29-2005, 07:35 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
You normally would need to make an iso image of the data, then burn the image using cdrecord.
For example:
Code:
cd /mnt/tech
Create an iso image: mkisofs -R -J -hide-rr-moved -o /home/myfiles.iso .
cdrecord -v dev=0,0,0 -data /home/myfiles.iso
or you could skip a step and do it this way...

Code:
cd /mnt/tech
mkisofs -R -J . | cdrecord -v speed=24 dev=0,0,0 -eject -data -
 
Old 06-29-2005, 07:57 PM   #3
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by homey
You normally would need to make an iso image of the data, then burn the image using cdrecord.
For example:
Code:
cd /mnt/tech
Create an iso image: mkisofs -R -J -hide-rr-moved -o /home/myfiles.iso .
cdrecord -v dev=0,0,0 -data /home/myfiles.iso
or you could skip a step and do it this way...

Code:
cd /mnt/tech
mkisofs -R -J . | cdrecord -v speed=24 dev=0,0,0 -eject -data -
Will I still be able to burn multiple files though? (I.e, File1.iso now, and a week later File2.iso) I would test it myself but I don't want to waste another CD, I'm running low ><
 
Old 06-29-2005, 08:06 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Will I still be able to burn multiple files though? (I.e, File1.iso now, and a week later File2.iso) I would test it myself but I don't want to waste another CD, I'm running low ><
That is called multi session which I didn't know you wanted to use.
Also, my system appears to be somewhat newer than yours and my device is called like this:
dev=ATA:1,0,0
so you can change that part to match what you have been using... dev=0,0,0

Here are my notes on multisession cd recording...
Code:
#All images must have "-multi" used on all cdrecord sessions.

For example: I have two folders which I want to record.
I am going to use -graft-points so the folders are created 
and all data is put inside them.

/mnt/tech/achome
/mnt/tech/aclinux

#The first mkisofs session is generated as normal.

cd /mnt/tech

mkisofs -R -J -graft-points "achome=./achome" |\
cdrecord -v dev=ATA:1,0,0 -multi -data -

#Additional sessions must have the track number ( -C # ) included when generated.

cd /mnt/tech
next=`cdrecord -msinfo dev=ATA:1,0,0`
echo "Next Track is $next"
mkisofs -R -J -o /home/mystuff.iso -C $next \
-M /dev/cdrom -graft-points "aclinux=./aclinux" |\
cdrecord -v dev=ATA:1,0,0 -eject -multi -data /home/mystuff.iso

#To burn additional sessions directly to the cdrom....
cd /mnt/tech
next=`cdrecord -msinfo dev=ATA:1,0,0`
echo "Next Track is $next"
mkisofs -R -J -C $next -M /dev/cdrom -graft-points "aclinux=./aclinux" |\
cdrecord -v dev=ATA:1,0,0 -eject -multi -data -
 
Old 06-29-2005, 08:22 PM   #5
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
You may find the information at http://www.brandonhutchinson.com/Bur..._cdrecord.html very useful.

Rick
 
  


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
Ejecting Unreadable CD kaixa Linux - General 6 05-19-2005 05:51 AM
Unreadable format praveenv Linux - Newbie 1 08-17-2004 04:02 AM
Resolution is unreadable ogden2k Linux - Newbie 3 04-04-2004 02:03 PM
cdrom unreadable not_yet Linux - Newbie 1 02-13-2004 01:20 AM
unreadable bootdisk lynch Linux - Software 4 12-14-2000 04:03 AM

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

All times are GMT -5. The time now is 04:17 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