IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
 
Reply to this topicStart new topic
> Dual boot Windows XP-SP3 + WinPE2.0
devil270975
post May 29 2008, 03:11 PM
Post #1


Advanced Member
***

Group: Members
Posts: 362
Joined: 31-July 03
From: Midlands
Member No.: 5331
OS: XP Pro x64
Country Flag


Hi, i am having some serious problems booting to winpe2 from another partition.

Partition 1 - Windows XP-SP3
Partition 2 - WinPE2.0

I created a boot file using bootpart to be able to boot to another partition

Boot.ini
CODE
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
C:\WINNT\SYSTEM32\BOOTPE.BIN="RECOVERY SYSTEM" /FASTDETECT


when i try and boot into WinPE2.0 i get the error missing NTLDR.

anyone else tried this and got it working???



Go to the top of the page
 
+Quote Post
cdob
post May 30 2008, 02:27 AM
Post #2


Member
**

Group: Members
Posts: 143
Joined: 29-September 05
Member No.: 74988
Country Flag


QUOTE (devil270975 @ May 29 2008, 03:11 PM) *
Partition 1 - Windows XP-SP3
Partition 2 - WinPE2.0
Do you use one hard disk or two hard disks?

QUOTE
when i try and boot into WinPE2.0 i get the error missing NTLDR.

Partition was formated at XP. Partition boot code search a file ntldr.

Two choices:
copy file \bootmgr to \ntldr
or use vista bootsect.exe to write a vista boot code: bootsect.exe /nt60 X: /force
Go to the top of the page
 
+Quote Post
WreX
post May 30 2008, 06:58 AM
Post #3


Junior
*

Group: Members
Posts: 55
Joined: 26-October 07
Member No.: 159852
OS: none
Country Flag


As far as I know you have to use the Vista boot loader to boot into PE 2.0. Rest assured, you can use it to boot into XP as well, you just have to configure the BCD (Boot Configuration Database) appropriately. My systems boot PE 2.0 from C: into RAM and XP from D:. Here's the batch file code I run after booting into PE (X:) from CD (K:) to configure the boot loader (you have to manually add bootsect.exe from the WAIK folder to your PE WIM):
CODE
xcopy K:\BOOT\*.* /e /f /y C:\BOOT\
copy K:\BOOTMGR C:\
IF EXIST C:\BOOT\BCD DEL C:\BOOT\BCD
IF NOT EXIST C:\TEMP MD C:\TEMP
IF EXIST C:\TEMP\BCD DEL C:\TEMP\BCD
bcdedit -createstore C:\TEMP\BCD
bcdedit -store C:\TEMP\BCD -create {bootmgr} /d "Boot Manager"
bcdedit -store C:\TEMP\BCD -set {bootmgr} device boot
bcdedit -store C:\TEMP\BCD -create {ramdiskoptions} /d "WinPE"
bcdedit -import C:\TEMP\BCD
bcdedit -set {ramdiskoptions} ramdisksdidevice partition=C:
bcdedit -set {ramdiskoptions} ramdisksdipath \BOOT\BOOT.sdi
for /f ""tokens=3"" %%a in ('bcdedit -create /d "WinPE" -application osloader') do set guid=%%a
bcdedit -set %guid% device ramdisk=[C:]\WINPE\WINPE.WIM,{ramdiskoptions}
bcdedit -set %guid% path \WINDOWS\SYSTEM32\BOOT\WINLOAD.EXE
bcdedit -set %guid% osdevice ramdisk=[C:]\WINPE\WINPE.WIM,{ramdiskoptions}
bcdedit -set %guid% systemroot \WINDOWS
bcdedit -set %guid% winpe yes
bcdedit -set %guid% detecthal yes
bcdedit -displayorder %guid% -addlast
bcdedit -create {ntldr} /d "Windows XP Professional"
bcdedit -set {ntldr} device boot
bcdedit -set {ntldr} path \ntldr
bcdedit -displayorder {ntldr} -addfirst
bcdedit -default {ntldr}
bcdedit -timeout 5
bootsect /nt60 C:

Of course, you still have to have the NTLDR, NTDETECT.COM, and boot.ini files in the root of C:, and your boot.ini should only point at your XP installation.
Go to the top of the page
 
+Quote Post
devil270975
post May 30 2008, 07:43 AM
Post #4


Advanced Member
***

Group: Members
Posts: 362
Joined: 31-July 03
From: Midlands
Member No.: 5331
OS: XP Pro x64
Country Flag


QUOTE (cdob @ May 30 2008, 09:27 AM) *
Two choices:
copy file \bootmgr to \ntldr
or use vista bootsect.exe to write a vista boot code: bootsect.exe /nt60 X: /force


thanks for the info, how do i copy \bootmgr to \ntldr????

I use 1 HDD, 3 partitions
it is a laptop.

i used this cmd script to install WinPE2.0 onto my Partition

configPE2.cmd
CODE
imagex /apply c:\winpe_x86\ISO\sources\boot.wim 1 X:
xcopy C:\winpe_x86\ISO\boot\*.* /e /f X:\boot\
copy C:\winpe_x86\ISO\bootmgr X:
bootsect /nt60 X: /force


PartitionID 1 {8GB} = X: (recovery partition, the 1 i want WinPE2.0 on)(Currently Has BartPE Installed)
PartitionID 2 {10GB}= C: (System Partition, system, boot, active)
PartitionID 3 {75GB}= D: (Data - where i keep all my files)

tried using bootsect /nt60 X: /force, it boots to Boot Manager but says BCD Error????
i'm assuming if i can't get it to work then to put it back i have to use bootsect /nt52 X: /force????

@WreX

I want to boot into WinPE2.0 without RAM Load, also i dont want Vista boot manager to manage my
boot sequence i just want to be able to boot to it from xp's boot.ini.

failing all of this, i want to be able to use imagex from bartpe to capture and apply images.


This post has been edited by devil270975: May 30 2008, 09:00 AM
Go to the top of the page
 
+Quote Post
WreX
post May 30 2008, 09:25 AM
Post #5


Junior
*

Group: Members
Posts: 55
Joined: 26-October 07
Member No.: 159852
OS: none
Country Flag


You have no choice about the Vista Boot Loader and PE 2.0. PE 2.0 is Vista and cannot be booted with boot.ini and NTLDR. The "bootsect /nt60" command tells the MBR of the hard disk that you want to use the Vista Boot Loader, and "bootsect /nt52" tells it you want NTLDR. If you absolutely must use boot.ini, you must use PE 200x instead of 2.0.

If you choose to use PE 2.0, you can easily modify my commands to remove the "boot into RAM" method by following Microsoft's documented guides. However, this will prevent you from partitioning the disk you boot from or formatting the partition you boot from.
Go to the top of the page
 
+Quote Post
devil270975
post May 30 2008, 10:25 AM
Post #6


Advanced Member
***

Group: Members
Posts: 362
Joined: 31-July 03
From: Midlands
Member No.: 5331
OS: XP Pro x64
Country Flag


thanks for all your help, i have managed to sort it now between the replies on here and a post on another site.
will post how i did it later when i have more time, am i right in thinking if i put BCDEDIT -store X:\boot\BCD -set %guid% winpe no
it makes the registry NON VOLATILE, ie it saves changes???? im sure i read it somewhere but for the life of me cannot find the site again.
also, i know i am cheeky, but, how do i add vbruntimes???

Lee.
Go to the top of the page
 
+Quote Post
cdob
post May 30 2008, 11:55 PM
Post #7


Member
**

Group: Members
Posts: 143
Joined: 29-September 05
Member No.: 74988
Country Flag


QUOTE (devil270975 @ May 30 2008, 08:43 AM) *
tried using bootsect /nt60 X: /force, it boots to Boot Manager but says BCD Error????
Configure the BCD (Boot Configuration Database) to boot from X:.

QUOTE (WreX @ May 30 2008, 09:25 AM) *
PE 2.0 is Vista and cannot be booted with boot.ini and NTLDR.
Yes, ntldr istself can't chainload another OS.
However ntldr can chainload another partition boot sector(s), extracted to a file, e.g. C:\WINNT\SYSTEM32\BOOTPE.BIN
This partition boot code may load another OS.

QUOTE
The "bootsect /nt60" command tells the MBR of the hard disk that you want to use the Vista Boot Loader, and "bootsect /nt52" tells it you want NTLDR.
No, bootsect.exe dosn't change the MBR of the hard disk.
Bootsect does change the boot sectors of a partition. That way a file name bootmgr or file name ntldr is launched.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 20th November 2008 - 01:20 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy