[pkg-cryptsetup-devel] Bug#554506: cryptsetup: unable to find root volume

Michael Gilbert michael.s.gilbert at gmail.com
Sat Aug 28 04:08:39 UTC 2010


i've run into this issue as well while attempting to install a new
squeeze instance in a virtualbox vm.  if you're having trouble
reproducing the problem, the following steps should be able to
reproduce it:

1.  use a recent image such as [0], and start the installation
2.  once you get to partitioning, go into "LVM" setup (not encrypted LVM yet)
3.  create an LVM volume (i used the whole virtualbox disk image for this)
4.  create a logical volume called "boot"
5.  create a logical volume called "swap"
6.  create a logical volume called "root"
7.  finish LVM setup
8.  go into the "encrypted LVM" setup
9.  select the existing "swap" and "root" logical volumes to encrypt
10. finish "encrypted LVM" setup (entering passphrase, erasing, etc)
11.  format the "boot" logical volume as ext2 mounted at /boot
12. format the crypto "root" logical volume as ext3 mounted at /
13. format the crypto "swap" logical volume as swap
14. finish partitioning and write changes
15. complete the rest of the installation
16. reboot to find error "lvm device name (...) does not begin
with /dev/mapper/"

mike

[0] http://cdimage.debian.org/cdimage/daily-builds/daily/current/i386/iso-cd/debian-testing-i386-netinst.iso

note: i had originally run into the problem with the squeeze alpha 1
image, but there were additional warnings about device renaming, so i
chose to use the newer media to avoid that as a potential cause
http://cdimage.debian.org/cdimage/squeeze_di_alpha1/i386/iso-cd/debian-testing-i386-netinst.iso





More information about the pkg-cryptsetup-devel mailing list