Summary: | System does not boot after Update from Core Update 182 to 183 (RAID1) | ||
---|---|---|---|
Product: | IPFire | Reporter: | Dirk Sihling <dsihling> |
Component: | grub | Assignee: | Arne.F <arne.fitzenreiter> |
Status: | MODIFIED --- | QA Contact: | |
Severity: | Major Usability | ||
Priority: | Will affect all users | CC: | michael.tremer |
Version: | 2 | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Dirk Sihling
2024-02-27 15:30:34 UTC
This problem seems to have been reported before and seemed to be a bug in the UEFI BIOS. *** This bug has been marked as a duplicate of bug 13507 *** After taking a closer look I found a solution for this problem: The call to grub-install in line 135 of /usr/bin/install-bootloader fails because of missing parameters to the internal call to efibootmgr: "efibootmgr: option requires an argument -- 'd'" The existing entry for IPFire did not specify a file and location of the bootloader, just the partition (unfortunately I didn't take a note of this entry). After creating the entries for both RAID1 disks the system booted again: "efibootmgr --create --disk /dev/sda --part 3 --label "IPFire - Manual Fix" --loader \\EFI\\ipfire\\grubx64.efi" (and the same call for /dev/sdb). The entries now look like this: Boot0002* IPFire - Manual Fix HD(3,GPT,9b320297-b9e7-4afb-8e12-2f016289780c,0x42800,0x10000)/File(\EFI\ipfire\grubx64.efi) Boot0003* IPFire - Manual Fix HD(3,GPT,9b320297-b9e7-4afb-8e12-2f016289780c,0x42800,0x10000)/File(\EFI\ipfire\grubx64.efi) The devies are: [root@ipfire ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 931.5G 0 disk └─md127 9:127 0 931.5G 0 raid1 ├─md127p1 259:0 0 4M 0 part ├─md127p2 259:1 0 128M 0 part /boot ├─md127p3 259:2 0 32M 0 part /boot/efi ├─md127p4 259:3 0 1G 0 part [SWAP] └─md127p5 259:4 0 930.3G 0 part / sdb 8:16 0 931.5G 0 disk └─md127 9:127 0 931.5G 0 raid1 ├─md127p1 259:0 0 4M 0 part ├─md127p2 259:1 0 128M 0 part /boot ├─md127p3 259:2 0 32M 0 part /boot/efi ├─md127p4 259:3 0 1G 0 part [SWAP] └─md127p5 259:4 0 930.3G 0 part / To me it looks like install-bootloader needs additional code for UEFI boot. I would like to open the ticket again so people will notice. If that is not the correct response then please let me know and close the ticket again. (In reply to Dirk Sihling from comment #2) > I would like to open the ticket again so people will notice. If that is not > the correct response then please let me know and close the ticket again. I believe it is correct to re-open this ticket. This seems to be a long-standing bug in GRUB: > https://bugzilla.redhat.com/show_bug.cgi?id=1758621 @Arne, could you please have a look what we can do here? |