Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Understanding Logical, Primary, and Extended Partitions

18 Jun 2011   #1
johntkucz

windows 7 pro
 
 
Understanding Logical, Primary, and Extended Partitions

This is from a blog post I am doing. The questions are at the bottom

Quote:
<strong>A Word on Primary/Extended/Logical Partitions
</strong>The difference between primary, extended, and logical partitions, to say the least, greatly confused me. Here's what you need to know. When you partition a drive you have the option of choosing the new partition to be primary or extended.

Primary partitions are partitions
<ol>
<li>from which you can boot an OS</li>
<li> automatically get assigned to a device location</li>
<li> partitioning them must involve the assignment of a filesystem (ntfs, ext4, FAT32, and the like)</li>
<li>have a maximum number of 4 (you can only have 4 primary partitions on any given single hard disk)</li>

Extended partitions
<li>have unlimited count per hard disk (there's no 4 maximum, like with primary partitions)</li>
<li>do not get automatically assigned a device location (nor drive letter in windows)</li>
<li>do NOT get formatted with a filesystem (filesystems are assigned later)</li></ol>

Here's a very helpful diagram from gparted.


"IMAGE of parittions


Now I made this overly complicated to illustrate the different partitioning types:

<ol>
<li>Partition 1, NTFS, Primary, 300GB,<strong> 1/4 Primary</strong>
</li>
<li>Partition 2, NTFS, Primary, 200GB,<strong> 2/4 Primary</strong>
</li>
<li>Partition 3 (called #5 in diagram), No filesystem, Extended, 300GB, (NOTE: Takes the Place of a primary partition! <strong>Counts as 3/4 primary partition)!</strong>
</li>
<ol>
<li>Partition3-1 (called Partition #6), Logical Partition of partition 3 (the extended partition), 29.29GB, ext2
</li>
<li>Partition3-1 (called partition #7 in gparted, idiotically), Logical partition of Partition 3, NTFS, 39.06GB
</li>
<li>Partition3-3 (called partition # 8), Logical Partition of Partition 3), 97.65GB, linux-swap (it would be idiotic to make the swap partition larger than the linux ext2/3/4 partition but this is just illustrative of primary, extended, and logical partitions.
</li>
<li>Partition3-4 (called partition #9), Logical partition of Partition 3, NTFS, 134GB.
</li>
</ol>
<li>Partition 4 (actually called partition #4 in gparted), ext4, 100GB, <strong>Primary Partition 4/4</strong>
</li>

</ol>


QUESTIONS


AFAIK, This partitioning scheme has 3 bootable partitions (the three primaries), 1 extended and 4 logical parititions within that one extended partition. Is it true that if you use an extended partition, it (nor any of its logical partitions can be booted from)?
What about linux-swap. I couldn't do an extended partition and make one logical ext4 and the other logical linux-swap? So using linux ext4 (primary) and linux-swap (primary) would take up two of the four primary parititions?


My System SpecsSystem Spec
.

18 Jun 2011   #2
johntkucz

windows 7 pro
 
 

Basically, the
TL;DR
is
if I do linux (ext4) (must be primary for it to be bootable with linux os, right?)
and a swap. Doesn't the swap have to be primary, too? How could it not?

I liked the idea of doing ONE extended with an ext4 and a linux-swap as two logical partitions within the extended, but then the ext4 with linux os couldn't boot??


BASICALLY: If you make an extended partition, (can one of those logical partitions be used as linux swap)? AND NONE of those logical partitions (nor the extended) one can boot from, correct??

This is slightly irksome and the 4 primary partition limit seems unnecessary.


(please don't bother responding if you've never worked with these three types of partitions)
My System SpecsSystem Spec
Reply

 Understanding Logical, Primary, and Extended Partitions




Thread Tools





Similar help and support threads
Thread Forum
Benefits of GPT vs MBR Primary and MBR Logical Partitions ?
I wish to hold some programs and some data on non-system partitions with no boot requirements. What are the benefits (performance and otherwise) of using a partition :- Logical on my MBR style HDD Primary on my MBR style HDD Primary on my GPT style HDD NB I have adequate unused space on...
Performance & Maintenance
Backup, shrink, rearrange primary partitions to create extended?
My new HP Zbook 15 laptop has a 500GB HDD with four primary partitions. Partition 1 is labeled "SYSTEM". Partition 2 is the Windows C: drive. Partition 3 is HP_RECOVERY. Partition 4 is HP_TOOLS. All but the Windows partition are pretty small. The Windows C: drive is 450GB, and the NTFS volume...
General Discussion
Logical Partitions to primary
Recently I make new partition using "AOMEI Partition Assistant Pro Edition 5.2" but my both new partitions goes to logical how can I make them back to primary because I wanna install windows xp on new partition but setup shows an error while installing " you have no hard drive to install the...
Installation & Setup
Primary, Extended, Logical
Hello all, First, when someone looks at his/her Windows machine's disk management, sees that some drives are primary or extended or logical and so on. What those things mean? Second, how they should be set up, for a Windows machine? Thank you.
General Discussion
Changing primary partitions to logical
So, I want to have Windows 7 Home Premium 86x and 64x versions installed on my PC with dualboot. I have 86x version of Windows 7 installed already. So, for 64x version, I have to create a new partition. The problem is, I already have 4 primary partitions, so I can't create a new one (I read...
General Discussion
Difference between Primary, Extended, Logical Partition
Windows 7 is coming pre-installed on my new PC from Dell. It has two 500GB HDDs. I want to partition the first drive into just a couple of partitions. I guess I will have to shrink the main partition to about 100GB for the OS and apps. But my question is: that partition with the OS and apps...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App