Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to follow the directions to create an automated backup from this site for my 11.10 machine:

The DVD that I'm working with is a Memorex DVD-RW 4x 4.7GB 10min.

I have written the following script:

echo > $outfile
echo Formatting $DVD...|tee $outfile
dvd+rw-format -force=full $DVD|tee $outfile
echo Writing $DVD...|tee $outfile
growisofs -dvd-compat -input-charset=ISO-8859-1 -Z $DVD -R -J -pad -graft-points "/spenser=/mnt/backup" 

And here are my results:

thom@thom-desktop:/usr/local/bin$ sudo
Formatting /dev/scd0...
* BD/DVD±RW/-RAM format utility by <>, version 7.1.
:-( mounted media doesn't appear to be DVD±RW, DVD-RAM or Blu-ray
Writing /dev/scd0...
:-( /dev/scd0: media is not recognized as recordable DVD: 0

I'm at a loss as to how to proceed...


share|improve this question
According to the dvd+rw-format website, that program is a "patch" for the 2.4 kernel. The 2.4 series is many years old (2.6 was out for close to 10 years, I think, and now we're on 3.0), and your UbuntuForums tutorial link is from 2007. There's a good chance that your instructions are outdated. I'm posting this as a comment because I don't know how to manually burn a DVD. I always use some GUI program to do it for me and have done so even in the days where I used the command line for everything else. – Scott Severance Feb 29 '12 at 19:54
Thanks for the info @ScottSeverance. good catch! – Thom Feb 29 '12 at 20:59
up vote 2 down vote accepted

OK, here's the script I ended up writing. Hope this helps someone else.

First you must unmount the drive to insure it is not open, the format, then copy the files.


echo > $outfile
echo unmounting $DVD...|tee -a $outfile
umount $DVD
echo Formatting $DVD...|tee -a $outfile
wodim -vv dev=$DVD blank=all|tee -a $outfile
echo Mounting...|tee -a $outfile
mount /mnt/backup
echo Writing $DVD...|tee -a $outfile
growisofs -dvd-compat -input-charset=ISO-8859-1 -Z $DVD -R -J -pad -graft-points "/spenser=/mnt/backup"
share|improve this answer
You should use tee -a instead of tee to append to the log file instead of overwriting it, which I assume is the case. – Frxstrem Mar 1 '12 at 0:30
Thanks, @Frxstrem – Thom Mar 1 '12 at 0:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.