Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I usually use the command line, but xcdroast and some kde program (search for "kde cd burner") are the most commonly referenced ones I have seen recommended for the GUI.
How about CD copying, ripping and burning? I can't figure it out.
# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus Adding an IDE CD-Writer to Linux Linux DVD HOWTO CD Writing HOWTO Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso ; eject
# New command for 2-6?
cdrecord -v speed=8 dev=ATAPI:1,1,0 /pub/iso/gnuwinII_August_12_2004.iso ; eject
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom ; eject
# ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-";eject
# Convert wav files to oggvorbis
oggenc somefile.wav Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav;eject
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
k3b is a good graphical CD burner program.
Like fancypiper said, perhaps it is a good idea to learn the command line tools like mkisofs and cdrecord, since the graphical programs are simply a frontend for these programs
"cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso ; eject" - What does <your device> stand for ? Like CD-ROM2 as shown when I click computer on desktop ? Or some number ?
If I want to burn at 8X (you get better burns/fewer coasters with slower burns), the command (I think, I still use scsi emulation with my kernel, so correct my syntax if I am wrong) looks something like this:
Older kernels (in newer kernels this is optional since ATAPI burning was added to those kernel) require scsi emulation for for drives using the IDE bus. For one burner systems with the older kernels, you have to pass hdX=scsi to the kernel via your bootloader or hand passed on bootup. My /boot/grub/grub.conf file
Code:
# Duron 850 tinwhistle /boot/grub/grub.conf file
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda8
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core 1 (2.4.22-1.2199.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2199.nptl ro root=/dev/hda8 hdd=ide-scsi rhgb
initrd /initrd-2.4.22-1.2199.nptl.img
title Gentoo Linux (2.4.26-gentoo-r10)
root (hd0,0)
kernel /vmlinuz-2.4.26-gentoo-r10 ro root=/dev/hda3 hdd=ide-scsi
initrd /initrd-2.4.26-gentoo-r10
I have several scripts I would need to change to switch to ATAPI burning (and watch and ignore the warnings for it) , so I still use scsi emulation burning.
Last edited by fancypiper; 11-12-2004 at 02:04 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.