using Rocky Linux 9
I modified the grub boot line with an extra kernel parameter, update grub
sudo grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg
After reboot, i can see the boot line modification persisted. check. since then, I have had a BIOS update to address the root cause of the workaround I had with the kernel boot line modification above.
So now I am trying to undo the kernel boot line just like before:
sudo vi /etc/defaults/grub
save & exit
sudo grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg
however, this now fails with:
Generating grub configuration file...
Device file sys_uuid naa.long-string-of-alpha-numerics PVID <UUID-that-matches-root-partition-UUID-output-from-lsblk-f> last seen on /dev/sda not found
Adding boot menu entry for UEFI Firmware settings ...
done
On reboot, the GRUB kernel boot line was not updated with my change. I’m sure it has something to do with this ‘Device file’ message but it doesn’t look to be erroring out…
anyone?