iPXE discussion forum
IPXE Server with Windows Server 2012 - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: IPXE Server with Windows Server 2012 (/showthread.php?tid=6984)



IPXE Server with Windows Server 2012 - speede2013 - 2013-07-25 12:25

Hello people,

I want to install a IPxE Server to Windows Server 2012 base.
I have installed the IIS role. Copied the boot files under wwwroot
Files are in the server IP Available (for all users)

At the start of the Boot CD (http://boot.ipxe.org/ipxe.iso) I have the command (strag + B). dhcp && http: \ \ SERVER \ boot.ipxe executed the works, but until "ok" is no boot file is loaded, why?

// Auf deutsch/german:

Hallo Leute,

ich möchte einen IPXE Server auf Windows Server 2012 basis installieren.
Ich habe die Rolle IIS Installiert. Die Boot Datein unter wwwroot kopiert
Datein sind unter unter der Server IP Abrufbar (für alle User)

Beim starten von der Boot CD (http://boot.ipxe.org/ipxe.iso) habe ich den Befehl (strag + B). dhcp && http:\\SERVER\boot.ipxe ausgeführt, das funktioniert auch, aber bis auf " ok" wird keine Bootdatei geladen, warum ?


RE: IPXE Server with Windows Server 2012 - robinsmidsrod - 2013-07-25 13:23

Could you show us a picture (with a camera works) of what happens when you boot the client using the network?

You can also build custom boot CD using http://rom-o-matic.eu/. You might also find some additional information for beginners over at http://networkboot.org/.

Please keep this forum in English. AFAIK, we don't have a lot of frequent users that speak German well.


RE: IPXE Server with Windows Server 2012 - speede2013 - 2013-07-25 14:26

(2013-07-25 13:23)robinsmidsrod Wrote:  Could you show us a picture (with a camera works) of what happens when you boot the client using the network?

You can also build custom boot CD using http://rom-o-matic.eu/. You might also find some additional information for beginners over at http://networkboot.org/.

Please keep this forum in English. AFAIK, we don't have a lot of frequent users that speak German well.

Hello and thank you for your answer.

I can not English, so I have my text written in German underneath.

Thanks for the link, I have built me a Costumer image that works well.

The problem is, unfortunately, still exists, it loads a boot file.

picture:
[undefined=undefined]https://dl.dropboxusercontent.com/u/107269139/iPXE.png[/undefined]


RE: IPXE Server with Windows Server 2012 - hech - 2013-07-25 14:31

Ah, the IIS issue, I experienced that also.

See MIME - IIS 8 only serves registered file types. If you look closely, not all files are downloaded. Just add .sdi, .wim, .*, and whatever file extension you need to MIME in IIS 8.

I just used "application/octet-stream" on file type.


RE: IPXE Server with Windows Server 2012 - robinsmidsrod - 2013-07-25 14:34

speede: It seems like your DHCP setup is correct. It does seem like your boot.ipxe file is loaded from HTTP. Try to build a new ipxe image with DEBUG=script to see what that script is actually doing. That should give some more details as to what might be wrong.


RE: IPXE Server with Windows Server 2012 - speede2013 - 2013-07-25 14:56

(2013-07-25 14:34)robinsmidsrod Wrote:  speede: It seems like your DHCP setup is correct. It does seem like your boot.ipxe file is loaded from HTTP. Try to build a new ipxe image with DEBUG=script to see what that script is actually doing. That should give some more details as to what might be wrong.


Thanks.. here https://dl.dropboxusercontent.com/u/107269139/iPXE2.png


actual boot.ipxe:

#!ipxe

kernel wimboot
initrd bootmgr bootmgr
initrd boot/bcd BCD
initrd boot/boot.sdi boot.sdi
initrd sources/boot.wim boot.wim
imgstat
boot



(2013-07-25 14:31)hech Wrote:  Ah, the IIS issue, I experienced that also.

See MIME - IIS 8 only serves registered file types. If you look closely, not all files are downloaded. Just add .sdi, .wim, .*, and whatever file extension you need to MIME in IIS 8.

I just used "application/octet-stream" on file type.

Thanks.. it is already done Sad


RE: IPXE Server with Windows Server 2012 - robinsmidsrod - 2013-07-26 13:09

Your script is probably saved using UTF-16 charset. You must save it using Latin1 or UTF-8, or iPXE won't be able to understand it. You should also try to download that file in your browser to verify that you see the script onscreen. I just tried to download http://81.169.212.229/boot.ipxe and I notice you have a blank character before the '#!ipxe' string on the first line. You need to remove that space. Unless the first 6 bytes of the file is '#!ipxe' (or '#!gpxe' for compatibility) it won't understand that it is an iPXE script file.