CD-Recording Linux HOWTO -- Condensed by Ben. ======================== * Boot Linux with the SCSI CD-Burner attached; make sure it's properly recognized as /dev/sr0, /dev/sr1, etc. (Your Linux kernel must "generic" SCSI devices to do this; test this by looking for "sg" when catting /proc/devices) * Create an ISO Filesystem "image" file. A. using the "mkisofs" utility, freely downloadable. It's not much harder than creating a big tar file: mkisofs -r -o archive.img input_dir/ --- OR --- B. use the "dd" utility to suck an entire ISO image off a CD-ROM: dd if=/dev/scd0 of=cdimage bs=1c count=`isosize /dev/scd0` * If you want to double-check the ISO image file, you can mount it using Linux's "loopback" device support (must be compiled into the kernel; /proc/devices lists it as "loop"): mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom * Record the image to disk by using the freely downloadable "cdrecord" or "cdwrite" utility (using the correct generic device): cdwrite -v -e --speed 02 --device /dev/sgc archive.img (A good way to test that you're using the correct generic device is with the eject command: `cdwrite --eject --device /dev/sgc`) * But what about Audio CDs? The 'dd' command above won't work, since it depends on 'isosize', and therefore the existence of an ISO-9660 filesystem on the CD being read. Instead, most people just "rip" audio tracks in WAV files using the excellent utility "cdparanoia". From there, they either compress the WAV files into mp3 files, or write them back to a blank CD in audio-CD format ("redbook audio", a.ka. "cdda") using the utility called "sox". "cdparanoia -d /dev/sgc 25 Foo.wav" Will rip track 25 into a new Foo.wav file.