Arch 安装后Grub无法引导的解决方法

首先,仅对UEFI有效

这个问题常出现在全新安装中,比如虚拟机

问题原因在于需要开启boot分区的“bootable flag”

开启方法:

  1. 挂载boot分区
  2. 使用“parted”工具,“set 1 boot on”
  3. 重新执行“grub-install”与“grub-mkconfig”

相关介绍:

  1. 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.

猜你喜欢

转载自blog.csdn.net/ytingone/article/details/82819429
今日推荐