gpt4 book ai didi

linux - 向 Grub2 添加命令

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:30:46 28 4
gpt4 key购买 nike

所以我尝试通过应用以下补丁向 Grub2 添加“apple_set_os”命令:

http://lists.gnu.org/archive/html/grub-devel/2013-12/msg00442.html

Grub 编译正常,“applesetos.model”和“applesetos.mod”文件出现在/usr/lib/grub/x86_64-efi/中。但是 grub2 说找不到这个命令。是否有额外的步骤向 Grub 添加命令?

最佳答案

显然我缺少我需要在 apple_set_os 之前包含的“insmod applesetos”命令。另外,我需要将 .mod 文件放在“/EFI/fedora/x86_64-efi”(对于我的系统)路径中。 – 用户 2602914

关于linux - 向 Grub2 添加命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27673657/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com