sudo: grub2-mkconfig: command not found
Use sudo grub-mkconfig
instead.
The difference between grub-mkconfig
and grub2-mkconfig
is explained here.
Even though GRUB 2 is installed on your computer, the grub2-mkconfig command may not be available in your favorite Linux distribution. But the grub-mkconfig command may be available in your Linux distribution. There is no difference between grub-mkconfig and grub2-mkconfig if GRUB 2 is installed.
Note that, if you have GRUB legacy installed, then grub-mkconfig and grub2-mkconfig commands will not be the same.
Related videos on Youtube
stripeyare
Updated on September 18, 2022Comments
-
stripeyare over 1 year
When I try perform the command "sudo grub2-mkconfig -o /etc/grub2-efi.cfg", I get an error message stating "sudo: grub2-mkconfig: command not found". I am trying to perform single GPU passthrough by following this guide: https://youtu.be/3BxAaaRDEEw?t=354
-
Admin over 3 yearsTry using sudo grub-mkconfig instead
-
Admin over 3 yearsThat seemed to have worked! Thank you!
-
Admin over 2 years@stripeyare please give Bernard an opportunity to update his answer and then mark it as solved.
-