CD Burning

From ArchWiki
Revision as of 23:11, 26 July 2005 by Maxsipos (talk | contribs) (+ mounting an iso image)
Jump to: navigation, search

This document outlines the process of granting permissions to access specific CD reading and burning devices, and the commands needed to burn CDs. It does not outline the various GUI tools available.

Install cd-burning utilities

# pacman -Sy cdrtools

And if you intend to use cdrdao (for writing cue/bin files to cd)

# pacman -S cdrdao

Burning an iso-image

To burn an iso-image run (replace /dev/hdc with the name of your recording device):

# cdrecord -v dev=/dev/hdc isoimage.iso

Burning a bin/cue

To burn a bin/cue image run (replace /dev/hdc with the name of your recording device):

# cdrdao write --device /dev/hdc image.cue

Making an iso-image from an existing cd

To copy an existing cd just type (replace /dev/hdc with the name of your recording device):

# dd if/dev/hdc of/home/user/isoimage.iso

Or use readcd program, also in the cdrtools package

# readcd -v dev=/dev/hdc -f isoimage.iso

If the original cd was bootable it will be a bootable image.

Making an iso-image from existing files on harddisk

To make an iso-image just copy the needed files to one folder, then do a

# mkisofs -V volume_name -J -r -o isoimage.iso ~/folder

Mounting an iso-image

To test if the iso image is proper, you can mount it:

# mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom

Alternative: Setting up K3B

This is a lazy man's way of setting up burning privileges.

  • Install k3b with pacman.

pacman -S k3b

  • As root, run k3bsetup,
  • Your choice to use a burning group or not.