亲测有效 ubuntu 21 sudo chmod 777 /boot/grub/grub.cfg sudo grub-mkconfig > /boot/grub/grub.cfg 在ubuntu终端输入上面两条命令,重启,OK。