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 if
clauses 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
if
clauses) but I think it should work in your case.
The patch is actually attached this time.
Michael Young
Having a bit of a look here....
My test system grubenv file has:
# GRUB Environment Block
saved_entry=0
kernelopts=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
? net...@crc.id.au ? http://www.crc.id.au
? +61 (3) 9001 6090 ? 0412 935 897
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel