how to update grub in arch code example Example: update grub archlinux grub-mkconfig -o /boot/grub/grub.cfg