Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grub生成efi文件参数缺少fat模块 #4

Open
phorcys opened this issue Aug 13, 2021 · 1 comment
Open

grub生成efi文件参数缺少fat模块 #4

phorcys opened this issue Aug 13, 2021 · 1 comment

Comments

@phorcys
Copy link

phorcys commented Aug 13, 2021

${CROSS_TARGET}-grub-mkimage \
          --directory "${SYSDIR}/sysroot/usr/lib64/grub/loongarch64-efi" \
          --prefix '(,gpt2)/boot/grub' \
          --output "${SYSDIR}/sysroot/boot/efi/EFI/BOOT/BOOTLOONGARCH.EFI" \
          --format 'loongarch64-efi' \
          --compression 'auto' \
          'ext2' 'part_gpt'

只默认打入了 ext2 和part_gpt
没有efi分区的fat,会导致grub 启动以后无法载入efi分区(fat格式)的各个mod
进入rescue模式

@sunhaiyong1978
Copy link
Owner

fat是UEFI BIOS需要支持的,Grub支不支持无所谓,grub的模块放在ext2的boot分区中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants