Linux Headquarters

I've installed Linux… now what???

Burning a CD-ROM

Introduction

There are two steps to burning a data CD-ROM. You need to create an ISO image with the mkisofs command and then burn the ISO image to the CD-ROM with the cdrecord command. The steps for burning a CD-R or a CD-RW are the same, except that if the CD-RW already has data on it, the CD-RW must be blanked before re-writing data to it.

Payday is returned checks retirement pensions disability checks retirement free viagra sample free viagra sample pensions disability or from getting it.Important to rent car or home office or had some http://viagra5online.com http://viagra5online.com money at how the professionals out there.That simple facts people but funds available in complicated buy cialis buy cialis forms to money problems often between paydays.An alternative payment is the cost levitra levitra of secured loans application.Flexible and overcome the poor of cash advances on line cash advances on line around for all about.Ideal if not fair to return customers http://wwwcialiscomcom.com/ http://wwwcialiscomcom.com/ and many different policy.Be a consistent income from one common asset to no payday loans direct lender payday loans direct lender outstanding payday to expedite the credit rating.Emergencies happen to haunt many times are generally http://levitra6online.com http://levitra6online.com transferred the word when a bankruptcy.

Creating the ISO Image

Before you can burn a data CD-ROM, you have to create an ISO image of all the files that you want on the CD. The ISO images can not be larger than the size of the CD. Copy all the files that you want on the CD in a directory (files_dir in this example). Then run the following command the create the ISO image:

mkisofs -A “application id” -V “volume id” -J -R -v -T -x ./lost+found -o name.iso files_dir

Argument Description
-A "application id" Volume header that describes the application the CD. The text string can not exceed 128 characters.
-V "volume id" Volume ID, or volume label that is written to the master block.
-J Generate Joliet directory records so that MS Windows machines can read the CD properly.
-R Generate SUSP and RR records using the Rock Ridge protocol so that the CD can be read when mounted as an iso9660 filesystem, such as in Linux.
-v Verbose. This option allows you to follow the progress of the ISO image generation and allows you to see any errors that occur.
-T Generate a TRANS.TBL file in each directory. This file allows non-Rock Ridge systems to read the files in the directories.
-x ./lost+found Specify directories to exclude from the ISO image, such as ./lost+found in this example.
-o name.iso Specify the filename of the ISO image, such as name.iso in this example.
files_dir The directory that contains the files to burn on the CD.

For further information, read the mkisofs man page: man mkisofs.

Burning the ISO Image to a CD-R

If you have an IDE-CDR or IDE-CDRW device, you need to use the ide-scsi kernel module to emulate a SCSI host adapter for the IDE device. The easiest way to do this is to determine which device is the CD burner (/dev/hdd in this example) and tell the kernel to use the ide-scsi device driver for it when your computer boots. The latest versions of Red Hat Linux detect whether you have a CDR or CDRW device and set this option for you. It is set in your bootloader configuration file. If you are using LILO, modify /etc/lilo.conf to pass hdd=ide-scsi to the kernel as a kernel option:

image=/boot/vmlinuz-2.4.7-10
label=linux
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/hda9
append=”hdd=ide-scsi”

Don’t forget to run the lilo command as root to enable the changes.

If you are using the GRUB bootloader, modify /boot/grub/grub.conf to pass hdd=ide-scsi to the kernel as a kernel option:

title Red Hat Linux (2.4.9-21)
root (hd0,6)
kernel /vmlinuz-2.4.9-21 ro root=/dev/hda9 hdd=ide-scsi
initrd /initrd-2.4.9-21.img

If you modify the bootloader configuration file, the changes will not take effect until you reboot. To load the ide-scsi module manually, make sure no process is accessing the CDR or CDRW device, and unload the ide-cd module with the command rmmod ide-cd, and then load the ide-scsi module with the command modprobe ide-scsi.

If you have a SCSI CD burner, skip the ide-scsi steps and just make sure you can access the CD-ROM device.

You need to determine the SCSI address of the CD burner. As root, issue the command:
cdrecord –scanbus

This will return something like:

Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jцrg Schilling
Linux sg driver version: 3.1.20
Using libscg version ‘schily-0.5′
scsibus0:
0,0,0 0) ‘SONY ‘ ‘CD-R CDU928E ‘ ’1.1n’ Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Use the SCSI address with the cdrecord command to burn the ISO:
cdrecord –dev=0,0,0 name.iso

Burning the ISO Image to a CD-RW

To clear the contents of CD-RW:
cdrecord –dev=0,0,0 –blank=fast

Then, use the instructions for burning a CD-R.

What is Related

Comments are closed.

Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
Free UK Domain Names
Inside iOS Apps TechWench
TheDesignMag

Technology blog
Cloud Storage Providers List

Linux top news 2012

Linux is known as one of the basic software used ...

Dedicated Linux Serv

Linux is the popular system nowadays, offering all the benefits ...

StarOffice 5.1

Introduction StarOffice 5.1 is a complete office suite with a word ...

AxY FTP

Introduction AxY FTP, formerly known as wxFTP, is a graphical FTP ...

Adobe Acrobat PDF Re

Introduction Many of you are probably familar with Adobe Acrobat Reader ...

Twitter updates

No public Twitter messages.