About Contribute Disclaimer Contact News
Disclaimer
The information on this site is offered in good faith and no responsibility can be accepted for misuse that leads to loss of data or damaged hardware.
Help Us Improve
Have you spotted an error, or found something confusing or ambiguous? Help us improve our articles......


Google Advert Links
-
-
spacer Multibooters.com

An Introduction to Hard Drive Partitions.

partition sections

What We Need To Know.
A basic introduction to partitions could fill a decent sized book, but we wouldn't need to know a fraction of it to be able to successfully partition a hard drive for our multibooting needs. We only have to understand a few of the rules and conventions on what type of partitions we should be using and how they should be organized and placed on a hard drive.



What Are Partitions?

Simply, partitions are a way of dividing up an area into separate sections that we can use for different functions. A hard drive can be just one single partition, or we can split it up into a number of individual partitions that we can use to isolate operating systems from each other, or keep data more organized and secure by moving it out of the operating system's partition and into its own dedicated space. In addition, operating systems such as Linux require a different file system to Windows and so by having separate partitions we can give each operating system the environment it requires.

See What We Are Doing.
Included in Windows NT operating systems is a tool called Disk Management that gives us a nice graphical view of hard drives and their partitions. The actual physical nature of partitions on both mechanical and solid state hard drives is obviously not as simple as displayed in the single graphic bar shown in the average partition management tool, but for most purposes the viewing of a hard drive as a single continuous space is the perfect way for us to visualize and understand how we can divide it up into our desired individual sections. We will favor using the Windows tool whenever possible not just because of its uncluttered and clear layout, or that it is sometimes the best tool for the job, but also because it can't or it won't let us do destructive acts without displaying clear warnings of the consequences. Refer to our guide on using the Windows Disk Management utility for the finer details on all of the important stuff you will need to know.

Fig:1
diskmanagement partition view
In our first image we have a 500gig hard drive that has a single partition that spans the entire drive. It is a primary partition and if we only have one hard drive and one partition, then it has to be a primary partition for us to be able to install a Windows operating system to the drive.

Almost all store-bought computers will come with at least two or three partitions already on the hard drive. Please realize that reconfiguring an existing multi-partition setup should not be tackled lightly if there is anything on the drive that you would not like to lose. Even if you started with a blank drive and installed just Windows there could be extra partitions that are linked to the Windows partition, so we recommend that before you embark on any new partition mission you should be familiar with such things as Recovery and System partitions. Also be aware that there are now two different partitioning styles that can be used on a hard drive and the information on this page only covers the traditional MBR/msdos way of doing things. The new GUID Partition Table (GPT) has different rules and conventions and we will be producing guides on everything GPT in due course. info iconDetermine if a Hard Drive is MBR or GPT.

Keep it Basic.
The Windows Disk Management tool will give options for making hard drives and partitions either Basic or Dynamic. We strongly advise against mixing any kind of Dynamic system, or RAID setup, with multibooting or cloning because both will introduce another level of complexity that if not managed absolutely correctly could cause more problems than they solve. Our main aim at multibooters is to show you how to create a stable and dependable machine, but we also hope to give you some understanding of how it all works so that if the need ever arises you will have a fair chance of affecting a recovery. A broken Dynamic or RAID configured machine can be a challenge to recover even when there is only one operating system, so we suggest you leave such things to the pros and the adventure seeking enthusiasts.info iconDon't be the Dynamic Type.
info iconWhy a "Risky Array" can be bad for your PC. (outside link)



Fig:2
In our second image we have a second hard drive that has four primary partitions. A drive that has been configured to use the traditional MBR style of partitioning can have a maximum number of only four primary partitions, no matter how large the hard drive is. We have given the partitions the labels of One, Two, Three and Four purely for illustration purposes.

Scaling View Options.
You will notice that the default view of Disk Management in fig:2 is showing all the partitions on the second drive as taking up almost an equal percentage of the hard drive, even though they are of quite different sizes. Some other disk partitioning tools will scale their displays to give a better sense of the relative size of each partition, and you can find a few options in the Windows Disk Management tool where you can alter scaling options to give the display a more representative view.

Fig:3
diskmap four partitions
This image shows the same drive with the same partitions as in fig:2 - just with the display option set to Linear Scaling. Unfortunately any alterations to the scaling settings don't persist to the next time that Disk Management is opened, so you either have to alter them each time you start the utility, or create a custom consol file, or just live with the default view, which trust us you will quickly accept.   info iconChange Disk Management's View Settings


File Systems and Formatting.
Partitions of course need to be formatted with a suitable file system for the purpose the partition is going to be put to. We can have this done when the partition is created, or we can manually format or reformat ourselves at any time, or we can let the install of an operating system do it. When it comes to Windows it is mainly all the NTFS file system, so there should be little to get worried about, but you will find it all covered in detail on this page....info iconFormatting Partitions.

Letters and Labels.
Each Windows compatible partition can be given a drive letter either at the time of creation or at any time afterwards. This will allow it to appear in both My Computer and Windows Explorer as a separate drive where you will be able to read and write files to it. There are restrictions with what you can do with the drive letters of Windows or a System partition, which you will find covered in one of our other guides. info iconAdd, Remove or Change Windows Drive Letters.

It is likewise with labels in that they can be assigned during partition creation or at a later time. The name that you can give to individual partitions is known as the Volume Label and if you don't assign your own personal labels they will be given the default of either Local Disk, or New Volume. We suggest you give all your partitions a unique descriptive label that will allow you at a glance to remember what you have on each partition. warning icon Windows 2000 users please note that only in correct circumstances can we change the OS Volume Label without making Win2K unbootable. info iconWin2000 Special Conditions.

Fig:4
diskmap four partitions
This image is of the same drives and partitions shown in fig:2 above, except we have changed all the Labels, plus given letters to the partitions on the second drive. The result is that all partitions now show as drives in Windows - fig:5.


Fig:5
diskmap four partitions
We would not normally need or want all these partitions showing and being accessible to Windows. Removing the drive letter from a partition will remove the drive and essentially make it invisible to Windows, and most malware. Typically we would only want our Windows C: drive and our Data partition/s visible and accessible.


 

Logical Partitions

To get around the 4 partition limit of the traditional MBR/msdos partition table an extra function was added that made it possible to extend the capabilities of a standard partition so that it could be divided up internally into individual partitions. An Extended primary partition can hold as many individual partitions as we have the room for, allowing us to greatly exceed the 4 partition limit of a hard drive. The partitions inside an Extended partition are called Logical partitions and in most regards they are the same as any other partition in that they are merely an area on the drive that can be given its own individual format and function. Just as with primary partitions we can choose the volume labels and change or assign drive letters so they will appear as drives in Windows, where they will be indistinguishable from primary partitions. Microsoft calls a logical partition a Logical Drive, and I have never figured out why.

Fig:6
diskmap four partitions
The drive in this image is the same one from fig:3 above, except that we have turned the forth primary into an Extended partition and then split it into 5 separate logical partitions. The dark green border around the forth primary indicates it is now an Extended partition. The lighter blue along the top of our new partitions tells us that they are logicals.


Configurations and Conventions.
It is possible to have almost any combination of the different partition types as we care to within the four primary partition rule. We can have two primaries and one extended, one primary and an extended, or even just one extended taking up the entire drive. We could have two or more extended partitions if we wanted, but there would be little point as we can have as many logicals in one extended as we could have in four. Many partitioning tools work to the convention that we should only ever need one extended and so will have no provision for creating more that one per hard drive. It is also convention that any extended partition should be the last of the primaries on the drive, which you will find that the latest versions of the Windows Disk Management tool makes you adhere to.

We agree with the conventions of having only one extended and that is should be the last of however many primaries you have on the drive. Partitions are numbered in the order of primaries from 1 to 4 and many partition tools and bootmanagers and Linux will number logicals from 5 onwards, so if you have an extended partition situated on the drive before another primary, the numbering order will be out of the normal progression and out of sync with the physical order of the partitions. For example if you turned the third of four primaries into an extended and created two logicals inside of it, you would have six partitions defined on the drive in the physical order of primary, primary, extended, logical, logical, primary, but their numbering order could be seen as 1,2,3,5,6,4. While this may cause few direct issues on a machine with just one operating system, on a multiboot machine both ourselves and bootmanagers can get confused.


 

What We Can and Cannot do With Logical Partitions.

Most notably we can't install an independent and stand-alone copy of Windows directly to a logical partition. This is because the Windows native install routines will only accept a primary partition for the location of the boot manager/loader files. So it is only if we accept and allow the use of a primary partition as a System Partition will we be able to install Windows directly to a logical partition. However it won't be a stand-alone and independent install as it will only be bootable through the separate System partition. This configuration is fine if we want to use the Windows bootmanager, but if we intend to use any other bootmanager we will have to either move the Windows bootfiles after an install, or preferably we could just clone Windows to logical partitions. By employing cloning and a suitable bootmanager we can run as many independent Windows operating systems from logical partitions as we have the space for.

Linux.
We can however install a complete and independent copy of Linux to a logical partition and use any bootmanager of our choice, even the Windows one. During the install setup of most Linux operating systems there will be an option to choose the location of important boot files, which if we choose the same partition as the operating system will result in a fully independent install. Such a Linux install won't be bootable by the stock boot code in the Microsoft MBR on the hard drive, so we do have to use a separate bootmanager. This could even be Linux's own bootmanager, but if we choose during the Linux install to set this up by allowing the placement of some files in either the MBR or a primary partition, it will break the
Demise Of Logical
Logical partitions will soon become a thing of the past because technology is marching on and new procedures are taking over. The new GUID partition table (GPT) that is now shipping as standard on most store-bought Windows-8 computers has no provision for creating logical or extended partitions because the primary partition limit has been removed. On Windows machines we will be able to have 128 primary partitions, which should satisfy all but tech extremophiles for the foreseeable future. With the newest hardware or just a supporting operating system any drive can now be configured with the new partition table, so the day of the logical is numbered.
info iconIntroduction to GPT and UEFI
independent nature of our Linux install, which will mean that if we lose or damage the bootmanager by altering its components in the MBR or other partition, that linux OS will not be bootable from another bootmanager.

Primary Use of Logicals.
In most other regards we can do just about anything with a logical partition that we can do with a primary. They are perfect for data and swap partitions and Linux operating systems, and for a lightweight Windows utility operating system from where we can do our cloning and backups from. They are also ideal for holding complete backup clones of our main Windows operating system.

There is little to stop us from running an independent Windows entirely from a logical partition, but it can come down to the capabilities of your bootmanager and the settings you favor with regards to the hiding of other partitions. We have personally been running independent Windows installs from logical partitions since Win98 days and we did not experienced any problems until ServicePack1 for Windows-7, which will not install to the OS on a logical partition unless that logical is connected to a System partition that is on a primary. There may be other issues we have simply never encountered, so we would suggest you keep your master and main working installs of Windows on primary partitions and use the logicals for everything else.


 

partition numbers icon

More Partition Numbering Issues.

There is another way that partition numbers can get jumbled on a drive and it has to do with the order in which partitions are created. There are 4 slots in the partition table for primary partitions and if we partition up a clean drive the partitions will unsurprisingly take the slots in the order of 1, 2, 3, 4 and be numbered accordingly. If we later merge say partitions 2 and 3 together, then the partition that was number 3 becomes a part of partition 2 and so slot 3 is vacated, but partition number 4 will not be moved from the 4th slot or have its original number changed, so our three partitions on our drive will be numbered 1, 2, 4. If we were then to shrink partition 4 to give us free space to add another primary partition to the end of the drive, then that new last partition would have to take the only available free slot in the partition table. Hence our 4 primaries would be numbered 1, 2, 4, 3.

And More.
A somewhat similar result can occur with the numbering of logical partitions if we delete and recreate them with certain third-party partitioning tools, which most notably for us would be Gparted, (or any other Linux tool built on Parted). It is a slightly different mechanism at work because there are not the same partition table slots for logicals, but the results are the same and can make things even more confusing for us and our bootmanagers. Full details on all numbering issues and how you can reorder out of sync partition numbers can be found on this page....info iconPartitions Numbered Out of Sequence.



sections icon
Summary and Recap.
There can be a maximum of only 4 primary partitions on a traditional MBR configured hard drive.
We should turn only one of these primaries into an extended primary partition, which we can then divide up into as many logical partitions as we have space for.

An extended primary partition should always be the last of however many primaries we have on a drive.

The correct numbering order of both primary and logical partitions on a hard drive should be checked for and maintained.


 

 

A few more things to know.


4k icon
Partition Alignment Settings.
From Vista onwards the Windows Disk Management utility started making partitions to a different set of rules from the traditional standards of the previous 30 years. This was to accommodate the new Advanced Format hard drives which have much larger internal sectors, which for optimum performance require that partitions are placed slightly differently so that they line up with these new sectors. Before we do any partitioning work on a drive we should ascertain the current alignments of any existing partitions, know which alignment standards we should be working to, and be sure we are using a partitioning tool that is capable of producing the required results.
info iconIntroduction to Advanced Format Hard Drives.   info iconWorking With the New Partition Alignments.

 

volume icon
Partition or Volume.
The most recent versions of the Disk Management tool no longer refers to partitions as partitions, but instead calls them Simple Volumes. A partition is just an area, or volume, of space on a hard drive and when talking about a single partition the terms partition and volume mean the same thing. It is only when a volume is comprised of more than one partition that the terms partition and volume do not mean the same thing.

On a machine where the hard drives have been configured to be Dynamic Disks it is possible to link partitions together so that Windows will treat them as a single volume and therefore see them as a single drive with a single drive letter. These type of multi-partition volumes can't accurately be described as partitions, so to avoid any confusion the term partition has been dropped in favor of volume, which can be used correctly to refer to both single and multi-partition volumes. To differentiate what type of volume a volume is, the prefix Simple is used to describe a volume that is composed of a single partition. Hence partition and simple volume mean the same thing.


 

partitions icon
Partitioning Best Practices.
Many third-party partitioning tools will offer the uninitiated a myriad of options for modifying, resizing, moving and juggling partitions and free space around a drive. While this offers an easy way for people to reorganize their partitions it usually involves some highly complex operations that greatly increase the risk of problems, either then and there when something goes disastrously wrong, or further down the line when you encounter an issue caused by some file movement, transfer or conversion that had not been perfectly executed.

We advise against letting auto-partitioners do things for you and so we advocate that you take the time to understand and be in control of what you are doing. There are usually safer ways to achieve most partitioning movements, which can often be much quicker than the auto-partitioners. What's more, the safer way normally requires the duplication of partitions and data so they can be moved to one location and then back to their new location, which means you have to create a backup, which means you have a way back if something does not go to plan.info iconPartitioning Best Practices.


 

Linux Logo
Linux Partitions.
The Windows Disk Management tool is of course a little biased and will only recognize and work with Windows supported file systems. Any partition that has been formatted with a Linux file system will be reported as unformatted or unrecognized, and you may get a pop-up dialog box offering to format the partition before it can be used. If you have a functioning Linux install on that partition then you do of course need to be careful to decline such offers.

There is no difference in the structure of a partition used for Windows or Linux, so we can in fact use Disk Management to create partitions that we intend to use for Linux. We recommend you always create your own partitions before starting an operating system install and this goes for both Windows and Linux. There are so many variables now in hard drive and partition format and type that auto-partitioners can not be depended upon to get things entirely correct for optimum use. Create partitions with Disk Management or any partitioning tool of your choice and either leave them unformatted or not. Begin your operating system install and direct setup to use the existing partitions and to either retain an existing file system, or format or reformat in the file system required.


 


up arrowTop of page....
spacermultibooters.com:-: Oct 2013


Advertisement:
www.hostgator.com
Google's New Desktop Strategy: Build it straight into Windows by way of Chrome itself. www.infoworld.com
Windows7 logo
Building a Hackintosh:
A new Intel motherboard that is compatible with 'Any OS'?
www.techspot.com


multibooters logo multibooters.com
creative commons licence

All product and company logos, icons and images that are reproduced on this site are the property and trademarks of their respective owners and are used here merely to illustrate their products, NOT to indicate or infer any endorsement or partnership unless otherwise stated. We have endeavored not to reproduce copyrighted images or graphics or infringe upon the rights of any trademark or copyright holder. If you believe or suspect we may have breached the permissible use of copyrighted material then please bring it to our attention. The reproducing or copying of original material from this site is currently allowed for non commercial purposes with the provision that your source is clearly indicated and that a back-link to the referenced information is included. Thank You. See our full  Terms of Use.  Material on this site is not guaranteed to be free of errors.   Multibooters.com   2012 - 2013

Home Sitemap Privacy-Policy About Contact/Feedback Donate Copyright/Legal