LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2003, 02:26 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Question with CDRecord


Hi, I have Slackware 9.0 and I would like to know how can I burn my /home folder with CDRECORD?

Thanks a lot.
 
Old 10-30-2003, 02:36 PM   #2
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
Firstly, you'll want to check that your cd recorder is correctly configured. You may do this by entering the command "cdrecord -scanbus" while logged in as root (or having used "su").

Assuming the above output shows that your burner is recognised, you will now want to proceed to create an iso filesystem to burn to the cd. You can do this using the mkisofs program - don't forget to read the manpage: "man mkisofs". A typical command line might be something like:
Code:
mkisofs -J -o /tmp/mycd.iso /home/myuser/
Having successfully created an iso, you can write this to a recordable disc (preferably CDRW until you're sure everything works) using cdrecord. A typical cdrecord command line might read something like
Code:
cdrecord dev=0,0,0 speed=12 blank=fast -data /tmp/mycd.iso
The blank=fast part is only applicable to reburning a cdrw - be sure to remove it if you're working with CD-Rs.

Having said all that, there are several functional GUI solutions for burning cds under linux. Although I don't use any myself, perhaps someone else can provide a recommendation?
 
Old 10-30-2003, 02:39 PM   #3
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Do to limitations in mkisofs, the easiest way is to tar your home directory first, then create an iso from the tar.

basically:

mkisofs -r -o my-home.iso my-home.tar
cdrecord dev=/dev/??? speed=?? -data my-home.iso

(replace the ??? above with whatever, i.e. dev=/dev/hdc speed=24)

Read /usr/doc/Linux-HOWTO's/CD-Writing-HOWTO, or if you didn't install the howto's, find the same howto at

http://www.linux.org/docs/ldp/howto/...EX/howtos.html
 
Old 10-30-2003, 02:57 PM   #4
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Hey Thanks a lot. now I can burn it.
 
  


Reply



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
Cdrecord - flag question satimis Linux - General 1 05-27-2005 03:49 AM
cdrecord Question dollaz Linux - Software 2 12-30-2004 03:44 PM
Cdrecord question satimis Linux - Software 6 10-22-2004 08:46 PM
A question about cdrecord Avatar Linux - Software 5 07-19-2004 09:59 AM
cdrecord question Lleb_KCir Linux - Software 7 04-13-2004 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration