Jump to content











Photo
- - - - -

PXE Booting WinPE 2


  • Please log in to reply
35 replies to this topic

#26 uitdaging111

uitdaging111
  • Members
  • 6 posts
  •  
    Netherlands

Posted 30 September 2013 - 01:37 PM

I have the TFTP server installed and I can boot different WIM-images via the menu in the BCD file. I can find the unicode string boot/BCD in the bootmgr.exe file but I cannot find boot/BCD in pxeboot.0 file which is a link to the pxeboot.n12 file. For this I use Flexhex.  I have Windows AIK for Windows 7 and I have Windows Depolyment Kit for Windows 8. But still no boot/BCD. The size is 25358 bytes and 25772 bytes.

Which file do I have to use?



#27 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3042 posts
  • Location:Nantes - France
  •  
    France

Posted 30 September 2013 - 02:08 PM

Hi uitdaging111,

 

Beware that pxeboot.0 loads bootmgr.exe. not boot\bcd.

 

Bootmgr.exe will then load boot\bcd.

 

Regards,

Erwan



#28 uitdaging111

uitdaging111
  • Members
  • 6 posts
  •  
    Netherlands

Posted 30 September 2013 - 02:27 PM

But in the pxeboot.0 file I can not find bootmgr.exe.

 

from the tutorial:

 

Also, copy boot\pxeboot.0 to test\pxetest.0 and hex edit this too:
Change the "bootmgr.exe" at 0x5961 to "testmgr.exe"

 

But on 0x5961 are only zero's and I cannot find bootmgr.exe in the file with UNICODE string.



#29 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3042 posts
  • Location:Nantes - France
  •  
    France

Posted 30 September 2013 - 02:55 PM

Make sure you get pxeboot.0 from the right location?

Get it from a windows 7 / windows 2008 dvd.

This file can be found in boot.wim of windows7/2008 installation files (\windows\boot\pxe)

 

edit : i can find bootmgr.exe in my pxeboot.com but using non unicode string, not using unicode string.

 

also, i may have missed the point earlier in the topic but why would you patch pxeboot.com ?

let it load bootmgr and use the bcd file to choose from different O.S?

actually you can even indicate at boot time which bcd file to use (using wdsnbp.com and BINL service) hence no need to patch bootmgr.exe to load another bcd file.

 

/Erwan



#30 uitdaging111

uitdaging111
  • Members
  • 6 posts
  •  
    Netherlands

Posted 30 September 2013 - 04:23 PM

On the Windows 7 DVD (32 bit, Pro, Home Ultimate and Basic) I find a boot.wim in the sources folder. I mounted this file and copied windows\boot\pxe\pxeboot.n12. In this file I cannot find bootmgr.exe



#31 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3042 posts
  • Location:Nantes - France
  •  
    France

Posted 30 September 2013 - 04:45 PM

I use HXD and I do not tick unicode when searching.

 

But again, why is your objective? by what string do you want to replace bootmgr.exe?

 

Today wdsnpb.com (1) chains pxeboot.com (2) which chains bootmgr.exe (3) which loads bcd (4) from which you can load your winpe (5).

 

If you boot wdsnbp.com, you can either specific which boot loader and bcd you want to use (using BINL).

 

/Erwan



#32 uitdaging111

uitdaging111
  • Members
  • 6 posts
  •  
    Netherlands

Posted 30 September 2013 - 05:57 PM

From the tutorial:

 

Change the "bootmgr.exe" at 0x5961 to "testmgr.exe"

 

But where can I find this file, wdsnpb.com. I searched microsoft on downloads but nothing.

Where can I find HXD so I can use this tool.



#33 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3042 posts
  • Location:Nantes - France
  •  
    France

Posted 30 September 2013 - 05:59 PM

hxd : http://mh-nexus.de/en/hxd/ .

 

drop wdsnbp.com for now : we'll come to that later if needed.

 

for now, do you manage the following :

pxe boot to pxeboot.com which loads bootmgr.exe which load boot\bcd ?

 

EDIT : which O.S are your running?

 

/erwan



#34 uitdaging111

uitdaging111
  • Members
  • 6 posts
  •  
    Netherlands

Posted 30 September 2013 - 07:25 PM

My TFTP server is Ubuntu server. The clients are windows 7 and windows 8.



#35 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3042 posts
  • Location:Nantes - France
  •  
    France

Posted 30 September 2013 - 07:33 PM

if you want to boot multiple bcd file without having the need to patch files, here how to do it with PXE+BINL :

 

enter wdsnbp.com as boot filename

enter pxeboot.com as proxy-dhcp boot filename (on port 4011)

enter boot\bcd as proxyd-hcp option 252

note : put bootmgr.exe in root folder, boot.wim in sources folder and boot.sdi in boot folder

note: wds files can be found in boot.wim of windows7/2008 installation files (\windows\boot\pxe)



#36 uitdaging111

uitdaging111
  • Members
  • 6 posts
  •  
    Netherlands

Posted 07 October 2013 - 09:27 AM

ltsp.conf:
 
port=0
log-dhcp
tftp-root=/srv/tftp
dhcp-boot=/i386/windows/pxeboot.com
dhcp-option=252,/boot/bcd
dhcp-option=vendor:PXEClient,6,2b
dhcp-no-override
pxe-prompt="Press F8 for boot menu", 3
pxe-service=X86PC, "Boot from network", /i386/windows/pxelinux
pxe-service=X86PC, "Boot from local hard disk", 0
dhcp-range=192.168.1.254,proxy
 
/srv/tftp/i386/windows:
 
hdlscom2.n12
hdlscom2.com
hdlscom1.n12
hdlscom1.com
abortpxe.com
WdsConfig.inf
pxeboot.n12
pxeboot.com
BCD_backup
boot.sdi
fonts
bootmgr.exe
boot_x64.wim
BCD
boot_x86.wim
wdsnbp.com
wdsnbp.0 -> wdsnbp.com
boot.wim -> boot_x64.wim
pxeboot.0 -> pxeboot.com
 
pxelinux.cfg/default
 
default vesamenu.c32
MENU TITLE Installatie menu
 
TIMEOUT 0
PROMPT 0
 
LABEL Winpe_menu
  MENU LABEL Windows PE menu
  kernel i386/windows/wdsnbp.0
 
At bootup:
 
Downloaded WDSNBP
Contacted server using DHCP referral
No response from Windows Deplayment Server service
Launching pxeboot.com
TFTP download failed.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users