★Linux★리눅스★/Linux★명령어★Ubuntu★command
sudo update-grub
내인생PLUS
2023. 7. 13. 20:57
728x90
https://askubuntu.com/questions/418666/update-grub-command-not-found
he update-grub command was created to make things easier - it is simply a shell script in /usr/sbin/:
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
If it is not there, you can make your own. To do that, run this, and paste in the above script:
sudo nano /usr/sbin/update-grub
Save with Ctrl+O, and exit with Ctrl+X.
Then run these:
sudo chown root:root /usr/sbin/update-grub
sudo chmod 755 /usr/sbin/update-grub
And you should now be able to run update-grub. :-)
반응형