Jump to content

Recommended Posts

Posted

Im trying to make a diskpart script and I want it to create the recovery parition first then create the main parition

So on blank drive it creates a 5GB partition first and then formats it and then labels it and assigns a letter

then it creates the main parition with what ever space is left over.

Select disk 0
Create Partition PRI Size=5000
Select partition 1
Format FS=NTFS Label="winre" QUICK
Assign letter=R
Create Partition PRI
select partition 2
Format FS=NTFS Label="Vista" QUICK
Assign LETTER=C
active


Posted
Select disk 0

clean

Create Partition PRI Size=5000

Format FS=NTFS Label="winre" QUICK

Assign letter=R

Create Partition PRI

select partition 2

active

Format FS=NTFS Label="Vista" QUICK

Assign LETTER=C

Don'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.

Posted

Don't forget, the assigned drives are only for thw winpe session. They may appear different in your installed operating system.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...