无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 721|回复: 7
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1#
发表于 2025-2-5 09:39:25 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 mygamexxx 于 2025-2-6 16:00 编辑

使用ipxe进行PXE网启,菜单正常出来,传输wimboot时出现错误:Error 0x420c6001 (https://ipxe.org/err/420c6001),如何解决?使用easyweb建立HTTP服务器,TINYPXE关闭HTTP,只保留TFTP,IPXE的菜单分成两个文件,第一个菜单命名为autoexec.ipxe,调用第二个菜单启动PE。顺利实现HTTP的网启。同时感谢hilsonma大的BCD与bootwin.efi改名的建议。

微信截图_20250205094003.png (200.32 KB, 下载次数: 1)

微信截图_20250205094003.png
2#
发表于 2025-2-5 11:27:48 | 只看该作者
6666
回复

使用道具 举报

3#
发表于 2025-2-5 13:40:38 | 只看该作者
错误提示里给出了建议:使用最新版本的ipxe
回复

使用道具 举报

4#
 楼主| 发表于 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
回复

使用道具 举报

5#
发表于 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
回复

使用道具 举报

6#
 楼主| 发表于 2025-2-6 12:05:46 | 只看该作者
本帖最后由 mygamexxx 于 2025-2-6 12:26 编辑
hilsonma 发表于 2025-2-5 22:52
没有看到错误,不过你可以尝试一下我的菜单:

谢谢hilsonma大的指点,经过试验后,估计菜单是没问题,问题还是在服务器与客户端的通讯问题。葱大的ipxefm,使用tinypxe与HFS server作为服务器端,启动很顺利,看看过程,tinypxe只提供了tftp服务,只传输启动文件如ipxe.bios、ipxe.efi和菜单,后续的wimboot和其他启动文件如bootmgr.exe、bootmgfw.efi、BCD、mini.wim等,是通过HFS server的HTTP传输的。

微信截图_20250206122110.png (123.58 KB, 下载次数: 1)

微信截图_20250206122110.png

微信截图_20250206122030.png (275.28 KB, 下载次数: 0)

微信截图_20250206122030.png

微信截图_20250206122605.png (411.65 KB, 下载次数: 0)

微信截图_20250206122605.png
回复

使用道具 举报

7#
 楼主| 发表于 2025-2-6 16:36:32 | 只看该作者
本帖最后由 mygamexxx 于 2025-2-6 16:41 编辑
hilsonma 发表于 2025-2-5 22:52
没有看到错误,不过你可以尝试一下我的菜单:

hilsonma大,使用了你的bcd和菜单,现在启动到出BCD时不行,有什么解决办法吗?
#!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



微信截图_20250206163400.png (61.74 KB, 下载次数: 0)

微信截图_20250206163400.png

微信截图_20250206163955.png (104.49 KB, 下载次数: 1)

微信截图_20250206163955.png

点评

已经解决!原因是bcd中的设备文件boot.wim改为与上传的文件名一致10pe.wim,成功启动。  详情 回复 发表于 2025-2-7 12:32
回复

使用道具 举报

8#
 楼主| 发表于 2025-2-7 12:32:07 | 只看该作者
本帖最后由 mygamexxx 于 2025-2-7 12:34 编辑
mygamexxx 发表于 2025-2-6 16:36
hilsonma大,使用了你的bcd和菜单,现在启动到出BCD时不行,有什么解决办法吗?
#!ipxe
    isset ${ip ...

已经解决!原因是bcd中的设备文件boot.wim改为与上传的文件名一致10pe.wim,成功启动。

微信截图_20250207123256.png (101.17 KB, 下载次数: 0)

微信截图_20250207123256.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2025-2-20 05:16

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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