|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] read grubenv and set default from saved_entry or next_entry
On 2019-08-15 09:56, YOUNG, MICHAEL A. wrote: On Thu, 15 Aug 2019, Michael Young wrote:This patch may help your issue with the default kernel setting on Fedora 30 as it uses the setting of saved_entry or next_entry from the grubenv file to choose the default kernel which should override any setting picked up from ifclauses in the grub.cfg file.I have only done limited and somewhat imperfect testing on it and isn't a proper fix (which would use grubenv settings based on what is in the ifclauses) but I think it should work in your case. Having a bit of a look here.... My test system grubenv file has: # GRUB Environment Block saved_entry=0kernelopts=root=UUID=5346b4d9-885f-4673-8aff-04a16bf1971a ro rootflags=subvol=root selinux=0 rhgb quiet
boot_success=1
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
The grub-set-default man page states:
SYNOPSIS
grub-set-default [--boot-directory=DIR] MENU_ENTRY
MENU_ENTRY
A number, a menu item title or a menu item identifier.
Do I have to use a name for the title to match?
I notice I still have the second option selected with saved_entry=0
--
Steven Haigh
? netwiz@xxxxxxxxx ? http://www.crc.id.au
? +61 (3) 9001 6090 ? 0412 935 897
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |