In Ubuntu, we use this command to update GRUB:
# update-grub
But how do I update GRUB version 2.00 in Arch Linux?
The update-grub
command is just a script which runs the grub-mkconfig
tool to generate a grub.cfg file. See the Archlinux GRUB documentation. It refers to the following:
# grub-mkconfig -o /boot/grub/grub.cfg
You can install the same update-grub command on arch linux with this aur package: https://aur.archlinux.org/packages/update-grub/
One solution is for pacman to automatically update grub, which is accomplished by installing grub-hook
from AUR.
There is also the graphical tool grub-customizer that automatically runs os-prober
and lets you customize the GRUB prompt in many ways.
update-grub
or grub-mkconfig
and solved the same problem for me back then.
Mar 14, 2023 at 22:47
pacman -Syu
grub-mkconfig
to properly configure the new grub versiongrub
- youre only complicating things using it at all.