Bug#1051681: Hangs trying to boot from /boot on LVM+LUKS

Michel Dänzer michel at daenzer.net
Fri Mar 8 10:44:29 GMT 2024


Hi Mate,


thanks for your follow-up.


On 2024-02-19 08:31, Mate Kukri wrote:
> 
> There are a rather high number of variables to isolate here. If you
> could provide the following information, it might help provide a
> better guess at what's going on:
> - Computer (or mainboard if white box desktop) model

It's a Lenovo Thinkpad E595.

> - Firmware revision

I upgraded to the latest 1.29, no change regarding this issue.

> - Is Secure Boot enabled?

It's disabled.

> - Description of your disk layout

It's a 512GB NVMe SSD. There are two partitions:

1. The EFI system partition (289MB)
2. A LUKS encrypted volume (rest)

The LUKS volume contains an LVM2 PV, with LVs for the root filesystem (which includes /boot) and swap.


> Also if you could just try using the grub 2.12-1 binary to boot a
> kernel+initrd from an ext4 volume directly (e.g. using a usb drive or
> spare disk), that would also be very helpful, I wonder if this
> regression has something to do with LVM.

Before this I tried booting a Debian kernel image instead of a self-built one, and that booted fine. That seems to rule out an LVM or LUKS related issue. Should have tried this earlier. :(

My working theory is that it's due to some kernel build configuration change in my self-built kernels compared to Debian ones. I'll try narrowing it down, though if you happen to know of any kernel build configuration no longer supported with GRUB 2.12, that might be helpful.


-- 
Earthling Michel Dänzer            |                  https://redhat.com
Libre software enthusiast          |         Mesa and Xwayland developer



More information about the Pkg-grub-devel mailing list