Создание update-grub
sudo mkdir /opt/bin
sudo nano /opt/bin/update-grub
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
sudo chmod +x /opt/bin/update-grup
sudo mkdir /opt/bin
sudo nano /opt/bin/update-grub
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
sudo chmod +x /opt/bin/update-grup