Jump to content

Need help with Bart's PE and Diskpart


Recommended Posts

Posted

I am using this guide to make my Unattended Windows CD... http://unattended.msfn.org/unattended.xp/view/web/1/

On the part, where it comes, that » I want to manually control my partitioning and formatting options...

If you prefer to manually choose a partition during text-mode setup with full control on choice of file system, then make sure you have these lines set as they are under the [Data] and [unattended] sections in winnt.sif:

[Data]

AutoPartition=0

[unattended]

FileSystem=*

If you want to automate this process with exact specifics on drive letters, partition sizes and file systems, you may want to consider using Bart's PE and diskpart.

Link: http://unattended.msfn.org/unattended.xp/view/web/7/

So, basically I want to automate this process to create, a 10gb C: drive and the rest for my D: drive... I have a 40gb harddisk. However, I donot know how to use Bart's PE and diskpart, though I've downloaded them both... Any help would be most appreciated...


Posted

You can use diskpart script

diskpart /s diskpart.txt

diskpart.txt:
select disk 0
clean
create partition primary size=10000
active
assign letter=c
create partition primary size=30000
assign letter=d
exit

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