Luis, I would like to do as you suggest. My partition table is seen here:
http://paste.adora.dk/P2408.html

/dev/sda1 is /boot
/dev/sda5 is the LUKS encrypted partition containing LVM with swap and rootfs.

So, what is the procedure?
Will the following work?

apt-get update
apt-get install cryptsetup initramfs-tools lvm2
modprobe aes-x86_64
modprobe dm-crypt
modprobe dm-mod
cryptsetup luksOpen /dev/sda5 pvcrypt
vgscan
vgchange -a y barbera
mount /dev/mapper/barbera-root /mnt
mount /dev/sda1 /mnt/boot
chroot /mnt 
apt-get update && apt-get dist-upgrade
dpkg-reconfigure linux-image-3.2.0-23-generic 
reboot

?

Do I have to mount /proc, /sys or other inside the chroot? Anything else
I should be aware of?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1003309

Title:
  Boot fails after installing updates, error: “cryptsetup: evms_activate
  is not available"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1003309/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to