xcellweb Posted May 20, 2009 Share Posted May 20, 2009 Im trying to make a diskpart script and I want it to create the recovery parition first then create the main paritionSo on blank drive it creates a 5GB partition first and then formats it and then labels it and assigns a letterthen it creates the main parition with what ever space is left over.Select disk 0Create Partition PRI Size=5000Select partition 1Format FS=NTFS Label="winre" QUICKAssign letter=RCreate Partition PRIselect partition 2Format FS=NTFS Label="Vista" QUICKAssign LETTER=Cactive Link to comment Share on other sites More sharing options...
Tripredacus Posted May 20, 2009 Share Posted May 20, 2009 Select disk 0cleanCreate Partition PRI Size=5000Format FS=NTFS Label="winre" QUICKAssign letter=RCreate Partition PRIselect partition 2activeFormat FS=NTFS Label="Vista" QUICKAssign LETTER=CDon't forget the clean command!Edit: No i am not going to update my thread yet. I'm getting burn out already so I'll save that for another day. Link to comment Share on other sites More sharing options...
gadget Posted May 20, 2009 Share Posted May 20, 2009 Don't forget, the assigned drives are only for thw winpe session. They may appear different in your installed operating system. Link to comment Share on other sites More sharing options...
Tripredacus Posted May 20, 2009 Share Posted May 20, 2009 I would hope that the OP will be hiding the recovery partition, in such case it should not get a drive letter except during the deployment phase. When you boot into the recovery partition after being unhidden, it will then appear to be the C drive iirc. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now