Product: Fedora
Version: 18
Component: grub2

Lingzhu Xiang <[email protected]> has asked  for fedora_requires_release_note:
Bug 886412: grub2-install prevents UEFI booting
https://bugzilla.redhat.com/show_bug.cgi?id=886412


------- Additional Comments from Lingzhu Xiang <[email protected]>
Description of problem:

grub2-install will install grubx64.efi with hardcoded (,gpt2)/grub2 as the
prefix. After reboot, grubx64.efi can't find its grub.cfg and falls back into
rescue shell.

Despite whether there is a legitimate use case of grub2-install on UEFI F18,
grub2-install could avoid doing harm when the user hasn't updated their
expectation of bootloder installation.

Version-Release number of selected component (if applicable):
F18 Beta
grub2-tools-2.00-12.fc18.x86_64
grub2-efi-2.00-12.fc18.x86_64

How reproducible:
Reproduced on IBM x3550 M3 and QEMU VMs (all UEFI).

Steps to Reproduce:
1. A standard pxeboot installation on a UEFI system.
2. sh -x grub2-install /dev/sda >grub2-install.log
3. reboot

Actual results:
[root@localhost ~]# grep -ao .,gpt.. /boot/efi/EFI/fedora/grubx64.efi 
(,gpt2)

(reboot, and fall into rescue shell)

grub> echo $prefix
(hd0,gpt2)/grub2

Expected results:
grub2-install uses correct prefix for grubx64.efi. Or grub2-install fails
gracefully and points user to proper method of UEFI bootloader installation.

Additional info:
Disk layout:
sda                      8:0    0   16G  0 disk 
├─sda1                   8:1    0  200M  0 part /boot/efi
├─sda2                   8:2    0  500M  0 part /boot
└─sda3                   8:3    0 15.3G  0 part 
  ├─fedora-swap (dm-0) 253:0    0    4G  0 lvm  [SWAP]
  └─fedora-root (dm-1) 253:1    0 11.4G  0 lvm  /

A temporary workaround:
grub> configfile (hd0,gpt1)/efi/fedora/grub.cfg
--
relnotes-content mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/relnotes-content

Reply via email to