LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-27-2007, 03:37 PM   #1
Registered: Jul 2006
Location: Romania
Distribution: Fedora 12
Posts: 160

Rep: Reputation: 31
making a data cd

How do I write a directory full with some stuff with cdrecord?
Old 04-27-2007, 03:45 PM   #2
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,540

Rep: Reputation: Disabled
You don't. cdrecord will burn a cd iso image, but won't make that image for you. Try mkisofs. The man pages for both commands give good examples. Or use k3b if you want a gui and don't want to read the man pages.

Old 04-27-2007, 03:50 PM   #3
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,255

Rep: Reputation: 125Reputation: 125
In general, this sort of thing is much easier to do with a GUI. In gnome (and probably kde) I just put a blank CD or DVD in the drive and wait for the recorder app to pop up. Then I drag files or directories into it and tell it to write the disk..

Doing it on your own will require to you do a couple of steps manually.

First you have to create an image for the CD/DVD you want to create. This is done with the mkisofs command similar to this:
mkisofs -R -o cdimage.raw /home/joerg/master/tree
Then, when you have the image, you can write to the disk as follows:
cdrecord -v speed=2 dev=2,0 cdimage.raw
Unfortunately, there are a lot of options to cdrecord, and it's sometimes difficult to even figure out what "dev=" should point to. I believe you have to run "cdrecord -scanbus" if it doesn't like /dev/cdrom or /dev/dvd.

The examples above came from this page.
Old 04-27-2007, 04:01 PM   #4
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
Use k3b, unless you're out of beer / soda coasters. (it's basically just drag, drop, click)


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
gnuplot, pull X data from file, specify Y data at cmd line? hedpe Programming 5 03-15-2007 11:32 PM
making two column-data ovince Programming 15 03-11-2007 07:24 AM
Need help making a data DVD ISO OccamsRzr Linux - Newbie 3 02-01-2007 02:25 PM
Making new partition and keeping existing data SDmac Slackware - Installation 3 05-20-2005 07:14 AM
Making new data cd Beppe83 Linux - Software 11 05-27-2004 03:09 PM

All times are GMT -5. The time now is 12:37 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