meoit 发表于 2020-5-18 06:15:26

The wimboot.mod not work when the wim file is not in the boot partition

本帖最后由 meoit 于 2020-5-18 06:28 编辑

Hi guys,

Hi @WinToFlash / @a1ive

I installed NTBOOT to my HDD. My HDD have two partitions.The first partition for boot (FAT32), the second for data wim files (NTFS. I put wim file in here /WIM/winpe.wim).

In uEFI mode, the wimboot.mod module not work.

This is my menuentry:

Current, the second partition for data wim is (hd0,msdos5)

menuentry "WinPE WIM in uEFI mode" {
      saved_root=$root
      set root=(hd0,msdos5)
      wimboot @:boot.wim:"${root}/WIM/winpe.wim" \
                        @:bcd:(${saved_root})/boot/wimboot/bcd \
                        @:boot.sdi:(${saved_root})/boot/wimboot/boot.sdi \
                        @:bootmgfw.efi:(${saved_root})/boot/wimboot/bootmgfw.efi
      set root=$saved_root
}
It is show error:

STATUS: 0x00000f
Infor: An unexpected error has occured.

Why error ?.

(If in the LEGACY mode, linux16 "(${saved_root})/boot/wimboot/wimboot"
initrd16 newc..........,
working fine !
)

Thank you.

liuzhaoyzz 发表于 2020-5-18 17:19:25

本帖最后由 liuzhaoyzz 于 2020-5-18 17:32 编辑

STATUS: 0x00000f
Infor: An unexpected error has occured.

That's because boot.sdi file isn't in the right directory,where BCD file referes to.
I upload the wimboot files:bootmgfw.efi+bcd+boot.sdi. I forget where it comes from,maybe from windows10.iso.Put those files into ${saved_root})/boot/wimboot/,(hd0,msdos5)
It is not recommand to use wimboot to boot pe.wim,I prefer NTBOOT,which is about 15 seconds faster then wimboot.mod.

meoit 发表于 2020-5-18 17:59:17

liuzhaoyzz 发表于 2020-5-18 17:19
STATUS: 0x00000f
Infor: An unexpected error has occured.



Thank liuzhaoyzz.

I am try again.
页: [1]
查看完整版本: The wimboot.mod not work when the wim file is not in the boot partition