Jump to content

Diskpart problem


Guest tjabobom

Recommended Posts

Hey Dustinwmew thank you for the help , I went throught it but didnt help me cos they were talking about Automatic assignement of new letter to drives not how to reparition the HHD...anyways thex for the help...

yazan

Link to comment
Share on other sites


Guest tjabobom

Hi Yazanaswad!!

Well I am not an diskpart expert but I shuld try some thing like

Someting like this I think:

DISKPART /s diskpartcfg.txt

FORMAT C: /fs:ntfs /q /v:sys /y

FORMAT D: /fs:ntfs /q /v:vol1 /y

FORMAT E: /fs:ntfs /q /v:vol2 /y

(repet as many time you need)

diskpartcfg.txt

select disk 0

clean

create partition primary size=12000

select partition 1

assign letter=c

active

create partition extended

create partition logical Size=xxxx

assign letter=d

create partition logical Size=xxxx

assign letter=e

(repet as many time you need)

exit

MS Info:

Syntax

create partition logical [offset=n] [noerr]

Top of page

Parameters

size=n : The size of the logical drive in megabytes (MB). If no size is given, then the partition continues until there is no more free space in the current region.

Link to diskpart

http://www.microsoft.com/resources/documen...s/diskpart.mspx

Bye Per

Link to comment
Share on other sites

hey tjabobom Thank you so much for this great help man .. ok I got it now , BUT one more Question , you mentioned diskpartcfg.txt file right ok where to keep it in my CD??? though I have only main_batch.cmd and hotfixes.cmd, This will format and partition th HDD right , so this command should run in the begining right ?? How to put this command in the CD???? Thank you so much again for the help

Thx

Yazan

Link to comment
Share on other sites

Guest tjabobom

The diskpart config txt file..

I have a share on my network where I keep my

script files, because I change my scrip all the time so I dont need to burn new CDs all the time, so I use a netboot cd like bartPE look at www.nu2.nu..

You could burn it on a CD if you want or on a floppy but ju most have the right path.... I run the disk command file in same dir as the diskpartcfg.txt so it finds it else you have to put the path ex: a:\ .\subdir

examle of diskcfg.bat:

DISKPART /s a:\diskpartcfg.txt

FORMAT C: /fs:ntfs /q /v:sys /y

Per

Link to comment
Share on other sites

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