|
5#
楼主 |
发表于 2018-3-3 22:15:25
|
只看该作者
- ipxe.ipxe 文件 内容
- #!ipxe
- set boot-url http://${dhcp-server}
- set menu-default WinPE
- :MENU_Start
- menu ${ip}
- item --gap -- ------------------------------ Live Environments ------------------------------
- item --key W WinPE Windows PE
- choose --default ${menu-default} selected
- goto ${selected}
- :WinPE
- chain ${boot-url}/ipxe/winpe.ipxe || goto Failed
- autoboot || goto Failed
- :Failed
- echo Booting Failed, dropping to Config
- config
- reboot
- exit
复制代码
- winpe.ipxe文件内容
- #!ipxe
- iseq ${platform} efi && goto EFI || goto BIOS
- :EFI
- kernel ${boot-url}/ipxe/wimboot
- initrd ${boot-url}/bootmgfw.efi bootmgfw.efi
- initrd ${boot-url}/EFI/MICROSOFT/BOOT/BCD BCD
- initrd ${boot-url}/EFI/MICROSOFT/BOOT/zh-CN/bootmgr.efi.mui bootmgr.efi.mui
- initrd ${boot-url}/EFI/MICROSOFT/BOOT/Fonts/chs_boot.ttf chs_boot.ttf
- initrd ${boot-url}/EFI/MICROSOFT/BOOT/Fonts/wgl4_boot.ttf wgl4_boot.ttf
- goto WIM
- :BIOS
- kernel ${boot-url}/ipxe/wimboot
- initrd ${boot-url}/bootmgr bootmgr
- initrd ${boot-url}/BOOT/BCD BCD
- initrd ${boot-url}/BOOT/zh-CN/bootmgr.exe.mui bootmgr.exe.mui
- initrd ${boot-url}/BOOT/Fonts/chs_boot.ttf chs_boot.ttf
- initrd ${boot-url}/BOOT/Fonts/wgl4_boot.ttf wgl4_boot.ttf
- goto WIM
- :WIM
- initrd ${boot-url}/WINPE/BOOT.SDI BOOT.SDI
- initrd ${boot-url}/WINPE/WINPE.WIM WINPE.WIM
复制代码 |
|