Bug 29732

Summary: grub2 fails to boot if /boot is on xfs filesystem
Product: Mageia Reporter: Stephen Usher <steve>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: critical    
Priority: Normal    
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: grub2-2.06-1.1.mga8.src.rpm CVE:
Status comment:
Attachments: Errors from grub2-install

Description Stephen Usher 2021-12-06 10:13:46 CET
Description of problem:

If the /boot filesystem is XFS then a recent update to grub2 will prevent it from booting (or installing correctly) giving "attempt to read or write outside of partition" errors.

See: https://bugzilla.redhat.com/show_bug.cgi?id=2000887

Version-Release number of selected component (if applicable):


How reproducible:

Fully.

Steps to Reproduce:
1. Create a system using and XFS filesystem for /boot
2. Try to install grub2
3. Reboot
Comment 1 Stephen Usher 2021-12-06 10:14:23 CET
Created attachment 13023 [details]
Errors from grub2-install
Comment 2 Lewis Smith 2021-12-06 20:37:07 CET
Thank you for the report, and RedHat reference. Which says:
- Fault introduced by 2.06-2.fc34
- Works by regressing to 2.06~rc1-3.fc34
- Hoped for fix in 2.06-9.fc36 [feedback awaited]

How our current 2.06-1.1 relates is unclear. Note that the attached error output sample is 32-bit, the related RH bug is for x86.

Assigning this to tv, who maintains grub2.

Assignee: bugsquad => thierry.vignaud