90

In Ubuntu, we use this command to update GRUB:

# update-grub

But how do I update GRUB version 2.00 in Arch Linux?

4 Answers4

138

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
2

You can install the same update-grub command on arch linux with this aur package: https://aur.archlinux.org/packages/update-grub/

1

One solution is for pacman to automatically update grub, which is accomplished by installing grub-hook from AUR.

https://aur.archlinux.org/packages/grub-hook/

Kevin
  • 428
0

There is also the graphical tool grub-customizer that automatically runs os-prober and lets you customize the GRUB prompt in many ways.