Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-25-2006, 10:35 PM   #1
Registered: Sep 2004
Location: Florida
Distribution: Slackware, VectorLinux, FreeBSD,Xubuntu
Posts: 69

Rep: Reputation: 15
Audio CD Copy on-the-fly

Here are the steps I took to get my older CD-ROM and newer CD-RW/DVD-ROM to copy an audio CD on-the-fly (no intermediate image file).

1) Make sure cdrdao and cdrecord are installed.
2) su to root and run "visudo"
3) Add the following line to the 'sudoers' file
# This will allow all members of the cdrom group to use cdrdao and cdrecord as root without a password
%cdrom ALL=NOPASSWD:/usr/bin/cdrdao,/usr/bin/cdrecord
4) Run
 % cdrecord dev=ATAPI: -scanbus
as user to scan for CD readers/writers

5) Write down the device IDs of reader and writer
My CD-ROM is device ATAPI:0,1,0 and the CD-RW is device ATAPI:0,0,0

6) To copy a CD directly from the CD-ROM to the CD-RW, I run
sudo cdrdao copy --device ATAPI:0,0,0 --source-device ATAPI:0,1,0 --on-the-fly --buffers 256 --paranoia-mode 2
The '--buffers' command sets a 256 second buffer, to help prevent buffer underrun errors. cdrdao with automagically turn on BURN-Proof (or whatever else it is called). '--paranoia-mode 2' sets the level of "paranoia" to make sure the CD is read properly. Check out 'man cdrdao' for further information. When I've done this, the writing process shows two buffer percentages. With read and write speeds of 16x, the first buffer usually hits 0% after two or three tracks, but the other buffer continues to jump between 4 and 90% and the write finishes successfully.
Old 10-26-2006, 03:17 PM   #2
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
Thanks for sharing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cdrdao copy --on-the-fly problems initself Linux - Software 0 01-11-2005 04:47 AM
Serial port data to audio on the fly floydes Programming 0 10-14-2004 02:35 AM
audio cd copy gadhiraju Linux - Software 2 09-12-2004 04:00 PM
xcdroast copy on the fly problem yocompia Slackware 2 07-17-2003 12:44 PM
Audio input compressed 'on-the-fly'? Thymox Linux - General 6 03-25-2002 08:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration