cryptsetup, can't create device from encrypted dvd

Nomen Nescio nobody at
Thu Sep 14 23:50:16 UTC 2006

I tried to make an encrypted dvd this way (using cryptsetup

$ mkisofs -r -J path/to/stuff/  |aespipe -H sha256 -e aes256 -T >foo.iso
[entered passphrase twice]
[waited a while]
[ended up with a 4.2GB foo.iso]

$ dvdrecord -v -dao dev=/dev/dvdrw foo.iso

$ eject
[pushed the button on the drive to suck the dvd back in]

$ sudo cryptsetup -c aes -s 256 -h sha256 create cd /dev/dvdrw
[entered sudo password]
[entered crypto passphrase]
Command failed: device-mapper: reload ioctl failed: Invalid argument

[tried again a few times, with the same result]

Anyone know what I'm doing wrong?

More information about the ubuntu-users mailing list