Manjaro Difference between revisions of "Partitioning Overview and Existing Partition Tables"

Difference between revisions of "Partitioning Overview and Existing Partition Tables"

From Manjaro
imported>Verityproductions
imported>Richard
Line 3: Line 3:
Manjaro uses a text-based disk partitioning tool called ''cfdisk''. How you choose to partition your hard disk manually is largely down to personal preference. However, some guidance has been provided, particularly for any new users wishing to manually partition their hard disks. Partitioning (that is, dividing) your hard disk when installing an operating system may be undertaken for a number of different reasons. The most common examples include:
Manjaro uses a text-based disk partitioning tool called ''cfdisk''. How you choose to partition your hard disk manually is largely down to personal preference. However, some guidance has been provided, particularly for any new users wishing to manually partition their hard disks. Partitioning (that is, dividing) your hard disk when installing an operating system may be undertaken for a number of different reasons. The most common examples include:


* Meeting the requirements of certain operating systems (e.g. Windows requires at least two partitions; one for the boot, and one for Windows itself)
* Meeting the requirements of certain operating systems, such as Windows, which requires at least two partitions: one for boot and one for Windows itself.
* The ability to install multiple operating systems on a single hard disk
* The ability to install multiple operating systems on a single hard disk
* Separating parts of the hard disk to serve specific purposes (e.g. for booting, or to serve as virtual memory / Swap), and
* Separating parts of the hard disk to serve specific purposes, for example, for booting or to serve as virtual memory or Swap, and
* Separating parts of the hard disk to store specific types of files (e.g. for system files, or for personal files, etc).
* Separating parts of the hard disk to store specific types of files: system files, personal files and so on.




==Primary and Logical Partitions==
==Primary and Logical Partitions==


There are two types of partition that may be used to divide a hard disk. These are '''Primary Partitions''' and '''Logical Partitions'''. ''Primary partitions'' are a throwback to the early days of computing, and only allow for a hard disk to be divided into a maximum of four parts (i.e. you can have a maximum of four primary partitions). ''Logical partitions'' were developed to overcome this limitation. They are - in essence - a way of further sub-dividing a primary partition. A primary partition that has been sub-divided into logical partitions is known as an '''Extended Partition'''.
There are two types of partition that may be used to divide a hard disk. These are '''Primary Partitions''' and '''Logical Partitions'''. ''Primary partitions'' are a throwback to the early days of computing, and only allow for a hard disk to be divided into a maximum of four parts, for example, you can have a maximum of four primary partitions, or three primaries and one extended partition which may contain several ''Logical partitions'' depending upon the architecture. They are, in essence, a way of further sub-dividing one primary partition into logical partitions is known as an '''Logical partitions'''. For example:
* sda1 = 1st Primary
* sda2 = 2nd Primary
* sda3 = 3rd Primary
* sda4 = 4th Extended Primary Partition (not actually usable as such)
** sda5 = 5th Logical
** sda6 = 6th Logical
** sda7 = 7th Logical
** sda8 = 8th Logical
** and so on, depending upon your disk space and needs.


While the maximum number of Primary Partitions allowed on any drive is 4, through using Logical partitions, an IDE drive can be subdivided into just over 60 partitions, while a SCSI drive can be subdivided into over a dozen. Below is a simple illustration of how logical partitions can be used to partition a hard disk into eight parts:
While the maximum number of Primary Partitions allowed on any drive is 4, through using Logical partitions, an IDE drive can be subdivided into just over 60 partitions, while a SCSI drive can be subdivided into over a dozen. Below is a simple illustration of how logical partitions can be used to partition a hard disk into eight parts:


<center>[[file:partitions.png]]</center>
<center>[[file:partitions.png]]</center>
Line 59: Line 67:


  chown -R '''carl''' /home/'''carl'''
  chown -R '''carl''' /home/'''carl'''


=See Also=
=See Also=
Cookies help us deliver our services. By using our services, you agree to our use of cookies.