Page 1 of 1
Auto Start...format ? NTFS Format
#1
Posted 01 April 2005 - 05:15 PM
Hi guy's I've a problem that I'm hoping you can help me with....basically I'm creating a unattended install, but first I want to, befor the install starts is format the first partition on my hard drive. My hard drive is 80 gig...c:\ 40 gig and d:\40 gig, I would like to somehow in either bart PE and WinPE boot into NTFS and automatically format c:\ partition then re-boot and start my unattended install..Any help guy's Pleeeeeze
#2
Posted 01 April 2005 - 07:36 PM
Modify your startnet.cmd to consist of:
DISKPART /S commands.txt
FORMAT /Q /Y /FS:NTFS
WINNT32.exe /syspart:C: /tempdrive:C: /dudisable /makelocalsource /unattend:unattend.txt
EXIT
Your commands.txt file should consist of:
SEL DIS 0
CLEAN
CRE PAR PRI SIZE=40000
CRE PAR PRI
SEL PAR 1
ASSIGN LETTER=C
ACTIVE
SEL PAR 2
ASSIGN LETTER=E
BTW, you don't need to reboot. Just partition, format, and go.
DISKPART /S commands.txt
FORMAT /Q /Y /FS:NTFS
WINNT32.exe /syspart:C: /tempdrive:C: /dudisable /makelocalsource /unattend:unattend.txt
EXIT
Your commands.txt file should consist of:
SEL DIS 0
CLEAN
CRE PAR PRI SIZE=40000
CRE PAR PRI
SEL PAR 1
ASSIGN LETTER=C
ACTIVE
SEL PAR 2
ASSIGN LETTER=E
BTW, you don't need to reboot. Just partition, format, and go.
#3
Posted 02 April 2005 - 05:00 AM
WoW..cheer's M8, Will that leave partition d: intact ?
I'll give it a go that way. I tried a simular way but it formatted the whole of C:, then partitioned it again with C: and D: but I lost all my data on D:....
As I only want to format c: partition....
cheer's M8
I'll give it a go that way. I tried a simular way but it formatted the whole of C:, then partitioned it again with C: and D: but I lost all my data on D:....
As I only want to format c: partition....
cheer's M8
#4
Posted 02 April 2005 - 08:00 AM
Then all you need to do is the format step, omit all the diskpart stuff.
And it's
FORMAT C: /Q /Y /FS:NTFS
You have to feed it a drive letter. :-)
And it's
FORMAT C: /Q /Y /FS:NTFS
You have to feed it a drive letter. :-)
#6
Posted 30 April 2005 - 02:01 AM
Is it possible to format the hard disk similar way but make 2 patitions equal what ever the size is 50% and 50%
Share this topic:
Page 1 of 1



Help
Back to top









