I'm getting this on a clean Rawhide UEFI install, which includes
grub2-2.02-0.6.fc21.x86_64.
[root@localhost ~]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-0.rc3.git2.1.fc21.x86_64
Found initrd image: /boot/initramfs-3.16.0-0.rc3.git2.1.fc21.x86_64.img
Warning: Please don't use old title `Fedora, with Linux
3.16.0-0.rc3.git2.1.fc21.x86_64' for GRUB_DEFAULT, use `Advanced options for
Fedora>Fedora, with Linux 3.16.0-0.rc3.git2.1.fc21.x86_64' (for versions before
2.00) or
`gnulinux-advanced-8ce3b43e-f2c5-4ed4-b517-7315a6fd4f36>gnulinux-3.16.0-0.rc3.git2.1.fc21.x86_64-advanced-8ce3b43e-f2c5-4ed4-b517-7315a6fd4f36'
(for 2.00 or later)
Found linux image: /boot/vmlinuz-3.16.0-0.rc3.git0.1.fc21.x86_64
Found initrd image: /boot/initramfs-3.16.0-0.rc3.git0.1.fc21.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-872eef4df64c4d63a471724d4b0b4584
Found initrd image: /boot/initramfs-0-rescue-872eef4df64c4d63a471724d4b0b4584.img
done
[root@localhost ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root elevator=deadline
enforcing=0"
GRUB_DISABLE_RECOVERY="true"
Is this a grubenv problem? The grub default is saved, not specified, in /etc/default/grub,
so I'm not sure where else grub2-mkconfig might be picking this up. Is it possible the
recent change to the default is causing this?
Since this is UEFI, grub2-install isn't called, so what's creating grubenv? Is
grubby creating/modifying grubenv?
# dnf provides grubenv
Error: No Matches found
[root@localhost grub2]# grub2-editenv list
saved_entry=Fedora, with Linux 3.16.0-0.rc3.git2.1.fc21.x86_64
Looks like the grub.cfg tells grubx64.efi to save this out to grubenv at boot time. Hmmm…
the warning doesn't seem right even though everything works as I'd expect.
Chris Murphy
Show replies by date