我现在用的是archlinux 安装时是用archinstall安装的
现在想要尝试一下手动安装arch,卡在了安装grub这上面
一开始我使用grub-install --root-directory=/boot,得到install device is notspecified
后来按照https://wiki.archlinuxcn.org/wiki/GRUB? … irect%3Dno
说的使用了:grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB
得到:grub-install: error: efibootmgr: not found.
接下来看了https://bbs.archlinux.org/viewtopic.php?id=207354,用pacman重装了efibootmgr
重新运行grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB
得到:两行EFI variables are not supported on this system以及grub-install:error:efibootmgr failed to register the boot entry:No such file or directory
有没有大佬帮我看看怎么解决?
最近编辑记录 DHY (2025-01-09 11:26:01)
离线
你是 MBR 引导的吧,所以没有 UEFI 变量。bootctl 应该可以看到。
离线
谢谢,有时间我再试试
离线
说起来,我在安装最开始按照安装指南上说的用cat验证uefi位数时,提示找不到文件,会不会也是因为这个
离线
会啊。去 BIOS Setup 里改一下引导模式吧。
离线