Add a warning for outdated grub.cfg file

This commit is contained in:
parulin 2025-09-30 09:00:45 -04:00
parent 33534cb286
commit 1f7bb7961d
No known key found for this signature in database
GPG key ID: 65099A5B0E31336C

View file

@ -148,3 +148,25 @@ Accessing installer Rescue mode on UEFI
---------------------------------------
Choose “Rescue a Qubes OS system” from grub2 boot menu.
Updating GRUB options doesn't work
----------------------------------
If you upgraded from Qubes OS R4.0 or followed outdated instructions, you might have a wrong `grub.cfg` file.
The content of :file:`/boot/efi/EFI/qubes/grub.cfg` should be something like:
.. code:: bash
search --no-floppy --fs-uuid --set=dev xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
set prefix=($dev)/grub2
export $prefix
configfile $prefix/grub.cfg
Where the end of the first line is replaced by a UUID. If not, you can reinstall this file:
.. code:: console
sudo qubes-dom0-update --action=reinstall grub2-common
After that, running the `grub2-mkconfig` command should work.