mchipser Posted September 11, 2012 Share Posted September 11, 2012 (edited) I just switched from using WDS to deploy my images to using tftp-hpa / pxelinux. This works wonderfully except one small time issue. When pointing pxelinux to the pxeboot.0 it takes approximately 30 seconds for bootmgr to find the BCD and launch the wim. I only found one article about this here. Is it possible to load bootmgr directly and not use pxeboot.0? I have tried the following with no luckLABEL test1COM32 chain.c32APPEND boot ntldr=/BOOTMGRLABEL test2COM32 chain.c32APPEND fs ntldr=/BOOTMGRThis however works, but with the delayLABEL Deployments with passCOM32 chain.c32kernel Boot/pxeboot.0 Edited September 11, 2012 by mchipser Link to comment Share on other sites More sharing options...
jaclaz Posted September 12, 2012 Share Posted September 12, 2012 It would be interesting to understand if it's linked exclusively to the pxelinux way of loading BOOTMGR (whatever this way is) or if it is "generic".But the fix suggested in the given link seems to me "logical", why cannot you use it?Maybe you could try using grub4dos instead of pxelinux and see if the delay is the same:https://sites.google.com/a/rmprepusb.com/www/tutorials/pxehttp://diddy.boot-land.net/pxe/And/or you could try the "new kid on the block", Serva:http://www.vercot.com/~serva/default.htmlhttps://sites.google.com/a/rmprepusb.com/www/tutorials/servawhich does have a "WAIK independent" WDS server.jaclaz Link to comment Share on other sites More sharing options...
mchipser Posted September 12, 2012 Author Share Posted September 12, 2012 (edited) I would expect similar behavior between the syslinux projects (iso, pxe, sys)This works fine under isolinux, but not pxelinux. It says file can not be found.LABEL test2COM32 chain.c32APPEND ntldr=/BOOTMGRI am gonna try grub4dos and see if it removes the wait. Edited September 12, 2012 by mchipser Link to comment Share on other sites More sharing options...
Tripredacus Posted September 12, 2012 Share Posted September 12, 2012 I don't have much of a delay... maybe less than 2 seconds. Except mine just saysLABEL wdsMENU DEFAULTMENU LABEL Windows Deployment ServicesKERNEL pxeboot.0 Link to comment Share on other sites More sharing options...
mchipser Posted September 12, 2012 Author Share Posted September 12, 2012 (edited) Here is my current file (I had to move pxeboot.0 to the root of the tftp directory though)LABEL DeploymentsCOM32 chain.c32kernel pxeboot.0https://www.youtube.com/watch?v=Rvv1TwiggxE&feature=player_detailpage is a video of the boot time. Edited September 12, 2012 by mchipser Link to comment Share on other sites More sharing options...
mchipser Posted September 12, 2012 Author Share Posted September 12, 2012 (edited) I think i might have found the issue.. still not sure how to fix it though..pxeboot.0 boots bootmgr.exe not bootmgr, the file sizes are different though, bootmgr is 375KB bootmgr.exe is 512KB.. when trying to boot bootmgr.exe straight from pxelinux i get an error saying the file is to large..when booting bootmgr i get a bootmgr error.. Unable to load BCD. 0xc0000225 Edited September 12, 2012 by mchipser Link to comment Share on other sites More sharing options...
kyor Posted September 12, 2012 Share Posted September 12, 2012 I had the same issue several years ago with Windows 7. So i still use the Vista files to boot my Winpe4 Image without any delay. Link to comment Share on other sites More sharing options...
mchipser Posted September 12, 2012 Author Share Posted September 12, 2012 (edited) I had the same issue several years ago with Windows 7. So i still use the Vista files to boot my Winpe4 Image without any delay. same issue? The boot time or the 0xc0000225 error?I just tried a bootmgr from server 2008, should be the same as vista with no luck. Edited September 12, 2012 by mchipser Link to comment Share on other sites More sharing options...
kyor Posted September 12, 2012 Share Posted September 12, 2012 I had a delay when i tried to load Winpe from PXE. I don't get a a error message Link to comment Share on other sites More sharing options...
mchipser Posted September 12, 2012 Author Share Posted September 12, 2012 (edited) Maybe i need the bootmgr.exe from vista.. not the bootmgrEdit: I tried the vista bootmgr.exe with the same results.. Edited September 13, 2012 by mchipser Link to comment Share on other sites More sharing options...
mchipser Posted September 13, 2012 Author Share Posted September 13, 2012 (edited) I think the problem lies in how bootmgr.exe looks for the BCD, which is confirmed from the post earlier; however why cant i use bootmgr from pxelinux? I think it is an issue with using a *nix tftp server. I thought this would be fixed by using the remap feature of the tftp server, but apparently not.. when booting from isolinux i can boot bootmgr fine with no delay. When trying to boot bootmgr from pxelinux it can not find the bcd but booting bootmgr.exe it find it with the delay..I am going to try using a windows based tftp server and see what happensEDIT: here is a copy of my remap file.re ^BCD Boot/BCDr ^\\Boot\\ Boot/r ^\\boot\\ Boot/rg \\ /1 Edited September 13, 2012 by mchipser Link to comment Share on other sites More sharing options...
mchipser Posted September 13, 2012 Author Share Posted September 13, 2012 (edited) well i have been trying to get grub to boot the bootmgr / bootmgr.exe with no luck.. this is using TFTPD32I keep getting an error..Error 13: Invalid or unsupported executable formatThe menu.lst looks like:title winpepxe keepchainloader /bootmgrwith this menu.lst i get this errortitle winpepxe keepchainloader --raw(pd)/bootmgrError 1: Filename must be either an absolute pathname or blocklist Edited September 13, 2012 by mchipser Link to comment Share on other sites More sharing options...
mchipser Posted September 14, 2012 Author Share Posted September 14, 2012 (edited) I ended up doing what I found in the first post.. It doesn't completely remove the wait but reduces it quite a bit.. Until i find something better.. I tired to add the option 252 to my dhcp server but that didn't fix the issue. Still not sure why syslinux & ioslinux perform different than pxelinux.. Edited September 14, 2012 by mchipser Link to comment Share on other sites More sharing options...
jaclaz Posted September 14, 2012 Share Posted September 14, 2012 (edited) I think the problem lies in how bootmgr.exe looks for the BCD, which is confirmed from the post earlier; however why cant i use bootmgr from pxelinux? I think it is an issue with using a *nix tftp server. I thought this would be fixed by using the remap feature of the tftp server, but apparently not.. when booting from isolinux i can boot bootmgr fine with no delay. When trying to boot bootmgr from pxelinux it can not find the bcd but booting bootmgr.exe it find it with the delay..BOOTMGR and BOOTMGR.EXE are actually the "same" file BUT the second has some added code to make it a suitable "pxe" target. EDIT: BUT the first has some added code (16 bit) to make it a "local boot" target.EXACTLY like it was in the good ol'days with SETUPLDR and SETUPLDR.EXE, see:http://reboot.pro/5900/http://reboot.pro/4952/#entry40701It seems to me like you pinned down exactly the problem, i.e. the way BOOTGR.EXE looks for the BCD, and right now it seems to me like there are only the metioned ways out:use an original WDS serverusing the workaround you found http://www.0xf8.org/2012/04/the-30-second-delay-in-booting-windows-pes-pxeboot-com-via-pxelinux/using an alternate WDS server (suggested but UNtested)using an alternate loader from pxelinux (suggested but UNtested)Another possibility (also to be tested) is here:http://reboot.pro/1656/http://www.ultimatedeployment.org/win7pxelinux1.htmljaclaz Edited September 14, 2012 by jaclaz Link to comment Share on other sites More sharing options...
kyor Posted September 14, 2012 Share Posted September 14, 2012 @mchipserif you like you can test my bootmgr.exe that i use for years with Linux without delayFor testing purpose i have uploaded it tohttp://exfile.ru/372587Greetingskyor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now