LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-06-2005, 07:48 AM   #1
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Burning files to CD


I've burned plenty of ISOs, but thanks to USB flash disks, I've never had to try and put individual files onto CD.

So, I just want to check: Am I right in thinking that burning files to a CD involves using mkisofs to create an ISO, and then using cdrecord to burn the ISO as usual? Or is there more/less to it that I'm missing?
 
Old 07-06-2005, 07:53 AM   #2
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
Yep your right.
 
Old 07-06-2005, 08:01 AM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Yes, you need to use mkisofs. Here are some notes on that, dots and dashes are important in these examples.

Create an iso image: mkisofs -R -J -hide-rr-moved -o /home/myfiles.iso .

Deterimine what is the cdrom device: cdrecord --scanbus

Burn iso files: cdrecord -v dev=ATA:1,0,0 <data filename>.iso

You can also pipe the output of mkisofs directly to cdrecord....
cd /mnt/tech
mkisofs -R -J . | cdrecord -v dev=ATA:1,0,0 -eject -data -


Using -graft-points to create the parent directory on the cdrom....
cd /mnt/tech
mkisofs -R -J -hide-rr-moved -graft-points "/aclinux=./aclinux" | \
cdrecord -v dev=ATA:1,0,0 -eject -data -
 
Old 07-06-2005, 08:40 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Original Poster
Rep: Reputation: 48
Quote:
You can also pipe the output of mkisofs directly to cdrecord
Nah - at least for the first few times, I'll be wanting to mount the iso and check the contents are correct before I get cdrecord involved

Cheers!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Burning 4GB+ Files? Matir Linux - Software 3 05-06-2005 05:00 PM
Burning (CD-RW) MP3 files svarreby General 2 09-26-2004 10:34 AM
burning *.img files... kurrupt Linux - Software 1 09-05-2004 11:27 AM
Burning iso files dhowell1129 Linux - Newbie 4 06-08-2004 07:44 PM
Burning individual files... nutshell Linux - General 4 03-02-2002 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:30 AM.

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