Topic: Enable PAE on Windows PE  (Read 3482 times)

Enable PAE on Windows PE
« on: December 30, 2014, 04:27:28 AM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
What a great add to the project.  I built the x86 and it work perfectly.  I did
notice that when I did the x86 and x64 combined in one iso that the Enable
PAE on Windows PE in the boot wasn't there.  I placed the x64 in the enable 2.
Wim-file so the last build was the x86 and I expected 3 lines in the boot bcd? :embarrassed:

Re: Enable PAE on Windows PE
« Reply #1 on: January 05, 2015, 10:27:14 AM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
I used a bcdedit and it say 3 entries in the Muli-boot bcd, but was unable to activate the  Enable
PAE on Windows.  Each time I tried to change the bcd it just make the PE unbootable. It is a
great feature.

Re: Enable PAE on Windows PE
« Reply #2 on: January 05, 2015, 03:08:11 PM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
You could be a bit more clear?

As far I remember PAE script adds a new entry that loads a patched kernel.
Have you copied your x86 entry and changed the path?
« Last Edit: January 05, 2015, 03:08:23 PM by JFX »

Re: Enable PAE on Windows PE
« Reply #3 on: January 05, 2015, 10:22:32 PM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi JFX
Quote
[author=JFX link=topic=1147.msg13421#msg13421 date=1420470491]
You could be a bit more clear?
As far I remember PAE script adds a new entry that loads a patched kernel.
Have you copied your x86 entry and changed the path?
I did notice that when I did the x86 and x64 combined in one iso that the Enable
PAE on Windows PE in the boot wasn't there.  I placed the x64 in the enable 2.
Wim-file so the last build was the x86 and I expected 3 lines in the boot bcd? :embarrassed:
I see three lines but in the bcd unable to manipulate the entries to have
them show up in while booting. I used the tool VisualBcd_0.9.3 to edit
but it didn't work.  Is there a tool in Winbuilder?  I added the x86 boot bcd
and the x86-x64 Duell Boot attached files. :ohmy:
« Last Edit: January 06, 2015, 03:40:11 AM by Mark »

Re: Enable PAE on Windows PE
« Reply #4 on: January 06, 2015, 11:19:29 AM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
There is the command line tool bcdedit.exe.
Is't a part of Windows since Vista.

So you can run a command prompt as admin and use it.

Example I copied the BCD to D:\ (the BCD you want to add the missing entry)

1. Let's make a copy of "Win8.1SE x86" and name it "Win8.1SE x86 (PAE Patched)"

bcdedit -store D:\bcd -copy {default} /d "Win8.1SE x86 (PAE Patched)"


It will display a new GUID like this {5399bcb5-9594-11e4-90ae-005056c00008}
You need it in the next 3 commands:

Now make the changes for the PAE patch

bcdedit -store D:\bcd -set {5399bcb5-9594-11e4-90ae-005056c00008} path \windows\system32\winloadp.exe
bcdedit -store D:\bcd -set {5399bcb5-9594-11e4-90ae-005056c00008} kernel ntoskrnx.exe
bcdedit -store D:\bcd -set {5399bcb5-9594-11e4-90ae-005056c00008} nointegritychecks yes


You can also display the complete store using:

bcdedit -store D:\bcd -enum

For a GUI tool I would recommend BootICE
« Last Edit: January 06, 2015, 11:20:05 AM by JFX »

Re: Enable PAE on Windows PE
« Reply #5 on: January 06, 2015, 03:38:45 PM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi JFX,
There is the command line tool bcdedit.exe.
Is't a part of Windows since Vista.

So you can run a command prompt as admin and use it.

Example I copied the BCD to D:\ (the BCD you want to add the missing entry)

1. Let's make a copy of "Win8.1SE x86" and name it "Win8.1SE x86 (PAE Patched)"

bcdedit -store D:\bcd -copy {default} /d "Win8.1SE x86 (PAE Patched)"


It will display a new GUID like this {5399bcb5-9594-11e4-90ae-005056c00008}
You need it in the next 3 commands:

Now make the changes for the PAE patch

bcdedit -store D:\bcd -set {5399bcb5-9594-11e4-90ae-005056c00008} path \windows\system32\winloadp.exe
bcdedit -store D:\bcd -set {5399bcb5-9594-11e4-90ae-005056c00008} kernel ntoskrnx.exe
bcdedit -store D:\bcd -set {5399bcb5-9594-11e4-90ae-005056c00008} nointegritychecks yes


You can also display the complete store using:

bcdedit -store D:\bcd -enum

For a GUI tool I would recommend BootICE
That method work flawlessly.  I am not a big fan of bcdedit, but you made it so simple.
I also check it out with BootIce.  It is a great little tool. It also looks like it can take off
the way Windows 8 duell boots and makes it like Windows 7 duell boot.
Thanks for all the help. :thumbsup:

 

Powered by EzPortal