The update-grub command runs a script known /usr/sbin/update-grub, which just runs another script known /usr/sbin/grub-mkconfig, observe grub-mkconfig.
Here is what /usr/sbin/update-grub looks like,
Code:
Code:
#!/bin/sh -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
See? The entire it does is run grub-mkconfig with the standard choice.
The simply cause this command still exist is since it is simple for new users to keep in mind as well as it is easy. I believe running a command that does not have any options is boring. My suggestion is to skip this command as well as start getting utilized to utilizing the grub-mkconfig command instead. It is not a big step as well as simply need a wee bit more intelligence; you are able to perform it if you attempt!
Bookmarks