Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: CD multisession remastering with cdrecord, why use windows when DSL works?< Next Oldest | Next Newest >
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 06 2004,02:40 QUOTE

I've been able to write a multisession CD in cdrecord and it works fine.  I thought I'd share, since it was only from reading here that I know what I know.  The first track on the CD was a straight copy of DSL version 0.7.3 which I made with the following commands:

Code Sample
sudo su
mkdir newcd
cp -Rp /cdrom/KNOPPIX newcd
mkisofs -J -r -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o mydsl.iso newcd
cdrecord blank=fast dev=0,1,0
cdrecord -v dev=0,1,0 -multi mydsl.iso


your dev number might be different.  You can find it by issuing the cdrecord -scanbus command.  I used the cdrecord blank=fast dev=0,1,0 command first because I was using a CD-RW.  I read on this board how great they are, and they've really saved me money (I was throwing away a lot of disks).  The -multi switch leaves the cd open for more writing, even though you see cdrecord fixating the cd.

Now make the rest of your CD.  I only wanted to add an /optional directory to the root directory to store my dsl files so I could load them on demand.  Make another iso file using the mkisofs command, but now use the -C and -M switches.  You can get the start and end values to type in after the -C switch by using the

cdrecord -msinfo dev=0,1,0

command.  Again, your device might be different (mine happened to be 0,35778).  The -M switch makes an iso that is a continuation of the previous one (put your device number after the -M).  I did the following:

Code Sample
cdrecord -msinfo dev=0,1,0
rm -rf /newcd/*
cp -r /mnt/hda1/optional newcd
mkisofs -J -r -C 0,35778 -M 0,1,0 -o second.iso newcd
cdrecord -v dev=0,1,0 -eject second.iso


I hope this helps making multisession CDs with cdrecord.  You could have also done any remastering you wanted in the first section if you wanted.  I used it a few times to copy the remaster I had worked out already and added dsl files to the /optional directory.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Aug. 06 2004,04:37 QUOTE

Yes, this works fine in cdrecord...  Very well, in fact...

As you can tell from all the syntax and multiple commands,
this technique is NOT for the new linux user...

( I'm printing this thread out myself, just for reference. )  :)
Good Work !

The GUI tools I've tried don't do a great job of this type of burning...

I've also use the -C and -M commands to burn a second .ISO to the cdr.
All cdrecord needs is that start sector number...

Quote
The -multi switch leaves the cd open for more writing, even though you see cdrecord fixating the cd.


The activity I see here is the drive writing the lead-out, closing the Session,
and preparing for the next Session...

I don't know if there is a limit to the number of sessions you can write,
or that a cdr/cdrw drive will detect/read...
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 06 2004,05:42 QUOTE

Quote
I don't know if there is a limit to the number of sessions you can write,
or that a cdr/cdrw drive will detect/read...


There is, I believe the maximum number of tracks is 99, due to the minimum size a track can be.

I've written 5 tracks to the same CD, during which time I rebooted twice using that same CD.  I used the -C and -M switches for all but the first iso, and the -multi switch for cdrecord.  I also made an iso with a directory I had already burned to the CD (/optional) and emelfm shows the files from the second directory exist within the first.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Aug. 06 2004,05:58 QUOTE

At the studio ( my DAY job ) ,
I frequently have to make multisession masters for various music clients
who want to add web links, mpeg-1videos, flash, lyrics,
and autoplay functions to the tail end of their mastered audio cd's...  
Usually for the windows platform, occasionally some mac links for flash...

Building them in the linux environment is cool, but ultimately, they have to be
previewed and tested in a M$ box before approval and replication...

Are you aware of any autoplay utilities for linux?
( obviously, for autorun in M$ , and short of hand-coding the executables?

Do you mind if I save your portion of this thread
for later use in how-to's and docs?

73
ke4nt
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Aug. 06 2004,13:55 QUOTE

No, I don't mind.  It would be an honor to become part of the documentation.
Back to top
Profile PM 
5 replies since Aug. 06 2004,02:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: CD multisession remastering with cdrecord

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code