|
|
发表于 2025-2-5 22:52:02
|
显示全部楼层
本帖最后由 hilsonma 于 2025-2-6 13:11 编辑
没有看到错误,不过你可以尝试一下我的菜单:
- #!ipxe
- isset ${ip} || dhcp
- :start
- menu iPXE Boot Menu --${ip}
- item --key 1 winpe 1.Boot WinPE 64 (wimboot)
- item --key 2 local 2.Boot from local drive
- item --key 3 config 3.Configure settings
- item --key 4 shell 4.Drop to iPXE shell
- item --key 5 reboot 5.Reboot computer
- item --key 6 exit 6.Exit iPXE and continue BIOS boot
- choose --timeout 10000 selected
- goto ${selected}
- :shell
- echo Type 'exit' to get the back to the menu
- shell
- goto start
- :reboot
- reboot
- :exit
- exit
- :config
- config
- goto start
- :winpe
- set s_boot http://${next-server}/boot
- iseq ${platform} efi && set wbm bootmgfw.efi || set wbm bootmgr.exe
- initrd ${s_boot}/${wbm} ${wbm}
- initrd ${s_boot}/bcd bcd
- initrd ${s_boot}/boot.sdi boot.sdi
- initrd ${s_boot}/10pe.WIM boot.wim
- boot ${s_boot}/wimboot
- #从本地硬盘启动
- :local
- sanboot --no-describe --drive 0x80
- :retry
- imgfree
- prompt Error! press any key to back menu
- goto start
复制代码
要求:
1.使用附件的双启bcd
2.将bootwin.efi改名bootmgfw.efi
bcd.7z
(1.28 KB, 下载次数: 10)
|
|