Answers:
Grub记得在哪里重新安装。
要查看grub2使用的驱动器,请参见以下行-grub-pc / install_devices,检查它现在是什么:
sudo debconf-show grub-pc
为了使grub2记住更新位置,grub-pc用于BIOS,grub-efi用于UEFI,如果取消选择所有内容,则以上命令应更改为空白,否则grub将不会重新安装。
sudo dpkg-reconfigure grub-pc
sudo dpkg-reconfigure grub-efi-amd64
通过第一页输入,空格键选择/取消选择驱动器,输入接受,不选择分区
http://ubuntuforums.org/showthread.php?t=2189643
您也可以更改以将grub安装到分区。我们建议不要安装到分区,因为它不能很好地工作,但是如果真的使用另一个grub副本进行引导,那不是真正的问题。
如何:创建免维护的自定义GRUB2屏幕。-Cavsfan
https://help.ubuntu.com/community/MaintenanceFreeCustomGrub2Screen
@oldfred的答案将我引向正确的答案:
sudo dpkg-reconfigure grub-efi-amd64
对于前两个问题,请接受现有值(只需按Enter键),但是在此问题上,请选择“否”:
+----------------------| Configuring grub-efi-amd64 |-----------------------+
| |
| GRUB can configure your platform's NVRAM variables so that it boots into |
| Debian automatically when powered on. However, you may prefer to disable |
| this behavior and avoid changes to your boot configuration. For example, |
| if your NVRAM variables have been set up such that your system contacts |
| a PXE server on every boot, this would preserve that behavior. |
| |
| Update NVRAM variables to automatically boot into Debian? |
| |
| <Yes> <No> |
| ^^^^ |
+---------------------------------------------------------------------------+