MSFN Forum: Installing Winxp via winnt32 under Winpe v2.0 (Vista PE) - MSFN Forum

Jump to content



  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Installing Winxp via winnt32 under Winpe v2.0 (Vista PE) Rate Topic: -----

#41 User is offline   rahuldel 

  • Group: Members
  • Posts: 2
  • Joined: 14-August 05

Posted 16 March 2007 - 08:58 AM

I am having a problem while installing Windows XP Pro thru winnt32 thru WinPE v2.

The installation works fine if I am using just a plain Windows XP with SP2 without any updates or tweaks etc but if I apply any of Ryans updates or the whole series of update packs etc to make it upto date it does not even go past the first reboot after the text mode.

The error comes as "Setup was unable to verify Drive c:, youc computer does not have enough memory to examine............"

If it is just a plain XP Pro + SP2 CD it works fine and installation goes thru perfectly.

Any help please......... :hello: Setup was unable to verify Drive C: after text mode.


#42 User is offline   Jazkal 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 592
  • Joined: 16-January 04

Posted 16 March 2007 - 09:11 AM

You may get better answers by asking in the Ryan forums.

Personally, I use HFSLIP to do my hotfix slipstreaming, and don't have any issues with WinPE2 and winnt32 over the network.

Sorry I couldn't help with the actual question though.

#43 User is offline   kyor 

  • Junior
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 11-October 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 March 2007 - 04:47 AM

EDIT: removed. Sorry i posted in the wrong thread

This post has been edited by kyor: 22 March 2007 - 04:52 AM


#44 User is offline   acyang 

  • Group: Members
  • Posts: 3
  • Joined: 26-March 07

Posted 26 March 2007 - 06:38 AM

View Postkyor, on Dec 14 2006, 08:41 PM, said:

ok i think here is the complete workaround to solve
the installation issue with winnt32.exe

do the following only for xp and win2003 installations.
On vista you will get performance problems with raid controllers
if you use the fixbootxp.reg

1. run winpe 2.0
2. regedit /s fixbootxp.reg (attached in this post)
3. diskpart
4. bootsect /nt52 c:
5. start winnt32



Hi, Kyor
I also tried to install Winxp via winnt32 in Winpe v2.0 on my UFD.
I followed what you posted, but I still met some problems.

1. I can't find "bootsect.exe" on my UFD.
I followed the steps from WAIK Walkthrough "Create a Bootable Windows PE RAM Disk on UFD",
(In LRMOPK_TW.iso, we can find bootsect.exe in the BOOT folder)
but I didn't find bootsect.exe in the BOOT folder on my UFD.
So I copied it from "C:\Program Files\Windows AIK\Tools\PETools\x86" to BOOT folder.

2. The winnt32.exe will close after "Preparing installation".
I followed the steps you mentioned above,
I run winnt32.exe without unattended file,
I typed the regist key then the setup program went on.
But after "Preparing installation", the setup program closed and return to the command line promote.

could somebody do me a favort?
I've bothered about this for months .

#45 User is offline   kyor 

  • Junior
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 11-October 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 26 March 2007 - 11:29 AM

Quote

1. I can't find "bootsect.exe" on my UFD.
I followed the steps from WAIK Walkthrough "Create a Bootable Windows PE RAM Disk on UFD",
(In LRMOPK_TW.iso, we can find bootsect.exe in the BOOT folder)
but I didn't find bootsect.exe in the BOOT folder on my UFD.
So I copied it from "C:\Program Files\Windows AIK\Tools\PETools\x86" to BOOT folder.


That's correct you have to copy it from your opk kit to your WinPE CD or to a network share.

Quote

2. The winnt32.exe will close after "Preparing installation".
I followed the steps you mentioned above,
I run winnt32.exe without unattended file,
I typed the regist key then the setup program went on.
But after "Preparing installation", the setup program closed and return to the command line promote.

could somebody do me a favort?
I've bothered about this for months .


Normaly, after typing in the reg key the setup Program copies the necessary files to your harddisk and
return to the command prompt. after that you have to exit winpe. type exit in winpe and remove your winpe source (i.e. USB Stick, CD)

This post has been edited by kyor: 26 March 2007 - 11:31 AM


#46 User is offline   acyang 

  • Group: Members
  • Posts: 3
  • Joined: 26-March 07

Posted 27 March 2007 - 10:57 AM

View Postkyor, on Mar 27 2007, 01:29 AM, said:

Quote

1. I can't find "bootsect.exe" on my UFD.
I followed the steps from WAIK Walkthrough "Create a Bootable Windows PE RAM Disk on UFD",
(In LRMOPK_TW.iso, we can find bootsect.exe in the BOOT folder)
but I didn't find bootsect.exe in the BOOT folder on my UFD.
So I copied it from "C:\Program Files\Windows AIK\Tools\PETools\x86" to BOOT folder.


That's correct you have to copy it from your opk kit to your WinPE CD or to a network share.

Quote

2. The winnt32.exe will close after "Preparing installation".
I followed the steps you mentioned above,
I run winnt32.exe without unattended file,
I typed the regist key then the setup program went on.
But after "Preparing installation", the setup program closed and return to the command line promote.

could somebody do me a favort?
I've bothered about this for months .


Normaly, after typing in the reg key the setup Program copies the necessary files to your harddisk and
return to the command prompt. after that you have to exit winpe. type exit in winpe and remove your winpe source (i.e. USB Stick, CD)


Hi,kyor
Thanks for your help.
Now I can complete my winpe UFD.

By the way,at first I typed the following commond
%SOURCE%\i386\winnt32.exe /syspart:c: /unattend:%SOURCE%\i386\WINNT.SIF
After the computer reboot, the setup program asked me to put "windows xp sp2" setup cd into the cdrom.

So I used /makelocalsource and /tempdrive:c: parameters,the full commond is
%SOURCE%\i386\winnt32.exe /syspart:c: /unattend:%SOURCE%\i386\WINNT.SIF /makelocalsource /tempdrive:c:
the unattend setup went on successfully, just like it run from unattend setup CD.

Is it possible run a unattend Xp setup under winpe 2.0 ram disk on UFD without copying all source files to the Hard disk?

#47 User is offline   kyor 

  • Junior
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 11-October 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 March 2007 - 12:57 PM

I think it's not possible. You need the Harddisk for the necessary installation files

#48 User is offline   twalk482 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 21-April 06

Posted 10 April 2007 - 10:17 AM

Did you try just creating another folder in your mount or mount\Windows folder before the Prepare your image step?

This would compress it on the .WIM file ... it ceratinly would increase the boot time.

I haven't seen if there is a maximum size for the RAM Drive used (I don't think that information is in TFM)

I am actually going to try this today.

This post has been edited by twalk482: 10 April 2007 - 10:17 AM


#49 User is offline   twalk482 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 21-April 06

Posted 11 April 2007 - 12:27 PM

So, this worked (having the i386 source on the RAMDrive). However, I did not have the option of a USB Key ... So, I created an ISO

I added the logic to get the "WINSRC" directory on the RAMDrive to the batch file I have to create WinPE 2.0

Should be adble to modify the SET statements here to make it work for you

SET ARCH=x86
SET UFDRIVE=G:
SET WAIKTOOLS_DIR=C:\Program Files\Windows AIK\Tools
SET PETOOLS_DIR=%WAIKTOOLS_DIR%\PETools
SET PEROOT_DIR=D:\WINPE2.0
SET PETEMP_DIR=%PEROOT_DIR%\winpe_%ARCH%
SET WINSRC_DIR=D:\2003R2
SET STARTNET_FILE=D:\STARTNET.CMD

IF EXIST %PETEMP_DIR% (RD /S /Q %PETEMP_DIR%)  
MD %PETEMP_DIR%
MD %PETEMP_DIR%\ISO
MD %PETEMP_DIR%\MOUNT

COPY "%PETOOLS_DIR%\%ARCH%\BOOTMGR" "%PETEMP_DIR%\ISO"
COPY "%PETOOLS_DIR%\%ARCH%\BOOTMGR.EFI" "%PETEMP_DIR%\ISO"
COPY "%PETOOLS_DIR%\%ARCH%\BOOT\ETFSBOOT.COM" "%PETEMP_DIR%"
COPY "%PETOOLS_DIR%\%ARCH%\BOOT\EFISYS.BIN" "%PETEMP_DIR%"
XCOPY /CHERKY "%PETOOLS_DIR%\%ARCH%\BOOT" "%PETEMP_DIR%\ISO\BOOT\"
XCOPY /CHERKY "%PETOOLS_DIR%\%ARCH%\EFI" "%PETEMP_DIR%\ISO\EFI\"
MKDIR "%PETEMP_DIR%\ISO\SOURCES"
COPY "%PETOOLS_DIR%\%ARCH%\WINPE.WIM" "%PETEMP_DIR%\WINPE.WIM"
COPY "%PETOOLS_DIR%\%ARCH%\WINPE.WIM" "%PETEMP_DIR%\ISO\SOURCES\BOOT.WIM"
"%WAIKTOOLS_DIR%\%ARCH%\IMAGEX" /MOUNTRW %PETEMP_DIR%\WINPE.WIM 1 %PETEMP_DIR%\MOUNT
"%PETOOLS_DIR%\PEIMG" /install=WinPE-HTA-Package %PETEMP_DIR%\MOUNT\WINDOWS
"%PETOOLS_DIR%\PEIMG" /install=WinPE-MDAC-Package %PETEMP_DIR%\MOUNT\WINDOWS
"%PETOOLS_DIR%\PEIMG" /install=WinPE-Scripting-Package %PETEMP_DIR%\MOUNT\WINDOWS
"%PETOOLS_DIR%\PEIMG" /install=WinPE-XML-Package %PETEMP_DIR%\MOUNT\WINDOWS
"%PETOOLS_DIR%\PEIMG" /LIST %PETEMP_DIR%\MOUNT\WINDOWS
COPY "%WAIKTOOLS_DIR%\%ARCH%\IMAGEX.EXE" %PETEMP_DIR%\ISO\
ECHO D|XCOPY /CHERKYS "%WAIKTOOLS_DIR%\%ARCH%\SERVICING" %PETEMP_DIR%\ISO\SERVICING
COPY %STARTNET_FILE% %PETEMP_DIR%\MOUNT\WINDOWS\SYSTEM32
MD %PETEMP_DIR%\MOUNT\WINSRC\I386
ECHO D|XCOPY /CHERKYS "%WINSRC_DIR%\I386\*.*" %PETEMP_DIR%\MOUNT\WINSRC\I386
"%PETOOLS_DIR%\PEIMG" /PREP /F %PETEMP_DIR%\MOUNT\WINDOWS
:UNMOUNT
"%WAIKTOOLS_DIR%\%ARCH%\IMAGEX" /UNMOUNT %PETEMP_DIR%\MOUNT /COMMIT
COPY %PETEMP_DIR%\WINPE.WIM %PETEMP_DIR%\ISO\SOURCES\BOOT.WIM
:COPYUFD
XCOPY /CHERKYS %PETEMP_DIR%\*.* %UFDRIVE%
GOTO :END
:MAKEISO
OSCDIMG -N -M -O -B%PETEMP_DIR%\ETFSBOOT.COM %PETEMP_DIR%\ISO %PETEMP_DIR%\WINPE_%ARCH%.ISO
:END


Here would be the line(s) that I added to my custom STARTNET.CMD

CD /D X:\WINSRC\i386

WINNT32.EXE /DUDISABLE /SX:\WINSRC\i386 /SYSPART:C /TEMPDRIVE:C /MAKELOCALSOURCE /UNATTEND:C:\UNATTEND.TXT

#50 User is offline   randalldale 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-November 04

Posted 29 May 2007 - 02:53 PM

Well I'm still gettting the error even with the fix to the diskpart.txt file. Oh and I have Intel based boards that are on the most current BIOS.

#51 User is offline   toastycheese678 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 02-December 04

Posted 04 June 2007 - 01:00 PM

I am currently having problems with WinPE 2.0 and XP install. I am trying to use one WinPE disk to install both XP and Vista. I have the disk set so that the Vista install initiates. Then I create the partitions I want through Vista Setup. If I hit next then Vista installs on the C: Partition. If I exit the Vista Installation after the partitions are created then XP tries to install on the C: Partition.

After creating the partitions and exiting the Vista Setup I am sitting with a 40 GB C Partition and a 120 GB D Partition. I then run the following commands:

Diskpart
Select Disk 0
Select Partition 1
Assign Letter C
Active
Exit
format c: /fs:ntfs /q /y /v:Boot
\\XP\I386\winnt32 /s:\\XP\I386 /unattend:\\XP\I386\winnt.sif /dudisable /syspart:c

This copies over the installation files for Windows XP to the local machine. The computer is then restarted

Immediately following the POST i receive the following message:

A disk read error occurred
Press Ctrl+Alt+Del to restart

I tried updating the bios of the motherboard and using bootsect.exe /nt52 c: /force, and changing the disk type to Auto, CHS, Large, LHS
Ive also integrated the following registry entries into my WinPE disk

reg load HKLM\PE-SYS c:\Winpe_x86\Mount\Windows\system32\config\system
Reg Add "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v LessThan4GB /d 0 /f
Reg Add "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v Between4_8GB /d 0 /f
RegAdd "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v Between8_32GB /d 0 /f
Reg Add "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v GreaterThan32GB /d 0 /f
reg unload HKLM\PE-SYS

All result in the same error

Any ideas?

This post has been edited by toastycheese678: 04 June 2007 - 01:22 PM


#52 User is offline   killerb255 

  • Member
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 26-May 07

Posted 06 June 2007 - 07:50 PM

View Posttoastycheese678, on Jun 4 2007, 02:00 PM, said:

I am currently having problems with WinPE 2.0 and XP install. I am trying to use one WinPE disk to install both XP and Vista. I have the disk set so that the Vista install initiates. Then I create the partitions I want through Vista Setup. If I hit next then Vista installs on the C: Partition. If I exit the Vista Installation after the partitions are created then XP tries to install on the C: Partition.

After creating the partitions and exiting the Vista Setup I am sitting with a 40 GB C Partition and a 120 GB D Partition. I then run the following commands:

Diskpart
Select Disk 0
Select Partition 1
Assign Letter C
Active
Exit
format c: /fs:ntfs /q /y /v:Boot
\\XP\I386\winnt32 /s:\\XP\I386 /unattend:\\XP\I386\winnt.sif /dudisable /syspart:c

This copies over the installation files for Windows XP to the local machine. The computer is then restarted

Immediately following the POST i receive the following message:

A disk read error occurred
Press Ctrl+Alt+Del to restart

I tried updating the bios of the motherboard and using bootsect.exe /nt52 c: /force, and changing the disk type to Auto, CHS, Large, LHS
Ive also integrated the following registry entries into my WinPE disk

reg load HKLM\PE-SYS c:\Winpe_x86\Mount\Windows\system32\config\system
Reg Add "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v LessThan4GB /d 0 /f
Reg Add "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v Between4_8GB /d 0 /f
RegAdd "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v Between8_32GB /d 0 /f
Reg Add "HKLM\PE-SYS\ControlSet001\Services\vds\Alignment" /t Reg_Dword /v GreaterThan32GB /d 0 /f
reg unload HKLM\PE-SYS

All result in the same error

Any ideas?


There is a website that hosts hotfixes that Microsoft doesn't give out publicly:

In this case, you can get this:

http://support.microsoft.com/kb/931760

from here:

http://thehotfixshare.net/download/index.p...h/Windows%20XP/

Try slipstreaming this fix into your installation to avoid the registry edits.

#53 User is offline   killerb255 

  • Member
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 26-May 07

Posted 06 June 2007 - 08:02 PM

I'm having an extremely weird problem when I try to install XP using a network share and WinPE 2.0.

Here's what I do (even after using the fix I posted above):

diskpart
select disk 0
clean
create partition primary
active
assign letter c
format
exit
net use t: \\%sharename%\xppro
<<asks for credentials...I enter them
t:\
cd wkst
<< has an i386 folder as well as several text files used as unattended setup files.
wkst32.bat %textfile%.txt

Inside the wkst32.bat:

@echo off

SET TRACK=%1
echo %TRACK%.txt
t:\i386\winnt32 /m:t:\i386\ /syspart:c: /tempdrive:c: /unattend:t:\wkst\%TRACK%.txt
exit


Anyway, after running this, the setup files copy correctly, then the textmode part runs correctly. Once the GUI comes up, I get the following error message:

Fatal Error-
SXS.DLL: Syntax error in manifest or policy file C:\$win_nt$.~ls\I386\asms\6000\MSFT\VCRTL\VCRTL.MAN on LINE 11
A component's file does not match the verification information present in the component manifest


Now here's the kicker:

The EXACT same source files work fine when using a variation of a DOS-based Ultimate Boot CD. The only difference is that winnt.exe is used with a wkst.bat file:

@echo off

SET TRACK=%1
echo %TRACK%.txt
t:\i386\winnt /s:t:\i386 /t:c:\ /u:t:\wkst\%TRACK%.txt


Any ideas?

#54 User is offline   killerb255 

  • Member
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 26-May 07

Posted 11 June 2007 - 11:55 AM

Never mind--I solved the problem.

wkst32 edits:

Omissions in bold. Additions in italics

t:\i386\winnt32 /m:t:\i386\ /syspart:c: /tempdrive:c: /makelocalsource /unattend:t:\wkst\%TRACK%.txt

In any case, slipstreaming the hotfix for the Vista diskpart craziness combined with this worked like a charm!

This post has been edited by killerb255: 11 June 2007 - 11:58 AM


#55 User is offline   HJW 

  • MultiBoot Freak
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 26-February 05

Posted 03 July 2007 - 03:59 PM

Someone here who wants to make a little walkthrough how to use winpe2.0 with xp setup.. I am looking for a stepbystep guide - otherwise I know i will not suceed in doing this ;(

#56 User is offline   kyor 

  • Junior
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 11-October 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 04 July 2007 - 10:53 AM

@HJW

Summary

do the following only for xp and win2003 installations.
On vista you will get performance problems with raid controllers
if you use the fixbootxp.reg

1. run winpe 2.0
2. regedit /s fixbootxp.reg (attached in this post)
3. use diskpart (
you can use diskpart /s diskpart.ini if you want to format your HDD automatically)
4. bootsect /nt52 c: (you get bootsect from OPK Kit)
5. start winnt32.exe
example t:\i386\winnt32 /m:t:\i386\ /syspart:c: /tempdrive:c: /makelocalsource /unattend:t:\unattend.txt


HINT:
When you do this kind of installation you get a error message in Windows when it's installed (see picture). But this is normal and doesn't affect
this Installation. I haven't found another way. When you use the chkdsk in GUI Mode you didn't get a error message


http://support.micro...om/kb/931760/en

Greetings kyor

Attached File(s)


This post has been edited by kyor: 21 July 2007 - 09:28 AM


#57 User is offline   JuMz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 09-August 04

Posted 20 July 2007 - 11:07 AM

Wow. This is an amazing thread and well worth the 3-page read. I thank you guys for sharing this information!

#58 User is offline   Matt A. Tobin 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 15-April 07

Posted 04 December 2007 - 06:18 AM

Heh old thread... anyway i created an XP install image using imagex and winpe2.0

I programed a simple GUI to execute commands like quickformat diskpart and bootsect and such...

anyway.. i use an nLited XP install so its all automated so to prep a drive to capture the install image....

run: winnt32 /unattend:winnt.sif /makelocalsource /noreboot
(you could just run winnt32 /makelocalsource and enter your licence info and whatever...)

then I use ImageX to capture that image

and what i end up with is an image all ready for deployment under winpe2.0

then when i pop in my disc it boots to winpe and my custom shell launcher doober comes up...

Diskpart (or just a quick format if the partition exists)

apply image

bootsect /nt52


more or less three clicks and a Y (to confirm i want to quick format) and i am ready to reboot and it does the normal blue textmode then gui then done.. in like less then 25 min...

My PE Shell has the following commands

Apply image (I call it Install Windows)
Quick Format C:
Run Disk Partitioner (Diskpart till i find a WinPE2 compadible diskpart gui)
Apply NT5x Boot Sector (bootsect /nt52)
Open Command Prompt (cmd.exe)
the kickass ImageX GUI (for imageing jobs beyond the simple apply image)
Open Registry Editor (regedit.exe) Everyone needs a registry editor avilable
and a readme.. which i havent programed yet because im a lazy son of a b***h

it looks nifty the coding is horrific but it all works

but that winnt32 /makelocalsource then capture with ImageX should work... just be sure you apply the NT5x bootsector so it loads NTLDR if you format and not do bootsect it will want to run BOOTMGR and windows xp doesnt come with it...

this method should work with win2k and server03 also

#59 User is offline   JuMz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 09-August 04

Posted 04 January 2008 - 11:41 AM

You should note that if you are using Windows XP Table PC or Media Center (or .Net option in the PRO), you should have /makelocalsource:all

This will copy the 'CMPNENTS' folder also...

#60 User is offline   blchee 

  • Group: Members
  • Posts: 3
  • Joined: 11-March 08

Posted 12 March 2008 - 12:42 AM

Hi :hello: ,

I'm trying to create a server deployment image for Windows 2003 with WinPE 2.1.

My steps are:
1. Boot into Winpe2.1
2. delete partition using diskpart
3. configure HP Disk Array configuration and create an array
4. create new partition
5. format disk
6. install from commandline (X:\W2K3\I386\WINNT32.EXE /syspart:c: /s:X:\W2K3\I386 /unattend:X:\DiskProfilesA\unattend.txt /makelocalsource

step 2 to 6 is run from a vbscript that I had created and compiled as a .exe file and being called out from
startnet.cmd. The W2K3 installation files are copied to a new folder named W2K3 under the winpe\mount folder.

My problem is when I include the W2K3 folder, winpe will load but immediately finish loading, it prompt error and not
execute the startnet.cmd. (I guess it straight jump to the w2k3 setup, but at that point the harddisk is not parepare yet
hence it gives error)

But if I exclude the W2K3 folder, I have no problem, winpe will load then trigger the startnet.cmd and I can type and execute some array configuration manually from the command prompt.

Is anyone have any idea why I can't include the W2K3 installation files together with winpe?
I have no problem with this when I use winpe 2005 in our previous image version.

Thanks!!

Share this topic:


  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy