my hard disk is also encrypted (followed this tutorial http://www.mathyvanhoef.com/2011/08/...boot-with.html)
but she simply doesn't upgrade
Hi,
I've been using BackTrack 5 R1 flawlessy on a laptop with an encrypted hard disk.
I tried to upgrade to BackTrack 5 R2 by following this guide: upgrading-to-backtrack-5-r2, but after rebooting I got the error message "/dev/mapper/vg-root does not exist" and the boot process dropped to the initramfs prompt.
The encrypted partition is still there but is now unaccessible from the boot menu.
my hard disk is also encrypted (followed this tutorial http://www.mathyvanhoef.com/2011/08/...boot-with.html)
but she simply doesn't upgrade
It looks like the hashalot package is not installed during upgrade, I can't even find it as listed in the new sources repositories. Without that package, the logical volume contained within the encrypted partition cannot be accessed.
EDIT: the real issue might be in that the file /usr/share/initramfs-tools/scripts/local-top/cryptroot is missing since I upgraded to R2, so the system does not ask to enter the luks password on boot.
Could anybody please verify that?
Last edited by jack0m; 03-11-2012 at 12:04 PM.
I upgraded from R1 and use an encrypted USB stick and had no problems. Things to try:
Check the hashalot and lvm2 packages are installed.
Check your fstab and crypttab files.
Something bad has happened. The upgrade process definitely does not remove the cryptroot file.
Yes, something went wrong with the upgrade process. At the end I could recover the system only after the following steps:
- booting from the BT5 R2 DVD and chrooting to the encrypted hard disk partition;
- manually removing and reinstalling the packages cryptsetup, ecryptfs-utils and keyutils;
- then booting onto the previous kernel (2.6.39), removing and reinstalling the new one (3.2.6);
- hence rebooting again and doing a new apt-get upgrade...
There could probably be a smarter way to fix the messed up system, in any case it looks it is now working fine.