我正在尝试在 VMware 中安装 Arch Linux,但 GRUB 出现问题:
在:
grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot
出去:
Installing for x86_64-efi platform
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
在:
grub-install --target=i386-pc /dev/sda
出去:
Installing for i386-pc platform
grub-install: warning: this GPT partition label contains no BIOS Boot Partitionl; embedding won't be possible.
grub-install: warning: Embedding os not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and theur use is discouraged..
grub-install: error: will not proceed with blocklists.
还有其他方法安装GRUB吗?或者我做错了什么?
答案1
要使用 BIOS 模式在 GUID 分区表上安装 grub,您需要创建一个 BIOS_boot 分区。
在 BIOS/GPT 配置上,BIOS启动分区是必须的。 GRUB 将其 core.img 嵌入到该分区中。
只有 BIOS/GPT 设置上的 GRUB 才需要 BIOS 引导分区