Password: <--- Enter the root user's password here, not your password.
# grub2-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
Heratiki wrote: The only problem is there is no update-grub command? Why is that?!?!
The update-grub command runs a script called /usr/sbin/update-grub, which just runs another script called /usr/sbin/grub-mkconfig, see grub-mkconfig, (the next item, below).
Here's what /usr/sbin/update-grub looks like,
- Code: Select all
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
See? All it does is run grub-mkconfig with the standard option.
The only reason this command still exists is because it's easy for new users to remember and it's simple. I think running a command that doesn't have any options is boring. My advice is to skip this command and start getting used to using the grub-mkconfig command instead. It's not a big step and only requires a wee bit more intelligence, you can do it if you try!
Users browsing this forum: No registered users and 2 guests