┌───────────────────────────┤ Configuring grub-pc ├─────────────────────── │ The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It is important to make sure that the installed GRUB core image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is written to the appropriate boot devices. │ │ │ If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all of them. │ │ │ Note: it is possible to install GRUB to partition boot records as well, and some appropriate partitions are offered here. However, this forces GRUB to use the blocklist mechanism, which makes it less reliable, and therefore is │ │ not recommended. │ │ │ GRUB install devices: │ │ │ [ ] /dev/vda (21474 MB; ???) │ │ [ ] /dev/vdb (53687 MB; ???) │ │ [ ] /dev/vda1 (21472 MB; ???) ---------------------------------------------------
如果不安装,则提示如下:
-------------------------------------------------- You chose not to install GRUB to any devices. If you continue, the boot loader may not be properly configured, and when this computer next starts up it will use whatever was previously in the boot sector. If there is an earlier │ │ version of GRUB 2 in the boot sector, it may be unable to load modules or handle the current configuration file. │ │ If you are already using a different boot loader and want to carry on doing so, or if this is a special environment where you do not need a boot loader, then you should continue anyway. Otherwise, you should install GRUB │ │ somewhere. │ │ Continue without installing GRUB?