Astrophysics Research CentreQueen's University Belfast • School of Mathematics & Physics |
Writing CDs and DVDsMost workstations now have a DVD/CD writer drive - here's how to use it. Software
There are two software options for writing CD and DVD discs - the first is the K3B GUI, which is quite easy to use, and makes things relatively simple. Unfortunately, at the moment the software does not get on at all well with many of the DVD-R drives we have, and can hang the computer. Therefore, for the moment it's safest to use the command line software outlined below!
Writing a CD-R
To write a CD, do the following:
Writing a DVD-R
Procedures for writing a DVD are pretty much the same as for the CDRs above, only you need to use the -udf flag to make the .ISO image use the UDF format:
mkisofs -d -D -l -L -N -r -v -udf -o /scratch/rsir/mycd.iso .To write the disc use the cdrecord command to burn. Syntax is basically the same as with CDs. Note that the maximum writing speed for the DVDs we have is 4X-8X, but some of the older drives will only support 2X burning. cdrecord -eject -dao -speed=2 -driveropts=burnproof dev=DEVICE /scratch/rsir/mycd.iso Verification
It is important to verify that the disk has burned correctly. The best way to do this is to generate MD5-hash sums for the source and newly burned files, and check for differences. The simplest way to do this is run a checksum for the entire disk, and compare that to the checksum for the ISO image:
md5sum /scratch/rsir/mydvd.iso 4bb7947e1bd5291c5b9e20182e63923e /scratch/rsir/mydvd.iso md5sum /dev/cdrom 4bb7947e1bd5291c5b9e20182e63923e /dev/cdromThe checksums should agree for both - if not, there is a problem! Note that you can only run md5sum on the /dev/cdrom device if
find . -type f -exec md5sum '{}' ';' > /home/rsir/somemd5s.lis
|
Quick Links
|