Originally Posted by
legion
I can confirm the same issue with 1.03. I've downloaded the ISO 3 times, x86 & x64. No matter what I do, encrypted LVM installs just won't boot.
For the record, this was fixed in Kali 1.0.5.
However, if you use 'live boot' to install Kali - you'll still have the same issue (in 1.0.8). *If you install via text mode/graphic you shouldn't have this issue.*
Issue
Code:
Voume group "kali" not found
Skipping volume group kali
Unable to find LVM volume kali/root
Setup
Code:
root@kali:~# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 85.9 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders, total 167772160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00016f95
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 167770111 83634177 5 Extended
/dev/sda5 501760 167770111 83634176 83 Linux
Command (m for help): q
root@kali:~#
Fix
Code:
root@kali:~# blkid /dev/sda5
/dev/sda5: UUID="bc73f7be-0455-421d-8fbc-63e15564141e" TYPE="crypto_LUKS"
root@kali:~# cryptsetup luksOpen /dev/sda5 sda1_crypt
Enter passphrase for /dev/sda5:
root@kali:~# vgchange -ay kali
2 logical volume(s) in volume group "kali" now active
root@kali:~# mkdir -p /mnt/root
root@kali:~# mount /dev/mapper/kali-root /mnt/root/
root@kali:~# cd /mnt/root/
root@kali:/mnt/root# mount -t proc proc proc
root@kali:/mnt/root# mount -t sysfs sys sys
root@kali:/mnt/root# mount -o bind /dev dev
root@kali:/mnt/root# mount /dev/sda1 boot
root@kali:/mnt/root# chroot .
root@kali:/# echo "sda1_crypt UUID=bc73f7be-0455-421d-8fbc-63e15564141e none luks" > /etc/crypttab
root@kali:/# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.14-kali1-amd64
root@kali:/# exit
exit
root@kali:/mnt/root#
Proof