52

In Ubuntu we use below command to update grub :

# update-grub

But how do I update grub version 2.00 in Arch Linux ? `

  • normally grub is upgraded via pacman when there is an update. You must run pacman -Syu – mavillan Jan 31 '14 at 16:58
  • 1
    when grub is updated via pacman, automatically launch grub-mkconfig to properly configure the new grub version – mavillan Jan 31 '14 at 17:27
  • You should uninstall grub - youre only complicating things using it at all. – mikeserv Jan 25 '15 at 17:59
  • 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 '15 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 '15 at 1:43
69

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/

0

The real 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.