Closed WanderingFarUnix closed 3 years ago
Thanks for very good and detailed report!
Please send me output of blkid
in emergency shell and working host system.
Emergency shell:
Emergency shell with grub recovery mode:
Working host system via knoppix on live-usb:
blkid after starting chroot:
blkid in the chroot:
List of the binaries in the bin/ folder in the emergency shell:
Just to note:
I am pretty new to KISS but I wanted to try it out. I encrypt all my installs due to me being on a laptop The kernel compiled fine. Grub was a different story as the only thing that worked was to grub-install on the live-usb i was using and not the chroot. Now the issue I am facing is Trying to get LUKS LVM working.
When the system boots up, it will simply stop at 'Device not found or unavailable' and it will say LUKS decryption has failed. I go into recovery mode and it seems to stop at blkid. It seems to be finding the UUID of the root partition but just can't.
I have tried:
I cannot seem to get anything to work. It does seem to be a problem with detecting the root partition. The kernel does have Twofish and sha512 embedded into it (as I use that to encrypt my system). I also checked blkid in the emergency shell that it kicked me into when I try to boot and it shows the encrypted partition. It shows as /dev/sdb3 with the same UUID i specified in the tinyramfs config (/dev/sda below is /dev/sdb when it boots up which is why I use UUID).
Here is the way I encrypted it (this is shown in the liveusb chrooted)
This is the tinyramfs config:
Grub
I am pretty stumped at this issue as it should just boot up fine. Hopefully I can get some help with this. I am using a KNOPPIX live usb. I am using coreboot with seabios (All other OS's work so I do not think this could be the issue). Grub was installed using the live usb onto the kiss installation by mounting /mnt/boot as /boot The grub config was generated inside the chroot. Grub boots up fine but the initramfs cannot decrypt the root partition ( as it cannot find one ).
I do suspect it is something to do with the luks hooks as that is the part that fails.
I'll try to get an image of the error if I can. Thanks!