无忧启动论坛

 找回密码
 注册
搜索

已经解决!https://ipxe.org/err/420c6001

查看数: 807 | 评论数: 7 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2025-2-5 09:39

正文摘要:

本帖最后由 mygamexxx 于 2025-2-6 16:00 编辑 使用ipxe进行PXE网启,菜单正常出来,传输wimboot时出现错误:Error 0x420c6001 (https://ipxe.org/err/420c6001),如何解决?使用easyweb建立HTTP服务器,TINYPXE ...

回复

hilsonma 发表于 2025-2-5 22:52:02
本帖最后由 hilsonma 于 2025-2-6 13:11 编辑
mygamexxx 发表于 2025-2-5 14:28
使用葱大的IPXEFM进行测试,与IPXE版本问题无关,更换ipxe、wimboot版本均能正常启动。那就只剩下ipxe菜单 ...

没有看到错误,不过你可以尝试一下我的菜单:
  1. #!ipxe
  2.     isset ${ip} || dhcp
  3. :start
  4.     menu iPXE Boot Menu --${ip}
  5.     item --key 1 winpe   1.Boot WinPE 64 (wimboot)
  6.     item --key 2 local   2.Boot from local drive
  7.     item --key 3 config  3.Configure settings
  8.     item --key 4 shell   4.Drop to iPXE shell
  9.     item --key 5 reboot  5.Reboot computer
  10.     item --key 6 exit    6.Exit iPXE and continue BIOS boot
  11.     choose --timeout 10000 selected
  12.     goto ${selected}
  13. :shell
  14.     echo Type 'exit' to get the back to the menu
  15.     shell
  16.     goto start
  17. :reboot
  18.     reboot
  19. :exit
  20.     exit
  21. :config
  22.     config
  23.     goto start
  24. :winpe
  25.     set s_boot http://${next-server}/boot
  26.     iseq ${platform} efi && set wbm bootmgfw.efi || set wbm bootmgr.exe
  27.     initrd ${s_boot}/${wbm}    ${wbm}
  28.     initrd ${s_boot}/bcd       bcd
  29.     initrd ${s_boot}/boot.sdi  boot.sdi
  30.     initrd ${s_boot}/10pe.WIM  boot.wim
  31.     boot ${s_boot}/wimboot
  32. #从本地硬盘启动
  33. :local
  34.     sanboot --no-describe --drive 0x80
  35. :retry
  36.     imgfree
  37.     prompt Error! press any key to back menu
  38.     goto start
复制代码


要求:
1.使用附件的双启bcd
2.将bootwin.efi改名bootmgfw.efi
bcd.7z (1.28 KB, 下载次数: 6)

点评

hilsonma大,使用了你的bcd和菜单,现在启动到出BCD时不行,有什么解决办法吗?  详情 回复 发表于 2025-2-6 16:36
谢谢hilsonma大的指点,经过试验后,估计菜单是没问题,问题还是在服务器与客户端的通讯问题。葱大的ipxefm,使用tinypxe与HFS server作为服务器端,启动很顺利,看看过程,tinypxe只提供了tftp服务只传输启动文件如  详情 回复 发表于 2025-2-6 12:05
mygamexxx 发表于 2025-2-5 14:28:04
本帖最后由 mygamexxx 于 2025-2-5 14:37 编辑

使用葱大的IPXEFM进行测试,与IPXE版本问题无关,更换ipxe、wimboot版本均能正常启动。那就只剩下ipxe菜单问题了,请高手指出菜单错误处,葱大的IPXEFM菜单都是变量,看不懂,我的菜单如下:

#!ipxe
##https://boot.ipxe.org
   set menu-timeout 10000
   set menu-default win864
#   set menu-default local
   set xieyi:string http
   isset ${ip} || dhcp
  #isset ${next-server} || set next-server 192.168.3.3
:start

  menu iPXE Boot Menu --${ip}
  item --gap --             --------------------------------- PE --------------------------------
  
#  item win32B               BIOS Boot WinPE 32 (wimboot)
#  item win32U              UEFI Boot WinPE 32 (wimboot)
  item win64B               BIOS Boot WinPE 64 (wimboot)
  item win64U               UEFI Boot WinPE 64 (wimboot)
  item local                 Boot from local drive

  item --gap --             -------------------------------- TOOL --------------------------------

  item --gap --             ---------------------------- Advanced options -----------------------
  item --key c config       Configure settings                                   -- c
  item shell                Drop to iPXE shell
  item reboot               Reboot computer
  item --key x exit         Exit iPXE and continue BIOS boot                     -- x
  choose --timeout ${menu-timeout} --default ${menu-default} 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

#:win32B
#  kernel ${xieyi}://${next-server}/boot/wimboot || goto retry
#  initrd ${xieyi}://${next-server}/boot/bootmgr.exe       bootmgr.exe  || goto retry
#  initrd ${xieyi}://${next-server}/boot/bcdB      BCD  || goto retry
#  initrd ${xieyi}://${next-server}/boot/boot.sdi   boot.sdi  || goto retry
#  initrd ${xieyi}://${next-server}/boot/10pe.WIM   BOOT.WIM  || goto retry
#  boot || goto retry
#  goto start

#:win32U
#  kernel ${xieyi}://${next-server}/boot/wimboot || goto retry
#  initrd ${xieyi}://${next-server}/bootia32.efi       bootia32.efi  || goto retry
#  initrd ${xieyi}://${next-server}/boot/bcdU      BCD  || goto retry
#  initrd ${xieyi}://${next-server}/boot/boot.sdi   boot.sdi  || goto retry
#  initrd ${xieyi}://${next-server}/boot/10pe.WIM   BOOT.WIM  || goto retry
#  boot || goto retry
#  goto start

:win64B
  kernel ${xieyi}://${next-server}/boot/wimboot || goto retry
  initrd ${xieyi}://${next-server}/boot/bootmgr.exe       bootmgr.exe  || goto retry
  initrd ${xieyi}://${next-server}/boot/bcdbios       BCD  || goto retry
  initrd ${xieyi}://${next-server}/boot/boot.sdi   boot.sdi  || goto retry
  initrd ${xieyi}://${next-server}/boot/10pe.WIM   BOOT.WIM  || goto retry
  boot || goto retry
  goto start

:win64U
  kernel ${xieyi}://${next-server}/boot/wimboot || goto retry
  initrd ${xieyi}://${next-server}/boot/bootwin.efi       bootx64.efi  || goto retry
  initrd ${xieyi}://${next-server}/boot/bcduefi       BCD  || goto retry
  initrd ${xieyi}://${next-server}/boot/boot.sdi   boot.sdi  || goto retry
  initrd ${xieyi}://${next-server}/boot/10pe.WIM   BOOT.WIM  || goto retry
  boot || goto retry
  goto start

#从本地硬盘启动
: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  详情 回复 发表于 2025-2-5 22:52
hilsonma 发表于 2025-2-5 13:40:38
错误提示里给出了建议:使用最新版本的ipxe
孟仁飞 发表于 2025-2-5 11:27:48
6666

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-2-24 16:26

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表