Bug 2160293

Summary: Computer stop booting after update grub2 to 2.06-73 version
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: grub2Assignee: Javier Martinez Canillas <fmartine>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fmartine, lkundrak, nanotwerp, pgnet.dev, pjones, rharwood, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-13 18:03:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2083910, 2083911    
Attachments:
Description Flags
grub2 errors
none
How to boot system with broken grub none

Description Mikhail 2023-01-12 00:24:24 UTC
Created attachment 1937505 [details]
grub2 errors

Description of problem:
Computer stop booting after update grub2 to 2.06-73

Instead of grub menu I see grub command prompt.

grub>

executing "ls" command leads to a lot of error messages.

grub> ls
(memdisk) (proc) (hd0) (hd1) error:
../../grub-core/disk/efi/efidisk.c:615:failure reading sector 0x82f7ffff0 from `hd0'.
error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x82f7fff80 from `hd0'.
error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x0 from `hd0'.
error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x37e436a0 from `hd1'.
error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x37e43600 from `hd1'.
error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x0 from `hd1'.

grub>

Last good grub2 version was 2.06-72


If you as me already update your grub and your system unbootable try this instruction:

1) start fedora from flash stick
2) press 'c' for enter grub command prompt
3) enter "ls" command for find your root partition.
grub> ls
(proc) (hd0) (hd0,msdos2) (hd1) (hd1,msdos2) (hd2) (hd2,gpt1) (hd3) (hd3,gpt1) (hd3,gpt2) (hd3,gpt3)

In my case (hd0) and (hd1) belong to a bootable flash drive.
(hd2) is HDD with /home
(hd3) is SSD with system

grub> ls(hd3,gpt2)/
@root/

4) set root
grub> set root=(hd3,gpt2)

5) load your configuration
grub> configfile /@root/boot/grub2/grub.cfg

After it you should see your boot menu and load system as usual.

Comment 1 Mikhail 2023-01-12 00:25:32 UTC
Created attachment 1937506 [details]
How to boot system with broken grub

Comment 2 Fedora Blocker Bugs Application 2023-01-12 00:28:27 UTC
Proposed as a Blocker and Freeze Exception for 38-beta by Fedora user mikhail using the blocker tracking app because:

 Because grub2-2.06-73 making system completely unbootable

Comment 3 nanotwerp 2023-01-12 23:36:32 UTC
(In reply to Mikhail from comment #0)
> Created attachment 1937505 [details]
> grub2 errors
> 
> Description of problem:
> Computer stop booting after update grub2 to 2.06-73
> 
> Instead of grub menu I see grub command prompt.
> 
> grub>
> 
> executing "ls" command leads to a lot of error messages.
> 
> grub> ls
> (memdisk) (proc) (hd0) (hd1) error:
> ../../grub-core/disk/efi/efidisk.c:615:failure reading sector 0x82f7ffff0
> from `hd0'.
> error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x82f7fff80
> from `hd0'.
> error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x0 from
> `hd0'.
> error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x37e436a0
> from `hd1'.
> error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x37e43600
> from `hd1'.
> error: ../../grub-core/disk/efi/efidisk.c:failure reading sector 0x0 from
> `hd1'.
> 
> grub>
> 
> Last good grub2 version was 2.06-72
> 
> 
> If you as me already update your grub and your system unbootable try this
> instruction:
> 
> 1) start fedora from flash stick
> 2) press 'c' for enter grub command prompt
> 3) enter "ls" command for find your root partition.
> grub> ls
> (proc) (hd0) (hd0,msdos2) (hd1) (hd1,msdos2) (hd2) (hd2,gpt1) (hd3)
> (hd3,gpt1) (hd3,gpt2) (hd3,gpt3)
> 
> In my case (hd0) and (hd1) belong to a bootable flash drive.
> (hd2) is HDD with /home
> (hd3) is SSD with system
> 
> grub> ls(hd3,gpt2)/
> @root/
> 
> 4) set root
> grub> set root=(hd3,gpt2)
> 
> 5) load your configuration
> grub> configfile /@root/boot/grub2/grub.cfg
> 
> After it you should see your boot menu and load system as usual.


I'm experiencing the same thing. After updating yesterday and rebooting, Fedora Rawhide system became totally unbootable. Reinstalling everything with a USB yielded the same results. If it helps, my motherboard is an ASUS ROG STRIX B550-F GAMING (WIFI), with the most up to date BIOS installed.

Comment 4 nanotwerp 2023-01-13 00:39:25 UTC
The latest Fedora Rawhide ISO (2023-01-12) works fine, so grub2-2.06-75 fixed the issue.