Basic command-line tips for CDROMS

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

Basic command-line tips for CDROMS

#1 Post by linuxcbon »

BASIC TIPS FOR CDROMS

Create an iso-file from a folder :

Code: Select all

mkisofs -RJ -o FILE.iso folder/
Create an iso-file from a CD :

Code: Select all

cat /dev/cdrom > CD.iso
Check if the iso is correct :

Code: Select all

md5sum /dev/cdrom
md5sum CD.iso
Both should give the same result.

Blank an empty CD-RW :

Code: Select all

cdrecord dev=/dev/cdrom blank=all
Burn the iso file to a CD :
at lowest speed to get less errors :

Code: Select all

cdrecord dev=/dev/cdrom speed=4 -dao -data CD.iso 
Burn music files to a CD :
Your audio files are ordered : 1.wav 2.wav 3.wav ...etc.
Burn them :

Code: Select all

cdrecord dev=/dev/cdrom speed=1 -dao -audio -pad -swab *.wav
Check if the CD has errors (only for information because hardcored in the CD) :

Code: Select all

readcd -c2scan -ts=32k dev=/dev/cdrom
I will add more if time and ideas ?

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2 Post by zigbert »

To learn even more about command-line burning, Pburn shows all commands it uses. - See the advanced tab. This also shows commands to rip and shrink in combination with burning.


Sigmund

Post Reply