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?
Luis, I would like to do as you suggest. My partition table is seen here: paste.adora. dk/P2408. html
http://
/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 barbera- root /mnt 3.2.0-23- generic
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/
mount /dev/sda1 /mnt/boot
chroot /mnt
apt-get update && apt-get dist-upgrade
dpkg-reconfigure linux-image-
reboot
?
Do I have to mount /proc, /sys or other inside the chroot? Anything else I should be aware of?