Jump to content

Recommended Posts

Posted

I am trying to achive an unattended installation of Windows XP with SP2

What I want to do is to PXE-boot to an Windows PE v2, unattended partition and format the harddidsk and then install Windows XP unattended.

But the unattended partition and formating of the disk fails.

I am using Diskpart.

My commands basicly looks like this.

[startnet.cmd]

drvload x:\windows\lan\netamd.inf
wpeinit
net use z: \\server01\reminst /USER:[My username] [My password]
x:\windows\system32\Wscript.exe z:\Share\Scripts\install.vbs

[install.vbs]

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "diskpart /s z:\Share\Scripts\disk.txt", 1, True
WshShell.Run "CMD.exe /C echo y | format C: /FS:NTFS /Q /V:System", 1, True
WshShell.Run "CMD.exe /C z:\Share\I386\winnt32.exe /syspart:c: /s:z:\Share\I386 /unattend:z:\Share\unattend.txt /copysource:lang", 1, true

[disk1.txt]

select disk 0
clean
create partition primary
select partition 1
active
assign letter = C

The installation starts and after the first boot I get the error

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

Can anyone help me with this one?!

I have tried a numbers of different ways, but nothing seems to work.


Posted

I feel SOOOOO stupid.

I removed /copysource:lang and then it started.

:-)

Well, I might come back when I bump into more problem.

Or perhaps someone has a few tip to give me on the way.

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...