wahaha@ 发表于 2014-9-24 16:49:14

关于在 EFI 下 IPXE.EFI 网络 boot Winpe 的问题

小弟我现在在做一个项目,就是需要在 EFI环境下运行 IPXE.EFI, 然后通过 IPXE 的命令网络 boot 进入 WINPE.

现在的进展是
A,直接运行 IPXE.ISO 通过光驱启动,在 legacy 的环境下,可以通过 IPXE 的命令网络 boot 进入 WINPE。
B,先进入 EFI 命令行,再运行 ipxe.efi, 然后在 ipxe.efi 环境下运行命令,能联通网络,到呢个 kernel, intird 东东,但是在 boot 以后就是黑屏。

请高手指教,脚本如下。

#!ipxe
cpuid --ext 29 && set arch amd64 || set arch x86
set arch amd64
kernel http://192.168.1.3/winpe/wimboot
initrd http://192.168.1.3/winpe/amd64/media/bootmgr               bootmgr
initrd http://192.168.1.3/winpe/amd64/media/Boot/BCD                     BCD
initrd http://192.168.1.3/winpe/amd64/media/Boot/boot.sdi                boot.sdi
initrd http://192.168.1.3/winpe/winpe.wim             boot.wim
imgstat
boot

wahaha@ 发表于 2014-9-24 17:04:37

黑屏幕的界面:

Windows Boot Manager

Windows failed to start. A recent hardware or software change might be the cuase.
To fix the problem:

1, Insert your windows installation disc and restart your computer.
2, Choose your language settings, and then click "Next".
3, Click "Repair your computer".

......................................
status: 0xc000000f
info: A required device isn't connected or can't be accessed.

ljycslg 发表于 2014-9-25 11:33:37

本帖最后由 ljycslg 于 2014-9-25 11:37 编辑

看上去像是用的ADK中的原版PE
去掉 initrd http://192.168.1.3/winpe/amd64/media/bootmgr    bootmgr 这句,wimboot会自动从wim中提取启动文件
winpe.wim改名boot.wim
initrd http://192.168.1.3/winpe/winpe.wim   boot.wim    改成initrd http://192.168.1.3/winpe/boot.wim      boot.wim
wimboot用最新版

我是神仙 发表于 2014-9-25 15:07:03

脚本中有两个问题

initrd http://192.168.1.3/winpe/amd64/media/bootmgr               bootmgr
EFI环境启动PE用不着boogmgr.需要的是bootx64.efi


initrd http://192.168.1.3/winpe/winpe.wim             boot.wim
文件改名的语法不对 就是这样 initrd --name boot.wim http://192.168.1.3/winpe/winpe.wim

我是神仙 发表于 2014-9-25 15:07:58

ljycslg 发表于 2014-9-25 11:33
看上去像是用的ADK中的原版PE
去掉 initrd http://192.168.1.3/winpe/amd64/media/bootmgr    bootmgr 这 ...

应用--name语法
页: [1]
查看完整版本: 关于在 EFI 下 IPXE.EFI 网络 boot Winpe 的问题