make bootable cdrom and others

If you don’t have iso image, first you need to make a bootable CD image, and then burn it. Notice that on some modern distributions, cdrecord is renamed to wodim, and mkisofs to genisoimage, but the parameters below should be the same.

mkisofs -o bootcd.iso -b FDOEM.144 FDOEM.144
cdrecord -v bootcd.iso

###########################

Most mount commands support the user option. If you make an entry such as the following in /etc/fstab:

/dev/sbpcd /mnt/cdrom iso9660 user,noauto,ro

then an ordinary user will be allowed to mount and unmount the drive using these commands:

mount /mnt/cdrom
umount /mnt/cdrom

One thought on “make bootable cdrom and others”

  1. Erase a RW disk:
    cdrecord dev=/dev/cdrom blank=fast

    Rip an audio CD:
    cdparanoia -wB -d/dev/cdrom

    Burn the resulting tracks to a blank disk:
    cdrecord driveropts=burnproof -sao -v -pad speed=16 -dev=/dev/cdrom -audio *.wav

    Create an iso:
    mkisofs -V YourVolumeName -o cd.iso -r -J directoryOfFilesToBurn/

    Mount the iso image for testing:
    mount cd.iso -r -t iso9660 -o loop /media/test

    Unmount it:
    umount /media/test

    Burn the iso to blank disk:
    cdrecord driveropts=burnproof -v -sao speed=16 -dev=/dev/cdrom cd.iso

    Burning a bin/cue file with cdrdao:
    cdrdao write -v 2 –overburn –speed 16 –device /dev/cdrom –eject cuefilename.cue

    Make an iso from a data cd:
    dd if=/dev/cdrom of=cd.iso

    Burn a data DVD from a directory of files:
    growisofs -Z /dev/dvd -J -r -V MyCoolMusic SomeMp3Files/

    Burn a DVD movie with AUDIO_TS and VIDEO_TS directories:
    growisofs -Z /dev/dvd -dvd-video -overburn -r -V My_Home_Movie DirectoryOfFiles/

Comments are closed.