Want to make one cd with a bootable WinXP and automatically making partitions.
Posted on 2005-04-14
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
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.