Opened 21 months ago
Closed 21 months ago
#5219 closed defect (fixed)
e2fsprogs-1.47.0 enables metadata_csum_seed which breaks grub-install
Reported by: | Xi Ruoyao | Owned by: | Xi Ruoyao |
---|---|---|---|
Priority: | normal | Milestone: | 11.3 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
For details see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030846.
TL;DR: if the host has e2fsprogs >= 1.47.0 installed and the /boot partition (or /, if /boot is not a separate partition) for LFS is created with it, section 10.4 in LFS and the UEFI counterpart in BLFS will fail.
Change History (6)
comment:1 by , 21 months ago
Description: | modified (diff) |
---|
comment:2 by , 21 months ago
Description: | modified (diff) |
---|
comment:3 by , 21 months ago
comment:4 by , 21 months ago
Testing on a fresh bios-boot system, /boot is on /dev/sda3:
#tune2fs -O metadata_csum_seed /dev/sda3 tune2fs 1.47.0 (5-Feb-2023) #grub-install /dev/sda Installing for i386-pc platform. grub-install: error: unknown filesystem.
Reverting that (metadata_csum_seed) allows the install to work.
comment:5 by , 21 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'll add the GRUB patch after a test in QEMU.
comment:6 by , 21 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at r11.2-326-g3608d06aa.
Note:
See TracTickets
for help on using tickets.
BLFS grub-efi fixed at BLFS r11.2-1236.
I've not tried on a BIOS boot system but if I correctly understand the way GRUB works, the same fix is also needed for LFS GRUB.
We can test if a system suffers the issue by using
tune2fs -O metadata_csum_seed /dev/<device node name of /boot or />
to enable the metadata_csum_seed feature, and runninggrub-install
to see if it fails.