Showing posts with label growisofs. Show all posts
Showing posts with label growisofs. Show all posts

Saturday, February 19, 2011

dvd device problem after upgrade to debian 6

After upgrading to debian 6[squeeze] (from debian 5 [lenny]), apparently my dvd device permissions changed, and I wasn't able to eject/write dvds. Whenever I tried to write a dvd, it would return something like this:

$ growisofs -dvd-compat -Z /dev/scd0=somefile.iso
:-( unable to open64("/dev/scd0",O_RDONLY): Permission denied

Well, the answer is pretty obvious though, just change the permissions to anyone can write to it.

$cd /dev
$ sudo chmod o+rw sr0


Edit:
Apparently wasn't that simple! chmoding it works well until you reboot, when /dev is recreated... looking on how to fix that.

Friday, February 4, 2011

growisofs double layer dvd issue

For some reason using growisofs to burn a dual layer dvd (DVD-DL) was giving me an error that ended with like this line:
:-( write failed: Input/output error growisofs dvd dual layer

The command I used was:
growisofs -Z /dev/scd0 -R -J -V "someID" .
It usually works just fine on regular DVDs.
I thought it was only an option for burning ISO files, but apparently using the -dvd-compat option fixes it (it did for me!). So instead of the above command, you'd type:

growisofs -dvd-compat -Z /dev/scd0  -R -J -V "someID" .
And you'll be able to burn a dual layer DVD(8.5GB) with growisofs without any problem.