UncleBuck Posted April 1, 2005 Share Posted April 1, 2005 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 Link to comment Share on other sites More sharing options...
getwired Posted April 2, 2005 Share Posted April 2, 2005 Modify your startnet.cmd to consist of:DISKPART /S commands.txtFORMAT /Q /Y /FS:NTFSWINNT32.exe /syspart:C: /tempdrive:C: /dudisable /makelocalsource /unattend:unattend.txtEXITYour commands.txt file should consist of:SEL DIS 0CLEANCRE PAR PRI SIZE=40000CRE PAR PRISEL PAR 1ASSIGN LETTER=CACTIVESEL PAR 2ASSIGN LETTER=EBTW, you don't need to reboot. Just partition, format, and go. Link to comment Share on other sites More sharing options...
UncleBuck Posted April 2, 2005 Author Share Posted April 2, 2005 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 Link to comment Share on other sites More sharing options...
getwired Posted April 2, 2005 Share Posted April 2, 2005 Then all you need to do is the format step, omit all the diskpart stuff.And it's FORMAT C: /Q /Y /FS:NTFSYou have to feed it a drive letter. :-) Link to comment Share on other sites More sharing options...
UncleBuck Posted April 2, 2005 Author Share Posted April 2, 2005 Cheer's M8....I'll give it a bash... Link to comment Share on other sites More sharing options...
saffar Posted April 30, 2005 Share Posted April 30, 2005 Is it possible to format the hard disk similar way but make 2 patitions equal what ever the size is 50% and 50% Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now