Bug 1248126
Summary: | RFE: Add option to exit UEFI GRUB menu to efidefault | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | David Galloway <dgallowa> |
Component: | lab controller | Assignee: | matt jia <mjia> |
Status: | CLOSED CANTFIX | QA Contact: | tools-bugs <tools-bugs> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | develop | CC: | bpeck, dcallagh, jburke, mjia, rjoost |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-16 06:51:45 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: | 1087090 |
Description
David Galloway
2015-07-29 16:12:28 UTC
Does this actually work with the GRUB 0.97 version we are currently using for x86 EFI? Bug 1207376 talks about exiting to firmware but that's in GRUB2. If GRUB 0.97 doesn't support this properly (and I suspect it doesn't, but we can test it) then this would be predicated on switching to GRUB2 for x86 EFI, which is also part of bug 1087090. We have an EFI system that takes over 45 minutes to reboot and this bug is casuing some serious grief. If we accidentally do a reboot instead of rhts-reboot we need to catch the POST at the right time and hit escape to skip the netboot. We might be able to fix this issue by working on Bug 1087090 which is already one of the top priority items. (In reply to Dan Callaghan from comment #3) > Does this actually work with the GRUB 0.97 version we are currently using > for x86 EFI? Bug 1207376 talks about exiting to firmware but that's in GRUB2. > > If GRUB 0.97 doesn't support this properly (and I suspect it doesn't, but we > can test it) then this would be predicated on switching to GRUB2 for x86 > EFI, which is also part of bug 1087090. Your are right, GRUB 0.97 does not support this as the firmware does not fallback booting from hard disk when quitting from the menu list. To fix this problem, we will switch to GRUB2 for x86 EFI systems when the bug fix for bug 1087090 is released. (In reply to matt jia from comment #6) So to be 100% clear, Matt you tried making efidefault like this as per David's suggestion: default=0 timeout=60 title Boot using next entry in UEFI Boot Order quit and when you let GRUB 0.97 boot that default config, and wait 60 seconds for the timeout, you see what happen exactly? And this is on our HP Z420 test system right? (Also David has suggested "quit" but we are using "exit" elsewhere, not sure if they are just aliases for the same GRUB command or if there is some difference between them? Can you confirm, Matt?) (In reply to Dan Callaghan from comment #7) > (In reply to matt jia from comment #6) > > So to be 100% clear, Matt you tried making efidefault like this as per > David's suggestion: > > default=0 > timeout=60 > title Boot using next entry in UEFI Boot Order > quit > > and when you let GRUB 0.97 boot that default config, and wait 60 seconds for > the timeout, you see what happen exactly? And this is on our HP Z420 test > system right? IYes, I was using my HP420 test system. When it was timeout, it loaded into a place where you can configure system, set boot options etc. I can show you if you want to have a look. > > (Also David has suggested "quit" but we are using "exit" elsewhere, not sure > if they are just aliases for the same GRUB command or if there is some > difference between them? Can you confirm, Matt?) The legacy GRUB is using "quit" https://www.gnu.org/software/grub/manual/legacy/grub.html#quit. I cannot find "exit" command from GRUB2 official documentation. It has been mentioned in here http://members.iinet.net/~herman546/p20/GRUB2%20CLI%20Mode%20Commands.html#exit Okay, so based on our testing this is CANTFIX for GRUB 0.97 ("efigrub") because quitting from GRUB doesn't actually boot the next entry, it returns to the firmware instead. The solution is to switch the systems to boot GRUB2 instead, which is now a tested and documented configuration as per bug 1087090. |