[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: System can no longer boot off of crypted drive



On initramfs prompt try to active the vg typing: vgchange -a -y vg00

"You don't know where your shadow will fall",
Somebody.-
----------------------------------------------------------------
Olaf Reitmaier Veracierta (BB) <olafrv@gmail.com>
----------------------------------------------------------------
http://olafrv.googlepages.com
----------------------------------------------------------------


From: "B. Alexander" <storm16@gmail.com>
Date: Thu, 1 Jul 2010 09:29:08 -0400
To: Debian-user List<debian-user@lists.debian.org>
Subject: System can no longer boot off of crypted drive

I have a Lenovo T400 running sid. Did routine updates (I think there were almost 200 today), and was prompted to reboot to complete the installation. The system has /boot which runs on a thumb drive, an encrypted swap (sda1) and an encrypted lvm (sda2).  When I rebooted, it did the chainload to grub2, then gave me the following straight out of grub:

Loading, please wait...
  Volume group "vg00" not found
  Skipping volume group vg00
Unable to find LVM volume vg00/root
[          6.310942] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[          6.312679] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[          6.315685] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Gave up waiting for root device.  Common problems:
- Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT!   /dev/mapper/vg00-root does not exist.  Dropping to a shell!

at which point I get the initramfs prompt. From the looks of things, there was a kernel update, but the new initrd image doesn't decrypt cryptdisks-early before trying to mount vg00. The initramfs command set doesn't seem to have provision to decrypt the hard drive. I booted on the Lenny install CD in rescue mode, and it found the encrypted partitons and prompted me to decrypt.

Can someone help me to get the encryption working in the initrd (or whatever the problem may be)?

Thanks,
--b


Reply to: