Using a DVD writer

Before you can start using your DVD writer with a Linux operating system, there are a couple of installation steps to be performed. If you are using an internal DVD writer, then you will need to make a small modification to the boot configuration of your system, described immediately below. If you are using an external USB or FireWire DVD writer, skip this installation process and proceed to the end of this section.


Once you have physically installed the DVD writer into your computer, switch on the PC. Type dmesg and a lot of information will appear on the screen. Scroll back through this information until you find the line identifying your DVD writer — it will look similar to the following:

hdc: Hewlett-Packard DVD Writer 300, ATAPI CD/DVD-ROM drive

This line identifies your DVD writer as well as the device it is located on, in this case hdc. Next, if your system boots with Grub, open /boot/grub/grub.conf using a text editor. Modify the line prefixed with “kernel” to include “hdc=ide-scsi” at the end. For example:

kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi

If your system boots with LILO, open /etc/lilo.conf using a text editor and modify the line prefixed with “append” to include “hdc=ide-scsi” as below:

append=”root=LABEL=/ hdc=ide-scsi”

Run /sbin/lilo to make the changes to LILO permanent. Reboot your computer once you have modified Grub or LILO. If you have an external USB or FireWire DVD writer there is no need to make any changes to your system configuration; simply plug in the drive and turn it on. Typing dmesg in a shell should return some information that indicates the writer has been detected, similar to this:

scsi0: SCSI emulation for USB Mass Storage devices
Vendor: PIONEER Model: DVD-RW DVR-106D Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02

To use a DVD writer with Linux you must install the cdrecord-ProDVD tool. You can download the latest version from Make sure you download the file with the highest version number that ends in “i586-pc-linux-gnu”. Also download To install cdrecord-ProDVD, type the following in a shell while logged in as root:

$ chmod 755
$ mv /usr/bin/cdrecord-ProDVD
$ mv /usr/bin

Replace with the name of the file you downloaded. To test cdrecord-ProDVD and receive a report on your DVD writer’s capabilities, type the following in a shell:

$ -prcap dev=/dev/sg0

Burning and copying DVDs

To back up a directory on your hard disk to DVD, type the following two lines in a shell:

$ mkisofs -R -J -split-output -o imagefile .
$ dev=/dev/sg0 speed= -v imagefile*

The first line creates an image containing all of the files and directories in the current directory and stores it in a file named imagefile. The second line calls cdrecord-ProDVD and writes the image file to the blank DVD. Set the value of max_writer_speed to your DVD writer’s maximum speed. If you want to back up a number of directories located in different parts of your hard disk to a single DVD, create a temporary directory and build a collection of symbolic links to each directory you wish to include. For example:

$ mkdir cdlayout
$ cd cdlayout
$ ln -s /some/where/dir1 dir1
$ ln -s /else/where/dir2 dir2

Burning the DVD from the ‘cdlayout’ directory will now include the directories dir1 and dir2, located on different parts of your hard drive. Copying a DVD (or CD) is almost as easy. You will need to download the readcd tool from the cdrecord-ProDVD ftp site. Once downloaded, install it by typing in a shell as root:

$ chmod 755
$ mv /usr/bin/readcd

Once readcd is installed, you can use it to make an image of the DVD in your drive by typing:

$ readcd dev=/dev/sg0 f=imagefile

The image, stored in imagefile, can then be burned to DVD by typing:

$ dev=/dev/sg0 speed= -v imagefile

This command is almost identical to the previous command used to burn a directory tree to DVD.

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Alastair Cousins

PC World
Show Comments


Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >


Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >


Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >


Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles


GGG Evaluation Team

Michael Hargreaves

Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Kathy Cassidy


First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni


For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell


The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi


The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?