90

In Ubuntu, we use this command to update GRUB:

# update-grub

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

5
  • normally grub is upgraded via pacman when there is an update. You must run pacman -Syu
    – mavillan
    Jan 31, 2014 at 16:58
  • 1
    when grub is updated via pacman, automatically launch grub-mkconfig to properly configure the new grub version
    – mavillan
    Jan 31, 2014 at 17:27
  • You should uninstall grub - youre only complicating things using it at all.
    – mikeserv
    Jan 25, 2015 at 17:59
  • 2
    Grub is the only thing I've ever used for dual boot setups. Care to offer a less complicated alternative @mikeserv? I've looked at syslinux but never could get it to do what I wanted. It was too complicated.
    – Kenny
    Dec 8, 2015 at 1:32
  • 1
    Is GRUB the best bootloading solution? Is there an easier alternative? - if you go through with it, i'm willing to bet you'll be happier for it. This walks-through an installation in detail, though the use-case is pretty targeted there. The best place to learn is at rodsbooks.com - but the first link will take you there.
    – mikeserv
    Dec 8, 2015 at 1:43

4 Answers 4

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
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/

0

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

2
  • How does that answer the question? Mar 8, 2023 at 19:07
  • IIRC it was more convenient to use than update-grub or grub-mkconfig and solved the same problem for me back then. Mar 14, 2023 at 22:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .