Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: How to update-grub (Read 183 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to update-grub

Hello.   New Artix user here.  I installed Artix artix-lxqt-openrc-20181008-x86_64.iso, upgraded, and manually installed kde starting with  plasma-desktop package.  All is well with my system.

I need to modify the grub config file at /etc/default/grub.  I have made my changes, but cant figure out how to update grub.  What I normally do is  enter update-grub and this will use the grub conf file to update /boot/grub/grub.cfg.  But there is no update-grub on my system.

Grub is at version 2:2.04-1:
Code: [Select]

[[email protected] ~]$ pacman -Q grub
grub 2:2.04-1



No update-grub:
Code: [Select]
[[email protected] ~]$ sudo whereis grub
[sudo] password for dxrobertson:
grub: /usr/lib/grub /etc/grub.d /usr/share/grub /usr/share/info/grub.info.gz
[[email protected] ~]$ sudo whereis update-grub
update-grub:
[[email protected] ~]$



Am I missing update-grub, or does Artix use a different method to update?

Thanks in advance.


Re: How to update-grub

Reply #1
I have seen guides on internet that uses this command set for grub update
Try this
Code: [Select]
# pacman -S grub os-prober
# grub-install --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
artix runit xfce4
I am vegeterian ^.^

May all beings have happiness and the causes of happiness;
May all beings be free from suffering and the causes of suffering;

Re: How to update-grub

Reply #2
Thanks @cynicfm!

I recall using grub-mkconfig in the past but had forgotten about it.  All I needed was to run grub-mkconfig, didn t need grub-install.


Code: [Select]

grub-mkconfig -o /boot/grub/grub.cfg


Re: How to update-grub

Reply #3
So you managed to update grub??/ If yes i am glad and very happy that i was able to help you with your concern :))) Thanks :)))))
artix runit xfce4
I am vegeterian ^.^

May all beings have happiness and the causes of happiness;
May all beings be free from suffering and the causes of suffering;

Re: How to update-grub

Reply #4
BTW: Since I always had trouble because of the missing auto scan function in GRUB2 (e.g. after updating a kernel or replacing the root filesystem), I replaced it tonight with rEFInd. For now, everything works fine.
Code: [Select]
ARTIX >> REFIND + GRUB2 + NILFS2 + RUNIT + FIZSH + CONNMAN + SDDM + LXQT >> running on a mintbox mini 2 pro

Re: How to update-grub

Reply #5


So you managed to update grub??/ If yes i am glad and very happy that i was able to help you with your concern :))) Thanks :)))))

Yes, grub update success; thanks again!


To clarify and help others coming from  other distros that may encounter lack of update-grub in Artix:

If you are used to entering:

Code: [Select]
update-grub

Enter this instead:

Code: [Select]
grub-mkconfig -o /boot/grub/grub.cfg