Advertisment

DVD Writing in Linux

author-image
PCQ Bureau
New Update

Writing data DVDs in Linux is quite simple. Using a software called DVD+RW+Tool, we’ll see how you can do so in PCQLinux 8.0. To use the software, you first have to check if your DVD-Writer is configured in Linux. Usually when you install a DVD writer, Linux detects it as a normal CD drive and installs the drivers corresponding to it. So to use the DVD Writer, you have to route it through the ide-scsi emulation layer so that Linux can understand it as a read write device. To do so, open the configuration file of your Boot loader (Grub) thus:

Advertisment

#vi /boot/grub/grub.conf

WRITING DVDS IN

WINDOWS
Win XP supports CD-Writing, but does not support DVD-writing yet. The next version of Windows, Longhorn, is touted to have this capability. However there are plenty of third-party software available. Nero leads in these. We tested DVD-Writing using Nero 6,and it allows you to write about all DVD formats, whether it's DVD-ISO, DVD copy, DVD-video, DVD-ROM (Boot), DVD-ROM (UDF) and DVD-ROM (UDF/ISO). If you've ever burned a CD-R/CD-RW using Nero, you can easily burn a DVD-R/DVD-RW (or DVD+R, DVD+RW) the same way. 

The file will look something like this:

Advertisment

default=0



timeout=10


splashimage=(hd0,0)/grub/splash.xpm.gz


title PCQLinux (2.4.18-24.8.0)


root (hd0,0)


kernel /vmlinuz-2.4.18-24.8.0 ro root=LABEL=/ 


initrd /initrd-2.4.18-24.8.0.img




Now append hdx=ide-scsi parameter to the kernel by typing the line just after LABEL=/ word. Now it will look something like this:

kernel /vmlinuz-2.4.18-24.8.0 ro root=LABEL=/

hdx=ide-scsi 

Advertisment

Replace the x in hdx with the appropriate character representing your DVD device. For Primary Master use /hda, for Primary Slave use /hdb, for Secondary Master use /hdc and for Secondary Slave use /hdd. To install the software, copy the software from this month’s PCQEssential CD to your hard disk and run these commands to untar and unzip it.

#tar -zxvf dvd+rw-tools-5.12.4.7.4.tar.gz

It will create a new directory called dvd+rw-tools-5.12.4.7.4. Now cd into it and install the software like this:

Advertisment

#cd dvd+tools-5.12.4.7.4



#make


#make install

After the installation, the software basically provides you with three different commands: dvd+rw-format, dvd+rw-mediainfo and growisofs. Dvd+rw-format is used to format some of the DVD rewritable media. Generally with most of the DVDs, growisofs automatically formats the media prior to writing on it. The syntax for the command is like this

#dvd+rw-format -lead-out —blank /dev/cdrom

Advertisment

Dvd+rw-mediainfo gets the general information about write speed, book type, disk status, number of sessions, numbers of tracks, etc. The syntax for it is:

#dvd+rw-mediainfo /dev/cdrom

growisofs is the main command used for writing the DVDs. To write DVDs, use this command:

Advertisment

#growisofs -Z /dev/cdrom -R -J /folder_to_copy

To copy an image file instead, give this command and it will writeyour DVD. 

#growisofs -Z /dev/cdrom=image.iso

Anindya Roy

Advertisment