SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Build Your Own PC

(Solved) - @Rick

(29 posts)
  • Started 2 years ago by hArLtRoN
  • Latest reply from whs
  • Topic Viewed 1146 times

hArLtRoN
Posts: 766

I'm going to be doing a clean install (of Windows 7) on my desktop and I was wondering how I would make a 100GB partition on my hard drive with DiskPart using the following process. Would would be changed?

DiskPart <ENTER>

list disk <ENTER>

select disk 0 <ENTER>

clean all <ENTER> (Will Take a While)

create partition primary align=1024 <ENTER>

format fs=ntfs <ENTER> (Will Take a While)

assign <ENTER>

active <ENTER>

exit <ENTER>

exit <ENTER>

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

Just DO:

DiskPart <ENTER>

list disk <ENTER>

select disk 0 <ENTER>

clean <ENTER>

Dismiss all the way out and Ctr/Alt/Del to Reboot.

Follow directions per normal installation and Windows 7 will install with 100MB extra partition.

Posted 2 years ago
Top
 
whs
Posts: 17584

Rick, the way I understood him is that he wants a 100GB primary active partition to where to install. That way he avoids the 100MB system partition. If that is the case, I would suggest this command sequence:

DiskPart <ENTER>
list disk <ENTER>
select disk 0 <ENTER>
clean <ENTER> (Will be fast. The All parameter would write all zeros)
create partition primary align=1024 size=100000<ENTER> (size is 100GB)
format fs=ntfs quick <ENTER> (Will be fast)
assign <ENTER>
active <ENTER>
exit <ENTER>
exit <ENTER>

And since he did an alignment, he may be using a SSD. Then the 'All' parameter in Clean must be avoided. This parameter is anyhow useless in this context.

PS: I hope you don't mind me jumping in.

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

@whs,

I understand from reading his post that he wanted to do a Traditional Install with small boot partition.

Windows will do that automatically if the hard drive space is unallocated.

Posted 2 years ago
Top
 
whs
Posts: 17584

Correct, but why would he then want to define a 100GB (not MB) active primary partition?

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

I think he made a "Typo". :) :)

Posted 2 years ago
Top
 
whs
Posts: 17584

Maybe you are right. Let's see what he'll say when he comes back.

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

Thank you guys for all of your input.
I want to do a one partition install so that I do not have the 100MB partition and I am using and HDD, have not had the chance to get an SSD yet, my cash is very limited.

Let me verify I understand right, if I want to have a 1 partition install with that partition being 100GB I should use this command sequence:


DiskPart <ENTER>
list disk <ENTER>
select disk 0 <ENTER>
clean <ENTER> (Will be fast. The All parameter would write all zeros)
create partition primary align=1024 size=100000<ENTER> (size is 100GB)
format fs=ntfs quick <ENTER> (Will be fast)
assign <ENTER>
active <ENTER>
exit <ENTER>
exit <ENTER>

Thank you guys for your help!

Posted 2 years ago
Top
 
whs
Posts: 17584

Correct - provided that Disk0 is the disk to which you want to install. The 'align' parameter is of limited use for a HDD, but it does not hurt. I thought you put it there because you were using a SSD.

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

NO !!

Have to define ALL Partitions BEFORE doing the Clean Install so NO disk space is left unallocated which forces Win7 NOT to make the small boot partition.

Understand ??? :)

Rick P.

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

@whs,
Disk0 will be the only disk plugged in. I always unplug all of the discs except for the one I will be installing my OS to.

I had the "align" parameter in there only because it was how I've always done it after Rick's advice in numerous other postings.

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

@Rick,
So would I just create another partition after the first 100GB?

My HDD is 500GB and I want it to be laid out like this:

Partition 1 C:\ (Windows Installed Here) 100GB
Partition 2 E:\ (Personal Files Partition) 400GB

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

Yes create First partition and format of 100GB and then create Second partition and format the remainder of HDD so ALL space on HDD is allocated and formatted BEFORE doing Clean Custom Install.

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

Alright, thanks!

So the final command sequence would be:


DiskPart <ENTER>
list disk <ENTER>
select disk 0 <ENTER>
clean <ENTER>
create partition primary align=1024 size=100000<ENTER>
format fs=ntfs quick <ENTER>
assign <ENTER>
active <ENTER>
select disk 0 <ENTER>
create partition primary align=1024 size=400000<ENTER>
format fs=ntfs quick <ENTER>
assign <ENTER>
active <ENTER>
exit <ENTER>
exit <ENTER>

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

DiskPart <ENTER>
list disk <ENTER>
select disk 0 <ENTER>
clean <ENTER>
create partition primary align=1024 size=100000 <ENTER>
format fs=ntfs quick <ENTER>
assign <ENTER>
active <ENTER>
select disk 0 <ENTER>
create partition primary <ENTER>
format fs=ntfs quick <ENTER>
assign <ENTER>
exit <ENTER>
exit <ENTER>

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

Thank you very much!

I learn something new everyday!

Shawn C.

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

Thanks whs for your input as well :)

Shawn C.

Posted 2 years ago
Top
 
whs
Posts: 17584

I would create the second partition with Disk Management once the OS is installed. I am not sure what happens when you do not specify an 'offset' parameter.

Posted 2 years ago
Top
 
hArLtRoN
Posts: 766

@whs,
What do you mean by "'offset' parameter?"

Posted 2 years ago
Top
 
raphoenix
Posts: 14920

No Offset or Align on Second Partition.

Also in Windows 7, don't really need Align Command at all as that was only for Vista and Below.

Windows 7 and 8 automatically aligns sectors.

Have to define ALL disk geometry FIRST before Clean Installing OR System will make the little boot partition.

Posted 2 years ago
Top
 



Topic Closed

This topic has been closed to new replies.