首先,仅对UEFI有效
这个问题常出现在全新安装中,比如虚拟机
问题原因在于需要开启boot分区的“bootable flag”
开启方法:
- 挂载boot分区
- 使用“parted”工具,“set 1 boot on”
- 重新执行“grub-install”与“grub-mkconfig”
相关介绍:
- A boot flag is a 1-byte value in a non-extended partition record, within a master boot record. It appears at the beginning of a partition record, as the value 0x80. A value of 0x00 indicates the partition does not have the boot flag set.[1][2] Any other value is invalid.