Link to home
Start Free TrialLog in
Avatar of Seal9
Seal9

asked on

Want to make one cd with a bootable WinXP and automatically making partitions.

Hi all,

I am trying to make one cd, with on it a bootable Unattended Windows XP with SP2, but also I want to use the gdisk on it to automatically make 3 partions. (must be NTFS, so I will add an fat32 to NTFS converter into the winnt.sif)

1: I have a script for making the partitions and
2: I can make a bootable Windows XP with SP2 (using Nlite for this)
but how can I add both things on ONE cd.

So when I put the cd in it I want to first create 3 partitions and when that has happened it must automatically start the unattended Windows XP installation.

1: using gdisk to make 3 partitions.
    problem is: how can I make this bootable.
2: getting one cd with both the bootable gdisk and the bootable windows xp.
    problem is: how to make a bootable disk with both on it.
3: getting the gdisk.bat to automatically start the unattended windows XP installation.
    problem: how to create a script that first will run the gdisk and after that redirects to the winnt.exe on the Windows XP.

Gdisk to create the partitions (not yet know how to make it start the Windows XP installation):

gdisk.exe 1 /del /all
gdisk.exe 1 /cre /pri /sz:10240 /for /q
gdisk.exe 1 /cre /ext
gdisk.exe 1 /cre /log /sz: /for /q
gdisk.exe 1 /cre /log /sz:10240 /for /q
gdisk.exe /r

Maybe I can add something here that the script will run this and after that make a .txt file when restarting and then checking if a .txt file is there so it will go to an install section where a script must be to start the Unattended Windows XP.

Hope you guys and/or girls can help me.

thnx alot so far.

regards Pieter
ASKER CERTIFIED SOLUTION
Avatar of JBlond
JBlond
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Seal9
Seal9

ASKER

Thnx for your help,

I used Barts way to make a bootable cd and now I have

\
|-I386
|-rest of windows dir.
|autorun.bat (customized to my needs)

The gdisk thing worked very good only when Windows XP starts his installation I get errors that he can't copy certain files that are needed. When I try the standalone WinXP cd it gives no errors and when I make the customized cd I get these copy errors.

Allready tried to copy the files from the orignial cd to my cd but still the errors are there.

cyclad-z.inf
cylom-y.inf
utopia~1.wav
utopia~2.wav
utopia~3.wav
utopia~4.wav
sv-262... .png files

those files give the copy errors so I tried to get them from the origninal cd (this cd works) but I still get those errors.

have no idea how to sort this out.

btw my partitions are all FAT32 and I will convert them to NTFS when I am in windows.

I hope anyone can help me :(.

thnx so far
Avatar of Seal9

ASKER

Ok I fixed the problem above.

Had to set the burning software making the bootable dvd on DOS mode.

So I want to JBlond for responding to my problem, its all fixed now.

thnx alot