Discussion Locked

Partitioning on NT

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
we have an unattended NT installation.
We do the partitioning, during the DOS portion of the install, we use GDISK to do this.
Now I need to create an 4 GB system partition.
This is not a problem, I use extendoempartition.
But I can only partition the rest of the disk(s) after NT installation.
Is there a way to do this command line driven in disk administrator in NT?

Thanks in advance,

Eduard de Vries

8 replies

by mhartmann

Well as far as I know GDISK is the Norton Ghost Utility, right ? So depending on what version U got there has to be a scripting for this. Cause I am just writing here a scripting 4 Drive-Image 2/3. There you can use quite easy a scripting to write aImage back and also resize the partition ! You might want to check on that first, cause I do not believe that MS gives you that Chance ! :(, Good luck,
markus

by edrox

Sorry, using an imaging product is no solution for us, the whole reason for unattending is to get rid of it.
Thanks for helping,

Eduard

by edrox

It doesn't, if the partition is bigger then 2 GB dos will not recognise it.
Thanks,
Eduard

by dc1

There is no command line disk administrator utility. I used partiton magic and incorporated it into the unattended build to partion the rest of the disk as D: and format it NTFS. Another thought is use the SCRIPTIT utility from Microsoft and is issue a runonce at the end of the build which calls a batch file that executes a script which will partition your drives. Good Luck

by edrox

I will try it with scriptit, no clean solution, but it should do the trick.
Thanks,
Eduard

by tedbovis

I am installing 2000 server and use Gdisk for the disk partitioning process. The command lines I use are ...

gdisk 1 /MBR /WIPE /Y
gdisk 1 /CRE /SZ:3072 /PRI /FOR /Q /Y
gdisk 1 /CRE /SZ:14000 /EXT
gdisk 1 /CRE /SZ:10240 /LOG /FOR /Q /Y
gdisk 1 /CRE /SZ:1536 /LOG /FOR /Q /Y
gdisk 1 /CRE /SZ:1536 /LOG /FOR /Q /Y
gdisk 2 /MBR /WIPE /Y
gdisk 2 /CRE /SZ:16384 /PRI /FOR /Q /Y

As you can see this creates a 3Gb primary partition on drive 1 and an extendend partition of 14Gb with two logical drives a second physical drive is formatted as 16Gb primary partition. This is all done from a Win98 system boot disk and then after a reset an unattended install is started. Yep this does only give Basic disks under 2000 but works for the moment. Under 2000 there is NO way to drive the disk administrator even with VBscript that's why we are left with this setup. If you do need to drive the GUI when in NT you could think about using Scriptit (Microsoft Util) while this is far from great it should work under NT4 wi

by edrox

It helps, but I still cannot access a partition under DOS if it is bigger then 2 GB, so I can't copy my cd contents to my drive.

Thanks,

Eduard

This discussion is closed to new replies.