iPXE discussion forum
SCCM 1606, blackscreen winpe boot - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: SCCM 1606, blackscreen winpe boot (/showthread.php?tid=8541)



SCCM 1606, blackscreen winpe boot - harry9 - 2017-03-09 14:49

Hi guys!

I'm new to ipxe and feel a bit lost and looking for some help. I am getting stuck in a blackscreen after loading the SCCM 1606 boot image on client.

Using:
wimboot 2.5.2
winpe 10.0.10240.16384

ipxe-config:
#!ipxe

kernel http://deploy/wimboot/2.5.2/wimboot
initrd http://deploy/bootmgr.exe bootmgr.exe
initrd http://deploy/Boot/BCD BCD
initrd http://deploy/Boot/Fonts/segmono_boot.ttf segmono_boot.ttf
initrd http://deploy/Boot/Fonts/segoe_slboot.ttf segoe_slboot.ttf
initrd http://deploy/Boot/Fonts/wgl4_boot.ttf wgl4_boot.ttf
initrd http://deploy/Boot/boot.sdi boot.sdi
initrd http://deploy/sources/boot.wim boot.wim
boot



Followed instructions: http://ipxe.org/wimboot and http://ipxe.org/howto/sccm

Tried to:
* Added drivers to boot image. (Running VM on a KVM-plattform.)
* Copied bootmgr.exe, as instructed http://forum.ipxe.org/showthread.php?tid=5948

When trying to boot against an .wim file created from MDT2012 everything boots up as expected.

Do you guys have any tip where I should start looking? Know you may need more information from me about this.

Thanks!

/Harry


RE: SCCM 1606, blackscreen winpe boot - NiKiZe - 2017-03-09 17:51

Hi, and welcome!
(2017-03-09 14:49)harry9 Wrote:  I'm new to ipxe and feel a bit lost and looking for some help. I am getting stuck in a blackscreen after loading the SCCM 1606 boot image on client.

ipxe-config:
#!ipxe

kernel http://deploy/wimboot/2.5.2/wimboot
initrd http://deploy/bootmgr.exe bootmgr.exe
initrd http://deploy/Boot/BCD BCD
initrd http://deploy/Boot/Fonts/segmono_boot.ttf segmono_boot.ttf
initrd http://deploy/Boot/Fonts/segoe_slboot.ttf segoe_slboot.ttf
initrd http://deploy/Boot/Fonts/wgl4_boot.ttf wgl4_boot.ttf
initrd http://deploy/Boot/boot.sdi boot.sdi
initrd http://deploy/sources/boot.wim boot.wim
boot


Followed instructions: http://ipxe.org/wimboot and http://ipxe.org/howto/sccm

Tried to:
* Added drivers to boot image. (Running VM on a KVM-plattform.)
* Copied bootmgr.exe, as instructed http://forum.ipxe.org/showthread.php?tid=5948
Ok, we probably need to update that documentation, bootmgr is automatically extracted from the wim, so not needed, I would recommend removing the strike thru line above.

Also the same goes for drivers, so don't add drivers to the .wim other then possibly network drivers, and instead load other drivers via drvload.

(2017-03-09 14:49)harry9 Wrote:  When trying to boot against an .wim file created from MDT2012 everything boots up as expected.

Do you guys have any tip where I should start looking? Know you may need more information from me about this.

One other thing is to add gui on the end of wimboot so it becomes
Code:
kernel http://deploy/wimboot/2.5.2/wimboot gui

There is several similar threads on the forum, I even think several is from the last month, that might be worth a look.


RE: SCCM 1606, blackscreen winpe boot - sebus - 2017-03-10 11:44

Check your deploy/Boot/BCD

sebus


RE: SCCM 1606, blackscreen winpe boot - harry9 - 2017-03-10 12:12

Thank you for anwser! Smile

Quote:initrd http://deploy/bootmgr.exe bootmgr.exe

Ok, we probably need to update that documentation, bootmgr is automatically extracted from the wim, so not needed, I would recommend removing the strike thru line above.

Ok, removed that line from my ipxe config.
Code:
#!ipxe
kernel http://deploy/wim2.5.2/wimboot gui
initrd http://deploy/BCD                                          BCD
initrd http://deploy/Fonts/segmono_boot.ttf                segmono_boot.ttf
initrd http://deploy/Fonts/segoe_slboot.ttf                  segoe_slboot.ttf
initrd http://deploy/Fonts/wgl4_boot.ttf                      wgl4_boot.ttf
initrd http://deploy/boot.sdi                                     boot.sdi
initrd http://deploy/sources/boot.wim                        boot.wim
boot

Quote:Also the same goes for drivers, so don't add drivers to the .wim other then possibly network drivers, and instead load other drivers via drvload.

A bit fuzzy there, I have only added drivers for NIC.

Quote:One other thing is to add gui on the end of wimboot so it becomes
kernel http://deploy/wimboot/2.5.2/wimboot gui

Thanks! Getting an error message now.

"Your PC ran into a problem and nees to restart. You can restart.

If you'd like to know more, you can search online later for this error: SYSTEM_THREAD-EXCEPTION_NOT_HANDLED"

Maybe a clue!

/Harry




Quote:Check your deploy/Boot/BCD

Sorry, but what should I look for in boot/BCD? Blush

/Harry


RE: SCCM 1606, blackscreen winpe boot - sebus - 2017-03-10 12:25

Just bcdedit /store path_to_BCD /enum all
(you can post it here (or even better on http://pastebin.com )


RE: SCCM 1606, blackscreen winpe boot - harry9 - 2017-03-10 13:16

(2017-03-10 12:25)sebus Wrote:  Just bcdedit /store path_to_BCD /enum all
(you can post it here (or even better on http://pastebin.com )

Thank you! Here's the output. http://pastebin.com/genzjXLn


RE: SCCM 1606, blackscreen winpe boot - sebus - 2017-03-10 14:27

I have this working fine, adjust yours maybe?

http://pastebin.com/SHSBDRy4


RE: SCCM 1606, blackscreen winpe boot - harry9 - 2017-03-13 14:40

(2017-03-10 14:27)sebus Wrote:  I have this working fine, adjust yours maybe?

http://pastebin.com/SHSBDRy4


Thanks for input and sorry for late replay, used BCDEDIT to change my BCD file that now looks like this. http://pastebin.com/HRcxqfzu

But still no luck with booting it up, still getting:
"Your PC ran into a problem and nees to restart. You can restart.

If you'd like to know more, you can search online later for this error: SYSTEM_THREAD-EXCEPTION_NOT_HANDLED"