Jump to content

Sysprep XP Install from WinPE 2


Recommended Posts

I've got a WINPE 2.0 BootCD (which I built from the WAIK) which does the following:

1. loads up

2. calls diskpart from starnet.cmd

3 imagex applys a syspreped image of xp sp2

4 reboot

Diskpart instructions:

select disk 0

clean

create part primary size=9500

select part 1

active

format fs=ntfs label="SYSTEM" quick

assign letter=c

exit

Now the cd has been used on a brand new HP DC7800 which is preconfigured as follows:

xp pro xp2 sp2

2 partition / 65gb + 10gb / c: and d:

It boots the cd fine, diskparts and then copies the image down. On Reboot the machine says "BOOTMGR is missing". If we boot from the CD again and run through the diskpart, reimage and then reboot it loads as expected.

Whats going wrong on the first pass, why is BOOTMGR missing and why is it fixed when we re do the process?

I've used this same process on other machines with no problem.

Any help appreciated.

Link to comment
Share on other sites


Here's what I use for Diskpart:

SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY ID=7
FORMAT FS=NTFS LABEL=System QUICK
ASSIGN LETTER=C
ACTIVE

It took like 5 hours for me to get this simple diskpart script working right :(

Link to comment
Share on other sites

My diskpart script works. I mean, on other computers that I have tried it on I am having no problems. But I'm getting the feeling there is something that could be added to improve the script..

I dunno, but im sure (and hope!) there are many people here who can help out.

Link to comment
Share on other sites

  • 7 months later...

In case the issue is still unresolved, you may want to run the bootsect /nt52 c: /force command after you lay down the XP image to change the boot sector to be XP/2003 compatible. The bootsector for Vista/PE2 is /nt60 and is slightly different.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...