Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Boot to ipxe on UEFI machine to menu
2017-02-12, 22:03
Post: #8
RE: Boot to ipxe on UEFI machine to menu
(2017-02-12 21:11)sebus Wrote:  SOLVED (with help from Misty on reboot.pro)

In uefi mode, wimboot does not appear to tolerate files with different than expected being mapped. It is expecting boot.wim and the original file being mapped as boot.wim must also be named boot.wim.

E.g.

Code:
initrd http://10.0.0.55/wim/wim/Win10PESE_x64.WIM BOOT.WIM

.
Will not work. However...

Code:
initrd http://10.0.0.55/wim/wim/Win10PESE_x64/BOOT.WIM BOOT.WIM

.
....does work fine.

What you need here is
Code:
initrd -n boot.wim http://10.0.0.55/wim/wim/Win10PESE_x64.WIM BOOT.WIM
-n boot.wim is used for efi environment while boot.wim at the end is used as name for legacy boot.

If you don't want to create a BCD by yourself you can use the one at https://github.com/NiKiZe/wimboot-bcd/bl...gen/PXEBCD in that repo is also script to generate it from scratch and examples of how to use bcdedit.

and for your scripts

Code:
#!ipxe
kernel http://10.0.0.55/wim/BOOT/wimboot252 gui
initrd http://10.0.0.55/wim/boot/fonts/segmono_boot.ttf segmono_boot.ttf
initrd http://10.0.0.55/wim/boot/fonts/segoe_slboot.ttf segoe_slboot.ttf
initrd http://10.0.0.55/wim/boot/fonts/segoen_slboot.ttf segoen_slboot.ttf
initrd http://10.0.0.55/wim/boot/fonts/wgl4_boot.ttf wgl4_boot.ttf
#initrd http://10.0.0.55/wim/BOOT/bootmgr.efi bootmgr.efi
initrd -n BCD http://10.0.0.55/wim/EFI/Microsoft/Boot/BCD BCD
initrd http://10.0.0.55/wim/BOOT/BOOT.SDI BOOT.SDI
initrd -n boot.wim http://10.0.0.55/wim/wim/Win10PESE_x64.WIM BOOT.WIM
boot

bootmgr is extracted from provided wim, and -n is "missing" on lots of lines. but in reality you only need:
Code:
#!ipxe
kernel http://10.0.0.55/wim/BOOT/wimboot252 gui
initrd -n BCD http://10.0.0.55/wim/EFI/Microsoft/Boot/BCD BCD
initrd -n boot.sdi http://10.0.0.55/wim/BOOT/BOOT.SDI BOOT.SDI
initrd -n boot.wim http://10.0.0.55/wim/wim/Win10PESE_x64.WIM BOOT.WIM
boot

example script with all files available over ipfs: http://ipfs.io/ipfs/QmWhRKfSy9s3fRaNVTJN...eDbPdUREow

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Boot to ipxe on UEFI machine to menu - NiKiZe - 2017-02-12 22:03



User(s) browsing this thread: 1 Guest(s)