Ok, comparing /usr/share/initramfs-tools/scripts/local-top/cryptroot shows that the two files are about 90% the same. The Debian version includes support for EVMS but Ubuntu does not. However that difference should not affect what we are doing here.
Both files have the "modprobe -q dm_crypt" line. Its sixteen lines into the setup_mapping() function.
I dont see anything in the Ubuntu version that would make it not work. Unless perhaps you're running an older version?
re: Trying to make this work with Ubuntu Edgy...
I downloaded a copy of cryptsetup from the Ubuntu repositories for comparison.
Versions:
Ubuntu: 1.0.4-8ubuntu2
Debian Sid: 1.0.4+svn26-1
Ok, comparing /usr/share/initramfs-tools/scripts/local-top/cryptroot shows that the two files are about 90% the same. The Debian version includes support for EVMS but Ubuntu does not. However that difference should not affect what we are doing here.
Both files have the "modprobe -q dm_crypt" line. Its sixteen lines into the setup_mapping() function.
I dont see anything in the Ubuntu version that would make it not work. Unless perhaps you're running an older version?
What version did you install?