无忧启动论坛

 找回密码
 注册
搜索

IPXE X64.WIM失败

查看数: 3922 | 评论数: 11 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2020-11-25 16:13

正文摘要:

如题:IPXE X64.WIM失败 用easybcd加载X64.wim成功,IPXE X86.WIM可以,IPXE X64.PE提示这个,是什么原因呢?

回复

2012huguoliang 发表于 2020-11-27 10:22:14
2012huguoliang 发表于 2020-11-26 18:03
我现在偷懒:
我直接在实体机创建VHD,然后将系统灌装进去,分离出VHD,然后在ISCSI里挂载IQN,再IPXE引 ...

:install(iscsi)
set keep-san 1
sanhook iscsi:${next-server}::::iqn.1991-05.com.microsoft:target1
initrd http://${next-server}/imgs/Win8PEx64.iso
chain http://${next-server}/pxe/memdisk iso raw

这样竟然可以,initrd加载ISO可以,但sanboot加载不行(单独不sanhook iscsi:iqn可以sanboot加载iso)。
2012huguoliang 发表于 2020-11-27 10:21:14
2012huguoliang 发表于 2020-11-26 18:03
我现在偷懒:
我直接在实体机创建VHD,然后将系统灌装进去,分离出VHD,然后在ISCSI里挂载IQN,再IPXE引 ...

:install(iscsi)
set keep-san 1
sanhook iscsi:${next-server}::::iqn.1991-05.com.microsoft:target1
initrd http://${next-server}/imgs/Win8PEx64.iso
chain http://${next-server}/pxe/memdisk iso raw

这样竟然可以,initrd加载ISO可以,但sanboot加载不行(单独不sanhook iscsi:iqn可以sanboot加载iso)。
江南一根葱 发表于 2020-11-26 15:48:04
2012huguoliang 发表于 2020-11-26 15:31
是的 所以我转其他模板 可以用 懒得折腾了  

老大,请教下,我现在用tiny pxeserver可以,到时转到路 ...

下载取指定菜单的ipxe文件比较方便,不换应该也可以的,dnsmasq里自己也可以配置
2012huguoliang 发表于 2020-11-26 15:31:35
江南一根葱 发表于 2020-11-26 15:00
我觉得没什么好研究的,直接网启版参考我启wim的脚本就行了。而且这菜单和图不符

是的 所以我转其他模板 可以用 懒得折腾了  

老大,请教下,我现在用tiny pxeserver可以,到时转到路由PXE启动(最终还是想做在路由上),引导文件跟引导菜单是不是要变。

点评

下载取指定菜单的ipxe文件比较方便,不换应该也可以的,dnsmasq里自己也可以配置  详情 回复 发表于 2020-11-26 15:48
江南一根葱 发表于 2020-11-26 15:00:37
我觉得没什么好研究的,直接网启版参考我启wim的脚本就行了。而且这菜单和图不符

点评

是的 所以我转其他模板 可以用 懒得折腾了 老大,请教下,我现在用tiny pxeserver可以,到时转到路由PXE启动(最终还是想做在路由上),引导文件跟引导菜单是不是要变。  详情 回复 发表于 2020-11-26 15:31
2012huguoliang 发表于 2020-11-26 13:04:36
captain_g 发表于 2020-11-26 11:37
“现在是WIM的都这个提示”,啥意思?是否是32和64位的WIM都这样?

看帖子标题、#1的描述,好像只是64位 ...

2个都提示这个
captain_g 发表于 2020-11-26 11:37:39
“现在是WIM的都这个提示”,啥意思?是否是32和64位的WIM都这样?

看帖子标题、#1的描述,好像只是64位WIM遇到这个问题!

看菜单配置,里面用了这句:initrd http://${next-server}/wimboot/bootmgr bootmgr;

那个位置有没有放上bootmgr这个文件?应该放一个;

万一没有放,则WIM文件内部必须有这个文件:\Windows\Boot\PXE\bootmgr.exe;

wimboot会从bootmgr.exe提取bootmgr来用;

点评

2个都提示这个  详情 回复 发表于 2020-11-26 13:04
2012huguoliang 发表于 2020-11-26 10:33:56
caocaofff 发表于 2020-11-25 16:42
把你的菜单贴出来看看,怎么感觉是在解压linux的initrd文件系统?

#!ipxe
#下面这个3000是菜单等待时间代表3秒,
   set menu-timeout 3000
   set menu-default WINDOWS
   isset ${ip} || dhcp
set initiator-iqn iqn.${product}:${mac:hexhyp}
#set gateway ${next-server}

:start
  menu iPXE Boot Menu
  item --gap --             --------------------------------- WIN --------------------------------
  item WINDOWS                 BOOT WINDOWS(ISCSI)
  item maxdos                  MaxDos
  item win8x32                 win8x32
  item win8x64                 win8x64
  item isope                   win8x64iso
  item --gap --             ---------------------------- Advanced options ------------------------
  item --key p pe              PE system                                                     -- p
  item --key s shell           shell                                                         -- s
  item --key r reboot          reboot computer                                               -- r
  item --key x exit            Exit iPXE and continue BIOS boot                              -- x
  item --gap --  
  item --gap --             ------------------------------- systeminfo ---------------------------
  item --gap --             DHCP Server: ${dhcp-server}
  item --gap --             IP: ${ip}
  item --gap --             MAC: ${mac}
  item --gap --             netmask: ${netmask}
  item --gap --             Gateway: ${gateway}
  item --gap --             DNS: ${dns}
  item --gap --             UUID: ${uuid}
  item --gap --             initiator-iqn: ${initiator-iqn}
  choose --timeout ${menu-timeout} --default ${menu-default} selected
  goto ${selected}

:reboot
  reboot

:exit
  exit

:shell
  shell
goto start


:WINDOWS
  chain /mac/${mac:hexhyp} || goto install
  
:maxdos
kernel http://${next-server}/boot/memdisk
initrd http://${next-server}/boot/maxdos9.img
boot

:win8x32
kernel http://${next-server}/wimboot/wimboot
initrd http://${next-server}/wimboot/bootmgr bootmgr
initrd http://${next-server}/wimboot/BCD bcd
initrd http://${next-server}/wimboot/boot.sdi boot.sdi
initrd http://${next-server}/boot/WEPE86.wim || goto retry
boot || goto failed
goto start

:win8x64
kernel http://${next-server}/boot/wimboot  || goto retry
initrd http://${next-server}/boot/bootmgr  bootmgr || goto retry
initrd http://${next-server}/boot/bcd      BCD  || goto retry
initrd http://${next-server}/boot.sdi boot.sdi  || goto retry
initrd http://${next-server}/boot/WEPE64.wim || goto retry
boot || goto failed
goto start

:isope
initrd http://${next-server}/Win8PEx64.iso || goto failed
chain http://${next-server}/boot/memdisk raw iso

:pe
sanboot --no-describe --keep http://${next-server}/Win8PEx64.iso || goto failed
goto start

:menu
goto start

:install
  echo -n ISCSI iqn: && read iqn
  prompt --key y  Press 'y' to seting iqn username and password,any key Skip. || goto installmenu
  echo -n username: && read username
  echo -n password: && read password
  goto installmenu

:installmenu
  set menu-timeout 10000
  menu install Menu
  item --gap --             --------------------------- INSTALL TO ISCSI --------------------------
  item boot(iscsi)              BOOT form ISCSI
  item install(iscsi)           Install windows to ISCSI
  item install(PE)              Alternnate install mode(PE)
  item menu                     back Menu
  choose --timeout ${menu-timeout} selected
  goto ${selected}

:boot(iscsi)
  sanboot iscsi:${next-server}::::${iqn}


:install(iscsi)
  sanhook iscsi:${next-server}::::${iqn}
  exit


:install(PE)
  sanhook iscsi:${next-server}::::${iqn}
  initrd http://${next-server}/Win8PEx64.iso
  chain http://${next-server}/memdisk iso raw


现在是WIM的都这个提示。
caocaofff 发表于 2020-11-25 16:42:35
把你的菜单贴出来看看,怎么感觉是在解压linux的initrd文件系统?

点评

#!ipxe #下面这个3000是菜单等待时间代表3秒, set menu-timeout 3000 set menu-default WINDOWS isset ${ip} || dhcp set initiator-iqn iqn.${product}:${mac:hexhyp} #set gateway ${next-server}  详情 回复 发表于 2020-11-26 10:33
2012huguoliang 发表于 2020-11-25 16:36:53
内存设为4G都不行 应该不是内存原因

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

闽公网安备 35020302032614号

GMT+8, 2024-9-28 17:23

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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