ipxe(可选):winboot:网络引导(启动)wim格式的windows PE系统:配置文件写法

ipxe 无盘【网络】引导wim格式的pe系统

wimboot引导程序需要为其提供4个内核参数

  • bcd
  • bootmgr
  • boot.sdi
  • boot.wim

所需文件附件

以下是我的可用的ipxe的配置,带有menu功能,供参考:

#!ipxe

:menus
imgfree
menu Please choose an operating system to boot
item --gap +---------------
item pe1 win7
item pe2 xiaoMa 2013
item --gap +---------------
item pe3 dabaicai 5.2
item --gap +---------------
item pe4 pe4
item --gap +---------------
item exit exit
item --gap +---------------

#choose --default exit --timeout 300000 os && goto ${os}
#choose  os && goto ${os} || goto menus
choose  os && goto ${os}

:pe1
kernel wimboot
imgfree
initrd bcd                  bcd
initrd boot.sdi             boot.sdi
initrd bootmgr              bootmgr
initrd PE1.wim              boot.wim
boot

:pe2
imgfree
kernel wimboot
initrd bcd                  bcd
initrd boot.sdi             boot.sdi
initrd bootmgr              bootmgr
initrd PE2.wim              boot.wim
boot

:pe3
imgfree
kernel wimboot
initrd bcd                  bcd
initrd boot.sdi             boot.sdi
initrd bootmgr              bootmgr
initrd PE3.wim              boot.wim
boot

:pe4
imgfree
kernel wimboot
initrd bcd                  bcd
initrd boot.sdi             boot.sdi
initrd bootmgr              bootmgr
initrd PE4.wim              boot.wim
boot

:exit
reboot

猜你喜欢

转载自www.cnblogs.com/jinzhenshui/p/10847109.html