Taken from: http://www.pcguide.com/ref/hdd/file/structPartitions-c.html In order to use the space in a hard disk, it must be partitioned. Partitioning is the process of dividing the hard disk's space into chunks, so they can be prepared for use, or even dedicated to different uses. Even if the entire disk is intended to be left in one piece, it must be partitioned so that the operating system knows that it is intended to be left in one piece. There are many different considerations that go into deciding how to partition a hard disk. The rules that determine how partitions are used were set down very early in the original design of the PC, and have remained virtually unchanged since that time. Recall that when the PC was first invented there was only (really) one type of file system. Still, it was envisioned that in the future, multiple operating systems and/or file systems might be wanted on a single machine. Therefore, provision was made in the partitioning scheme to allow for several different partitions. The rules that govern partition setup are as follows: A maximum of four partitions can be placed on any hard disk. These are sometimes called primary partitions. The limitation of four is one that is imposed on the system by the way that the master boot record is structured. Only one partition may be designated, at any given time, as active. That partition will be used for booting the system. See here for more on active partitions and switching active status between partitions. DOS (and the operating systems that depend on it for booting, which includes all consumer Windows operating systems) will only recognize the active primary partition. Any other primary partitions will be ignored. One of the four partitions may be designated as an extended DOS partition. This partition may then be subdivided into multiple logical partitions. This is the way that two or more logical DOS volumes can be placed on a single hard disk. Alright, I realize that this is somewhat confusing, so let's take a look at some examples of systems, to show you how this scheme is used: Single Partition Windows PC: Many PCs have all of their disk space made into a single partition, and use one of the FAT file systems. Such a machine would have just a single FAT primary partition on it, and nothing else. The other three "slots" for partitions on the disk would be empty. Multiple Partition Windows PC: To use more than one partition at a time on a DOS/Windows system, two partitions are used. One is a regular DOS primary partition (which becomes the "C:" drive). The other is the extended DOS partition. Within the extended DOS partition, all the other logical drives are created. So a drive with four logical drive letters would have the first (C:) be the active primary partition, and the other three (D:, E: and F:) would be logicals within the extended DOS partition. Multiple Operating System PC: A system with multiple operating systems could use one primary partition for each of up to four different file systems. If you want, you can also combine multiple partitions with multiple operating systems. For example, you could have a primary DOS partition, an extended DOS partition, and a Linux partition. Such setups are far less common than the simpler examples above. The extended DOS partition causes most of the confusion on the part of those setting up new DOS/Windows PCs. It really functions as a "container" that holds all DOS partitions except for the first (primary) volume. The reason that this structure was used is that the original design, with its limit of four partitions, was too restrictive. The extended DOS partition system allows you to have up to 24 disk partitions in a single system, without violating compatibility with older hardware and software designed based on the original four-partition limit. Of course, nobody would use that many partitions on a system in most cases, because it would be a data organization nightmare! :^) Within the extended DOS partition, the logical drives are stored in a linked structure. The extended partition's information is contained in the master partition table (since the extended partition is one of the four partitions stored in the master boot record). It contains a link to an extended partition table that describes the first logical partition for the disk. That table contains information about that first logical partition, and a link to the next extended partition table which describes the second logical partition on the disk, and so on. The extended partition tables are linked in a chain starting from the master partition table. In terms of how the disk is used, there are only two main differences between a primary and a logical partition or volume. The first is that a primary partition can be set as bootable (active) while a logical cannot. The second is that DOS assigns drive letters (C:, D: etc.) differently to primary and logical volumes. Here's an example to hopefully make all of this a bit more clear. Let's suppose you are setting up a new system and starting with an empty 60 GB hard disk. You could create a single 60 GB partition, which would be a primary DOS partition. However, in many cases dividing up such a large disk will make it easier to manage the space, will reduce lost disk space due to slack, and will reduce defragmentation time on partitions containing more actively-used data. (See here for much more on the issues involved in partitioning.) So instead, let's say you want to split up this drive as follows: One 8 GB primary partition for Windows and other operating system and program files. One 12 GB partition for data. One 16 GB partition for games. The rest of the disk in a 24 GB partition for large multimedia files, short-term backups and "future expansion". I'm assuming no complicating factors here, just a simple example. To do this, you will first set up a primary DOS partition 8 GB in size. This is the first of your four partitions. You will then create an extended DOS partition that is 52 GB in size. This is the second partition on the hard disk. Within the extended DOS partition you will create three logical volumes: one 12 GB, one 16 GB and one 24 GB. These are your second, third and fourth volumes (logical partitions). The first partition will be your C: drive from which you boot the machine, and DOS will (normally) assign D:, E: and F: to the other three logical partitions. Your hard disk will have one primary DOS partition, and one extended DOS partition containing three logical DOS volumes.
A primary partition can have an operating system installed on it (eg: Windows XP). Most computers only have one primary partition. The limit is four. To get around this limit, one primary partition can be traded for an extended partition. This extended partition can be split into logical drives. All of these drives will show up to a regular user as being the same.
Ther can only be one Extended Partition per hard drive
primary, extended, logical - 3 types
in Linux this is the second logical drive inthe extended partition on the primary slave hard drive
Create one primary partition and an extended partition with four logical drives within it.
On MBR partitioned hard-drives only 4 primary partition can be created. (Use extended and logical partitions to create more partitions).
Typically you can only have 4 primary partitions per hard drive if you are using the MBR partition layout scheme. If you need more partitions than the maximum allowed (4), then there is a way to get many more partitions with only one hard drive.By creating an extended partition you can have as many logical partitions as you need within that extended partition, thus you can have more than only four partitions. You can have 3 primary partitions and one extended partition (for a total of 4), and inside the extended partition you can have as many logical partitions as you need.The one thing to keep in mind is that any type of Windows Operating System needs to be installed in a primary partition, otherwise you cannot boot into it. Windows XP in particular, needs to be installed in the first primary partition. For everything else, you can create as many logical partitions as you want inside the extended partition.
Same as it is for any other operating system: A primary partition is a "physical" partition that the Legacy BIOS's MBR partition table can recognize. Contrast this with a logical partition, which is a partition stored in an extended partition to work around Legacy BIOS' inability to handle 4 real, physical, primary partitions at a time. Today, on UEFI systems which use GPT, the "primary partition" vs "logical partition" concept is pretty pointless, as you can have as many true-to-life partitions you want on your hard disk due to the face UEFI does things a load better than Legacy BIOS.
The primary disk partition is the main partition that your operating system is on your hard drive. If you only had 1 OS on your computer such as Windows, then you would have two partitions, 1 would be a backup/recovery that includes that boot manager, and the second partition (the primary) would be the one that includes all of your files and the OS itself.
That depends on what primary partition the fourth extended partition has been placed on. If it was on the first primary partition, it would be /dev/sdb5 (or /dev/hdb5). If it was on the second primary partition, it would be /dev/sdb6 (or /dev/hdb6). If the third, /dev/sdb7, etc... Of course that's assuming you have placed all your logical partitions in a single primary partition. There are several other arrangements you could theoretically have made.
In Windows Server 2008, a physical drive using MBR partition style can have up to four primary partitions and one extended partition.
simple volumnes
Assuming one of them is an extended partition on an MS-DOS partition table: Eight. If the partitions are all primary partitions: Four.