CD의 el torito에서 부팅할 때 grub2가 커널 옵션을 무시하는 이유는 무엇입니까?

CD의 el torito에서 부팅할 때 grub2가 커널 옵션을 무시하는 이유는 무엇입니까?

수동으로 생성된 간단한 파일이 있는데 grub.cfg, 이 파일을 에 로드한 grub-mkimage다음 iso9660 iso의 el torito 이미지로 빌드합니다.

실제로 모든 것이 부팅되지만 커널 옵션은 완전히 무시됩니다.

나의 grub.cfg:

set default=0
set timeout=10

set gfxmode=auto
insmod efi_gop
insmod efi_uda

menuentry "MyOS" {
    search.fs_label SOMELABEL root
    set gfxpayload=keep
    linux /boot/vmlinuz quiet
    initrd /boot/initrd
}

위의 내용은 grub 부팅 메뉴의 단일 항목을 보여줍니다. 이를 편집하면 e올바른 구성이 표시됩니다. 그러나 그것은 확실히 quiet커널로 전달되지 않습니다 .

이미지:

grub-mkimage -O x86_64-efi -o EFI/BOOT/BOOTX64.EFI --config=boot/grub/grub.cfg --compression=xz disk part_msdos part_gpt linux loopback normal configfile search search_label true iso9660 efi_uga efi_gop gfxterm gfxmenu gfxterm_menu fat ls cat tar

EFI 부팅은 다음과 같습니다.

dd if=/dev/zero of=efiboot.img bs=4k count=1000
mkfs.vfat efiboot.img
mount efiboot.img /mnt
cp -r EFI/ /mnt
unmount /mnt

그리고 iso(MBR 라인 무시):

xorriso -as mkisofs -l -J -R -V SOMELABEL \
  -no-emul-boot -boot-load-size 4 -boot-info-table \
  -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
  -ishybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \
  -eltorito-alt-boot -e efiboot.img -no-emul-boot -isohybrid-gpt-basdat \
  -o some_output.iso .

위의 모든 내용을 요약하면 다음과 같습니다.https://gist.github.com/deitch/260bb94ecf7932cb83bdf7024099fdb5

편집: 예, grub 쉘에 들어가서 c수동으로 속성을 입력해 보았습니다. 불운.

관련 정보