Difference between revisions of "Add Custom WinPE 3.0"

From ERPXE Wiki
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
ERPXE currently uses "tftpboot/er/0-9" to store wim files (3 Custom WIM, 4 ERD, Ghost, Paragon, ShadowProtect).
 
ERPXE currently uses "tftpboot/er/0-9" to store wim files (3 Custom WIM, 4 ERD, Ghost, Paragon, ShadowProtect).
  
 
+
* We used "er/0-9" , you can add "/tftpboot/er/a-z" folders:
"bootmgr.exe" has a limitation of 7 letters, for example: "er/a/bt.exe".
 
 
 
You can add /tftpboot/er/a-z folders
 
  
 
  Copy "bootmgr.exe" to "er\a\bt.exe" and hex edit it:
 
  Copy "bootmgr.exe" to "er\a\bt.exe" and hex edit it:
 
 
  Change the "\Boot\BCD" unicode text to "\ER\A\BCD" at: 0x 4F98C
 
  Change the "\Boot\BCD" unicode text to "\ER\A\BCD" at: 0x 4F98C
 
   
 
   
 
  Copy "boot\pxeboot.0" to "er\a\pxeboot.0" and hex edit it:
 
  Copy "boot\pxeboot.0" to "er\a\pxeboot.0" and hex edit it:
 
 
  Change the "bootmgr.exe" to "er\a\bt.exe" at: 0x 5961
 
  Change the "bootmgr.exe" to "er\a\bt.exe" at: 0x 5961
 
   
 
   
 
  Copy "boot\BCD" to "er\a\BCD" and use "BCDEDIT.EXE" to change the osdevice and device entries to use:
 
  Copy "boot\BCD" to "er\a\BCD" and use "BCDEDIT.EXE" to change the osdevice and device entries to use:
 
 
  "[boot]\ER\A\WinPE.wim,{ramdiskoptions}"
 
  "[boot]\ER\A\WinPE.wim,{ramdiskoptions}"
+
 
(BCDEDIT.EXE is part of the Microsoft WAIK package)
+
* BCDEDIT.EXE is part of the [http://en.wikipedia.org/wiki/Windows_Automated_Installation_Kit Microsoft WAIK] package
+
 
 
  "bcdedit /store BCD /set {dab9cfa0-d0a1-11dc-bb43-0003ff25b939} device ramdisk=[boot]\er\a\WinPE.wim,{ramdiskoptions}"
 
  "bcdedit /store BCD /set {dab9cfa0-d0a1-11dc-bb43-0003ff25b939} device ramdisk=[boot]\er\a\WinPE.wim,{ramdiskoptions}"
 
 
  "bcdedit /store BCD /set {dab9cfa0-d0a1-11dc-bb43-0003ff25b939} osdevice ramdisk=[boot]\er\a\WinPE.wim,{ramdiskoptions}"
 
  "bcdedit /store BCD /set {dab9cfa0-d0a1-11dc-bb43-0003ff25b939} osdevice ramdisk=[boot]\er\a\WinPE.wim,{ramdiskoptions}"
+
 
  Hex edit BCD file, change location to "er\a\boot.sdi" at: 0x 1910, 0x 21C0, 0x 23F0
+
  Hex edit "BCD" file, change to "er\a\boot.sdi" at: 0x 1910, 0x 21C0, 0x 23F0
+
 
  "bootmgr.exe" has a PE checksum at 0x130.
+
  Calculate a new checksum on "bt.exe" , we used a tool called [http://www.heaventools.com/download.htm PE Explorer].
+
 
Calculate a new checksum on "bt.exe" , we used a tool called "PE Explorer".
 
 
  "BCD" has an integrity check, to override this run:
 
  "BCD" has an integrity check, to override this run:
 
 
  "bcdedit -store BCD -set {bootmgr} nointegritychecks Yes"
 
  "bcdedit -store BCD -set {bootmgr} nointegritychecks Yes"
  
 +
* Add a new option in the menu file to point to the new location of "pxeboot.0": (You can use "er/plugins/wimpe1/wimpe1.menu")
  
Add a new option in the menu file to point to the new location of "pxeboot.0":
+
  LABEL WPE-CUSTOM-A
 
+
  MENU LABEL Windows PE 3.0 - ^Custom A
You can use "er/plugins/wimpe1/wimpe1.menu"
 
 
 
  LABEL WPE-CUSTOM
 
  MENU LABEL Windows PE 3.0 - ^Custom
 
 
  KERNEL er/a/pxeboot.0
 
  KERNEL er/a/pxeboot.0

Latest revision as of 14:43, 6 April 2012

ERPXE currently uses "tftpboot/er/0-9" to store wim files (3 Custom WIM, 4 ERD, Ghost, Paragon, ShadowProtect).

  • We used "er/0-9" , you can add "/tftpboot/er/a-z" folders:
Copy "bootmgr.exe" to "er\a\bt.exe" and hex edit it:
Change the "\Boot\BCD" unicode text to "\ER\A\BCD" at: 0x 4F98C

Copy "boot\pxeboot.0" to "er\a\pxeboot.0" and hex edit it:
Change the "bootmgr.exe" to "er\a\bt.exe" at: 0x 5961

Copy "boot\BCD" to "er\a\BCD" and use "BCDEDIT.EXE" to change the osdevice and device entries to use:
"[boot]\ER\A\WinPE.wim,{ramdiskoptions}"
"bcdedit /store BCD /set {dab9cfa0-d0a1-11dc-bb43-0003ff25b939} device ramdisk=[boot]\er\a\WinPE.wim,{ramdiskoptions}"
"bcdedit /store BCD /set {dab9cfa0-d0a1-11dc-bb43-0003ff25b939} osdevice ramdisk=[boot]\er\a\WinPE.wim,{ramdiskoptions}"
Hex edit "BCD" file, change to "er\a\boot.sdi" at: 0x 1910, 0x 21C0, 0x 23F0
Calculate a new checksum on "bt.exe" , we used a tool called PE Explorer.
"BCD" has an integrity check, to override this run:
"bcdedit -store BCD -set {bootmgr} nointegritychecks Yes"
  • Add a new option in the menu file to point to the new location of "pxeboot.0": (You can use "er/plugins/wimpe1/wimpe1.menu")
LABEL WPE-CUSTOM-A
MENU LABEL Windows PE 3.0 - ^Custom A
KERNEL er/a/pxeboot.0