[Bug 1553993] [NEW] grub2 should ignore xen hypervisor EFI files when building menus
Stefan Bader
stefan.bader at canonical.com
Mon Mar 7 10:50:26 UTC 2016
Public bug reported:
For a while now (I think about Trusty), the Xen hypervisor package installs two files into /boot. One is the classic hypervisor code (xen*.gz), the other is an EFI executable. Currently we create menu entries for both but only the classic code can be run from grub2. The EFI version is intended to be started directly from the EFI BIOS.
So I would propose the following patch to ignore the EFI files when creating the menu entries. I decided on positively matching the EFI file and skipping over it over that and not narrowing the match because that might still allow a change of compression scheme without needing to change grub2 code again.
The change should be easy to SRU into older releases, too. Though, since the Xen modified default selects the non-EFI submenu, it might not be critical enough to do so.
** Affects: grub2 (Ubuntu)
Importance: Low
Status: New
** Tags: xenial
** Patch added: "Proposed change for Xenial"
https://bugs.launchpad.net/bugs/1553993/+attachment/4591408/+files/mkconfig_ignore_xen_efi.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1553993
Title:
grub2 should ignore xen hypervisor EFI files when building menus
Status in grub2 package in Ubuntu:
New
Bug description:
For a while now (I think about Trusty), the Xen hypervisor package installs two files into /boot. One is the classic hypervisor code (xen*.gz), the other is an EFI executable. Currently we create menu entries for both but only the classic code can be run from grub2. The EFI version is intended to be started directly from the EFI BIOS.
So I would propose the following patch to ignore the EFI files when creating the menu entries. I decided on positively matching the EFI file and skipping over it over that and not narrowing the match because that might still allow a change of compression scheme without needing to change grub2 code again.
The change should be easy to SRU into older releases, too. Though, since the Xen modified default selects the non-EFI submenu, it might not be critical enough to do so.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1553993/+subscriptions
More information about the foundations-bugs
mailing list