有没有办法阻止Ubuntu覆盖引导程序?
这种情况发生在更新(我猜是)系统内核之后。我希望能够保留其他Linux发行版的引导程序,而不必每次特定的Ubuntu更新都手动更改它。
谢谢。
这种情况发生在更新(我猜是)系统内核之后。我希望能够保留其他Linux发行版的引导程序,而不必每次特定的Ubuntu更新都手动更改它。
谢谢。
sudo debconf-show grub-pc
sudo dpkg-reconfigure grub-pc
sudo dpkg-reconfigure grub-efi-amd64
http://ubuntuforums.org/showthread.php?t=2189643
你也可以只是改变安装 grub 到一个分区。我们建议不要安装到分区,因为它的效果不好,但如果真的使用另一个 grub 的副本来引导,那就不是问题。https://help.ubuntu.com/community/MaintenanceFreeCustomGrub2Screen
sudo dpkg-reconfigure grub-efi-amd64
+----------------------| 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> |
| ^^^^ |
+---------------------------------------------------------------------------+
grub*
,然后使用apt-mark hold grub*
命令防止其重新安装。 - Hendy