encrypted block devices unavailable with linux-virtual
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup |
New
|
Undecided
|
Unassigned | ||
cryptsetup (Debian) |
New
|
Undecided
|
Unassigned | ||
cryptsetup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-virtual
I set up full disk encryption, minus /boot, with debian-installer from maverick mini.iso (dm-crypt/luks). Boots fine with -generic kernel, but although I use it as a desktop (install ubuntu-desktop), as it is a virtual machine in virtualbox, I would normally replace the -generic kernel with the -virtual flavor. When attempting to boot the -virtual kernel, I get the following errors when Plymouth should be asking for the cryptsetup passphrase:
cryptsetup: evms_activate is not available
0b6) does not begin with /dev/mapper
I don't use EVMS, so /sbin/evms_activate is not present on my installed system or in the initrd.img for -generic, but that doesn't stop the -generic kernel from booting up. I tried the fixes in Bug #106097 (mod to /usr/share/
Same problem after upgrading the maverick installation to natty.
$ apt-cache policy linux-generic
linux-generic:
Installed: 2.6.36.0.1
Candidate: 2.6.36.0.1
Version table:
*** 2.6.36.0.1 0
500 http://
100 /var/lib/
2.6.35.22.23 0
400 http://
$ lsb_release -dr
Description: Ubuntu natty (development branch)
Release: 11.04
affects: | linux-meta (Ubuntu) → linux (Ubuntu) |
$ cat /etc/crypttab lv--root_ crypt UUID=9bdcff58- de6d-40e4- 8f3e-d214da46dd f2 none luks
vg--root-
$ cat /etc/fstab vg--root- lv--root_ crypt / ext4 relatime, nodiratime, data=journal, errors= remount- ro 0 1 4dc0-485d- b1fe-bf27357a02 7e /boot ext2 noatime, nodiratime, nodev,nosuid 0 2 nodiratime, nodev,nosuid 0
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/mapper/
# /boot was on /dev/sda1 during installation
UUID=bfc4552d-
tmpfs /tmp tmpfs rw,noatime,
0