Create multiple partitions from a boot disk
Posted on 2005-04-08
My company purchases small amounts of PCs every few months and that leaves me with two major problems: 1. I have to keep a massive driver library and 2. I can't use imaging software to automate my builds. To automate the process as much as possible I use a boot disk to create the primary partition (Windows 98 boot disk with FDISK with an FDISK answer file), a network boot disk (MODBOOT) to load NDIS drivers for the network card and connect to a network share where winnt.exe is called with an unattended switch and answer file. Once the OS is installed I run a vbs-based application "buildscript".
What I need to do is get two partitions on the disk before the OS is loaded from the network share, I can then specify an alternative path for (amongst others) the Documents and Settings folder. I need to assign 10GB to the first partition and fill the rest of the drive with the second. The format of the drive is unimportant as I can convert at a later stage (although it would be useful if it was NTFS straight off).
Does anyone know of any software package that can do this or failing that does anyone think I can use FDISK to create the second partition (preferably as a primary partition as well) and make sure it fills the remainder of the drive EVEN when the disk size will change depending on the PC?
I'm sorry I can only offer 50 points but I have yet to answer enough questions. I will get more philanthropic when I can afford it!