{"id":1793,"date":"2018-01-08T20:47:52","date_gmt":"2018-01-08T19:47:52","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1793"},"modified":"2019-05-14T20:19:33","modified_gmt":"2019-05-14T18:19:33","slug":"1793","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1793","title":{"rendered":"PXE, WImboot and multi platform (pcbios\/efi\/i386\/x86_64)"},"content":{"rendered":"<p>Sharing a iPXE script (using wimboot) I am using these days along with Tiny PXE Server to boot winpe over the network on multiple platform : pcbios i386, pcbios x86_64, efi i386, efi x86_64.<\/p>\n<p>Tiny PXE Server is serving by default pcbios ipxe.pxe and also, depending on the client architecture, serving the matching ipxe efi version.<\/p>\n<p>See below my config.ini and a custom wimboot.ipxe script.<\/p>\n<p>Discuss it <a href=\"http:\/\/reboot.pro\/topic\/21614-ipxe-wimboot-and-multi-platform-pcbiosefii386x86-64\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><code><br \/>\n[dhcp]<br \/>\nproxydhcp=1<br \/>\nhttpd=1<br \/>\nbind=1<br \/>\nroot=\\files<br \/>\nfilename=ipxe.pxe<br \/>\naltfilename=wimboot.ipxe<br \/>\n[arch]<br \/>\n00006=ipxe-i386.efi<br \/>\n00007=ipxe-x86_64.efi<br \/>\n00009=ipxe-x86_64.efi<br \/>\n<\/code><\/p>\n<p><code><br \/>\n#!ipxe<br \/>\n#more about wimboot tips and tricks : http:\/\/ipxe.org\/wimboot<br \/>\nset boot-url http:\/\/${dhcp-server}<br \/>\n#note : we are not going to use cpuid\/arch<br \/>\ncpuid --ext 29 &amp;&amp; set arch x64 || set arch x86<br \/>\necho ${arch}<br \/>\necho ${platform}_${buildarch}<br \/>\ngoto ${platform}_${buildarch} || goto unknown<br \/>\n:pcbios_x86_64<br \/>\nkernel ${boot-url}\/wimboot<br \/>\ninitrd ${boot-url}\/BOOTMGR.EXE  bootmgr.exe<br \/>\ninitrd ${boot-url}\/BOOT\/BCD         BCD<br \/>\ninitrd ${boot-url}\/BOOT\/BOOT.SDI    BOOT.SDI<br \/>\ninitrd ${boot-url}\/SOURCES\/x64\/BOOT.WIM BOOT.WIM<br \/>\nboot<br \/>\n:pcbios_i386<br \/>\nkernel ${boot-url}\/wimboot<br \/>\ninitrd ${boot-url}\/BOOTMGR.EXE  bootmgr.exe<br \/>\ninitrd ${boot-url}\/BOOT\/BCD         BCD<br \/>\ninitrd ${boot-url}\/BOOT\/BOOT.SDI    BOOT.SDI<br \/>\ninitrd ${boot-url}\/SOURCES\/x86\/BOOT.WIM BOOT.WIM<br \/>\nboot<br \/>\n:efi_x86_64<br \/>\nkernel ${boot-url}\/wimboot<br \/>\ninitrd ${boot-url}\/bootx64.efi\tbootx64.efi<br \/>\ninitrd ${boot-url}\/EFI\/MICROSOFT\/BOOT\/BCD         BCD<br \/>\ninitrd ${boot-url}\/BOOT\/BOOT.SDI    BOOT.SDI<br \/>\ninitrd ${boot-url}\/SOURCES\/x64\/BOOT.WIM BOOT.WIM<br \/>\nboot<br \/>\n:efi_i386<br \/>\nkernel ${boot-url}\/wimboot.i386<br \/>\ninitrd ${boot-url}\/bootia32.efi\tbootia32.efi<br \/>\ninitrd ${boot-url}\/EFI\/MICROSOFT\/BOOT\/BCD         BCD<br \/>\ninitrd ${boot-url}\/BOOT\/BOOT.SDI    BOOT.SDI<br \/>\ninitrd ${boot-url}\/SOURCES\/x86\/BOOT.WIM BOOT.WIM<br \/>\nboot<br \/>\n:unknown<br \/>\necho Unknown platform ${platform}_${buildarch}<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sharing a iPXE script (using wimboot) I am using these days along with Tiny PXE Server to boot winpe over the network on multiple platform : pcbios i386, pcbios x86_64, efi i386, efi x86_64. Tiny PXE Server is serving by default pcbios ipxe.pxe and also, depending on the client architecture, serving the matching ipxe efi <a href='https:\/\/labalec.fr\/erwan\/?p=1793' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,45,28,21],"tags":[94,112],"class_list":["post-1793","post","type-post","status-publish","format-standard","hentry","category-boot","category-pxe","category-tinypxe-server","category-winpe","tag-efi","tag-uefi","category-16-id","category-45-id","category-28-id","category-21-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1793"}],"version-history":[{"count":3,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1793\/revisions"}],"predecessor-version":[{"id":2143,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1793\/revisions\/2143"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}