digital8 Second Lieutenant
Joined: 29 Sep 2005
Posts: 1002
|
Posted: Fri Oct 07, 2005 10:30 am Post subject: Forum Stories: Disk Part using Bare metal |
|
|
How can I use disk part ising WinPE on bare metal scenerio?
Create a textfile named diskpart.txt containing
select disk 0
clean
create partition primary size = 8192
active
assign letter = c
Then start diskpart using the /s switch, eg:
diskpart /s diskpart.txt
Then format the drive using
format c: /fs:ntfs /v:System /q /y
Its worth pointing out if you are new to Diskpart that if you look at someone elses script file as an example, you may find the following:
select disk 0
clean
create partition primary size = 8192
active
assign letter = c
Looks like this
Sel Dis 0
Clean
Cre Par Pri size = 8192
Act
assign letter = c
Some people abbreviate the commands. Diskpart supports this on most commands (you just use the 1st 3 characters of the command). |
|