Hi
On Sat, 14 Mar 2020 22:23:41 +1100 Philip Rhoades wrote:
# cat /etc/default/grub
...
GRUB_CMDLINE_LINUX="resume=UUID=d98a1bbc-fdaf-484c-9dc9-2f5fd062077d"
...
GRUB_ENABLE_BLSCFG=true
With this, grub2-mkconfig will generate in /boot/grub2/grub.cfg (your
previous trace shows that your machine is not using EFI):
### BEGIN /etc/grub.d/10_linux ###
...
# The blscfg command parses the BootLoaderSpec files stored in
# /boot/loader/entries and populates the boot menu. Please refer to
# the Boot Loader Specification documentation for the files format:
#
https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/.
set default_kernelopts="root=UUID=XXX YYY"
insmod blscfg
blscfg
### END /etc/grub.d/10_linux ###
Where XXX is the UUID of the rppt filesystem, and YYY is deduced from
GRUB_CMDLINE_LINUX present in /etc/default/grub
Ex:
set default_kernelopts="root=UUID=509e4d95-a5f5-40e6-94e9-8bbff77f32cd
resume=/dev/disk/by-uuid/d16bbc09-698b-4e97-9aa0-c37328b36422 "
then, in my case, the /boot/loader/entries/* files only use the
default_kernelopts
Ex:
title Fedora (5.5.6-201.fc31.x86_64) 31 (Thirty One)
version 5.5.6-201.fc31.x86_64
linux /boot/vmlinuz-5.5.6-201.fc31.x86_64
initrd /boot/initramfs-5.5.6-201.fc31.x86_64.img
options $kernelopts
grub_users $grub_users
grub_arg --unrestricted
grub_class kernel
Check if those files differ from mine, ex: set options differently.
# [ -d /sys/firmware/efi/efivars ] && grub2-mkconfig -o
/boot/efi/EFI/fedora/grub.cfg || grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
grub2-probe: error: cannot find a GRUB drive for /dev/sdb1. Check
your device.map.
grub2-probe: error: cannot find a GRUB drive for /dev/sdb3. Check your device.map.
done
Have you checked /boot/grub2/device.map ?
--
francis