无忧启动论坛

标题: The wimboot.mod not work when the wim file is not in the boot partition [打印本页]

作者: meoit    时间: 2020-5-18 06:15
标题: 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
本帖最后由 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.

wimboot_bootfiles.rar

670.86 KB, 下载次数: 10, 下载积分: 无忧币 -2


作者: meoit    时间: 2020-5-18 17:59
liuzhaoyzz 发表于 2020-5-18 17:19
STATUS: 0x00000f
Infor: An unexpected error has occured.

Thank liuzhaoyzz.

I am try again.




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3