68

I am in the process of reinstalling Ubuntu. When I got to this step:

Ubuntu Partitioning

I was prompted to choose a logical or a primary partition. I've never seen this dialog box before -- before it just told me to choose the mount point and the format.

Should I choose logical or primary? The default is logical.

2 Answers 2

56

The short answer "it does not matter much".

MBR partitioning scheme allows you to have up to 4 partitions on a drive, one of those partitions can be an "extended partition", which acts as a container for any number of "logical partitions". The partitions which are not inside the extended partition are called "primary partitions".

There's no difference in how they function or anything. So, if you don't have specific reasons, just go with the default choice.

2
  • Thanks! Currently partitioning and I used the defaults. I'll see how it goes. Apr 12, 2012 at 0:48
  • 13
    FWIW, when I get a new drive, I usually create one big extended partition, with no primary partitions at all. This give full freedom to create as many logical partitions as I need, and to resize any partitions in the future without too much fuss. I've never had a problem doing it this way with any OS. May 1, 2012 at 18:45
11

I think the explanation below is too basic for the OP, but I think it could be useful for a beginner.

That choice between "primary" and "logical" has always seemed confusing to me, because the terms are not alternatives (logically, I mean).

For a clear definition of the terms - there is a good answer here.

The difference between "primary" and "logical" is imposed by the limits of the MBR partition scheme, where a drive can only contain 4 partitions. When such partitions are created on a such derive, they are called "primary". In order to go above that limit, there is the "extended" partition, which is different from the primary in that it is not a partition on which you can put things and boot from it, but a sort of container for other partitions, a sort of virtual "drive" which can include more than 4 partitions.

In layman's words: when a partition is created simply on a drive (in a MBR partition-scheme), it is called "primary", when it is created within an extended partition, it is called "logical".

All that is rather clear.

What about the confusion? There is no confusion when partitioning with Gparted or similar tools which provide a choice between creating primary or extended partitions: we are not asked whether we want "logical" ones, because we need an extended one before having a logical one, and when we create a partition within an extended one, the new partition can only be logical.

The real choice is between primary or extended, and that's what we see in a partitioning tool.

The GUI tool in the question is an installer, not a partitioning tool, and the choice it provides can be misleading: if we select "primary", that will result in what the terms says; but if we select "logical", it will create an extended partition containing one logical partition.

That GUI doesn't say anything about "extended" partitions, we are supposed to know that a logical partition can only be inside an extended one, etc. But the fact that it doesn't ask if we want more than one logical partition within that extended one, and simply creates one logical that fills the entire extended partition is confusing to me. I don't understand what the use of that could be.

2
  • 1
    The question and first/accepted answer are from Apr 12 '12 ... So hopefully OP has been happy with it for the last 8 years !
    – Soren A
    Feb 3, 2020 at 10:32
  • 1
    @SorenA - I am aware of that, as I say at the beginning. But this old post has been in the past the answer to my own question about that installer, which involved a confusion that now I realize was only partly my fault, and partly that of the installer itself. I was trying to avoid that confusion for people that would be in my position. I have even asked a new question here.
    – cipricus
    Feb 3, 2020 at 10:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .