LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-27-2007, 03:37 PM   #1
strycnine
Member
 
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
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,472

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.

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

Rep: Reputation: 121Reputation: 121
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:
Code:
mkisofs -R -o cdimage.raw /home/joerg/master/tree
Then, when you have the image, you can write to the disk as follows:
Code:
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. http://www.linuxcommand.org/man_pages/cdrecord1.html
 
Old 04-27-2007, 04:01 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

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


Reply


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 07:58 PM.

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