XCDRoast

From LQWiki
Jump to navigation Jump to search

XCDRoast is a CD authoring program with a GUI, written to be independent of any desktop environment.

What you can do with it

  • duplicate a CD
  • create a data CD
  • create a bootable CD
  • create an audio CD
  • create a CD from an (ISO) image

How to duplicate a CD

Start xcdroast and chose "Duplicate CD" in the main menu. On the screen, the CD/Image Info appears, it reports about your CD in the drive and about the images on your harddisc. To proceed, click on "Read CD".

Chose your read device, reading speed and give a file prefix that will be used to store your image on the harddisc. Click on "Read all tracks" and the CD will be read and stored as an image on your harddrive. The message "Tracks successfully read" appears. Click on OK and chose "Write CD" from the screen.

The device setup contains what you specified during the setup process.

You can start burning by clicking on "Write CD".

How to create a data CD

You want to get files from your harddisk onto a CD. Start X-CD-Roast, chose Create CD -> Master tracks. Just drag the files/paths from the right to the left window to add and the other way to remove. You can also drag files from Gnome and KDE filemanagers into that session view window. Then, click on Create Session/Image and start burning your CD.

How to create a bootable CD

A bootable CD is always a data CD, a CD with files stored on it. The difference is that the bootsector contains a loader for booting an operating system from the CD.

To make a CD bootable, you first need a bootable image, for example, from a bootdisk. To get this, put a bootdisk of your favorite operating system into the floppy drive fd0 and type

dd if=/dev/fd0 of=/tmp/bootdisk.img

The computer will save a file named bootdisk.img. It must be located in a folder that you added to your CD (in this example, you must have the folder /tmp added). Then, in XCDRoast, go to Create CD -> master tracks -> boot options in X-CD-Roast. Click on El Torido, then on "Browse" and fetch your image from /tmp. When your CD is ready, you will be able to boot a standard computer with. To get it ready, proceed with mastering your CD.

How to create an audio CD

First, you need your music files in the right format. It must be a .wav-file in CD-quality (44.1khz, 16 bit, stereo). Let's take song.mp3 that a member of your band sent you via e-mail to write it on CD. Convert it to a .wav-file with the command

lame --decode song.mp3 song.wav

Adopt the song.wav's format to CD-quality with the program glame. Copy song.wav to your image-directory, then start xcdroast. Chose "Create CD" -> "Write tracks" -> "Layout tracks"

Now add song.wav and all other tracks you want to your CD and click on "Accept track layout". The tab jumps to "Write tracks". Insert a CD-R (not a CD-RW as CD-players often cannot read them) and you can start burning your audio-CD by clicking on the button "Write tracks" (the lower one).

How to create a CD from an (ISO) image

A CD image is a file that contains all bytes from a CD, one after the other. You can create an image from your CD with the command

dd if=/dev/cdrom of=myimage

In this image, the CD's filesystem is contained. In most cases, the filesystem of a data CD is the ISO filesystem, if you draw an image from such a CD, you can call it an ISO image. Typical uses for ISO images are Operating System Install CDs that are spread online. To burn a CD from an image using XCDRoast, go into XCDRoast's setup. Specify an image-directory, copy the image file there. After you copied it, things are as if you had read the image with X-CD-Roast. So, you can start xcdroast, select Create CD and proceed with writing the tracks.

Making an ISO from CDROM

To make an ISO from an existing CDROM is easy, do it like this:

$ dd if=/dev/cdrom of=/tmp/NameOfISOFile

if= stands for input file, of= for output file. Your cdrom device is a file according to the unix philosophy.

The image of the CD is then in the file /tmp/NameOfISOFile

Now you can loopback-mount it or burn it.

See also