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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-12-29
  • 2021-10-15
  • 2022-12-23
  • 2021-12-23
  • 2021-09-02
猜你喜欢
  • 2022-12-23
  • 2021-07-07
  • 2021-12-04
  • 2022-03-02
  • 2021-07-23
  • 2021-12-06
  • 2022-12-23
相关资源
相似解决方案