Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-28-2004, 10:21 AM   #1
Registered: Sep 2003
Location: Iowa City, Iowa, United States
Distribution: Various
Posts: 41

Rep: Reputation: 15
using cdrecord to burn an .iso and regular files

I've just gotten into Damn Small Linux (DSL LQ's DSL forum disto website ) and really like it but wish to be able to carry some other files with me. So I need to be able to burn the .iso image and then the various other files I want around. Is it possible to burn .iso images and regular files while maintaining the ability to boot from the cd given the nature of .iso images?
Is it possible to create my own iso, combining the DSL iso and the files I want to have?
Old 01-28-2004, 10:30 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Yes, yes, and yes.

The program you are looking for is mkisofs. I recommend reading the man page carefully, as it will explain how you go about making an iso with various extensions as well as how to make it a bootable iso image.

Then you just use cdrecord to burn the iso you made with mkisofs.
Old 01-28-2004, 10:34 AM   #3
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
These should answer most of the questions. I haven't attempted modifying exisisting ISOs, but I have seen articles which the google link in my sig should find for you.

# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
# ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-"
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast

# Mount CD iso images
mount /path/to/foo.iso /mnt/iso -t iso9660 -o ro,loop=/dev/loop0
Old 01-28-2004, 10:37 AM   #4
Registered: Sep 2003
Location: Iowa City, Iowa, United States
Distribution: Various
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks loads, this is just what I was looking for.



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to burn BeOS ISO Using CDRecord in Linux linux-rulz Linux - General 4 09-10-2005 04:02 PM
How do i burn .iso files onto dvd jc_firestorm SUSE / openSUSE 10 02-14-2005 08:07 PM
How to burn the ISO files with K3B? AnthraxCN Linux - Software 11 05-19-2004 08:16 PM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
How do you burn iso files to usb cd-rw drive ??? pleasehelpme Linux - Newbie 0 12-20-2003 02:05 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:36 AM.

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