FS#26430 - [grub2-common] grub-mkconfig GRUB_PREFIX should not be hard coded

Attached to Project: Arch Linux
Opened by Jamie Kitson (JamieKitson) - Thursday, 13 October 2011, 21:23 GMT
Last edited by Ronald van Haren (pressh) - Sunday, 15 January 2012, 10:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

In the script grub-mkconfig the variable GRUB_PREFIX is hard coded to /boot/grub. For BIOS installations this will usually be true. However for UEFI installations this will usually not be true and causes a number of issues, for example grub ends up trying to insmod vga and vbe, which results in two "error: file not found" lines on boot as these are BIOS modules in /boot/grub listed in /boot/grub/video.lst. The correct modules are efi_* in the efi directory listed in video.lst in the same directory.

Additional info:
* Package version: 1.99-5

Steps to reproduce:

Install grub2-efi-x86_64. /sbin/grub-mkconfig GRUB_PREFIX references /boot/grub
This task depends upon

Closed by  Ronald van Haren (pressh)
Sunday, 15 January 2012, 10:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in new bzr checkout
Comment by Jamie Kitson (JamieKitson) - Thursday, 13 October 2011, 21:31 GMT

Loading...