Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-16-2001, 05:04 AM
|
#1
|
Member
Registered: Oct 2001
Location: /dev/null
Distribution: Debian, Slackware
Posts: 44
Rep:
|
Primary or Logical partition ?
hi people..
I just confused about which one to create,
and, why is the difference between them ?
why is that only 4 primary partitions can
be created ??
why is the best ?
edward.
|
|
|
10-16-2001, 04:43 PM
|
#2
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
|
|
|
10-16-2001, 04:51 PM
|
#3
|
Member
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
|
quick summary
i bet that the above links are very useful but just quickly
primary partitions are the main sort of partition that you make. There is a limit to how many of these you can make (which as you said is four). To get more partitions than this you need to make logical partitions. These are basically a partition within a partition (I think that they may sometimes be referred to as extended partitions). They tend not to get used much since computers nowadays can get around the 2GB hard drive limit (which meant you had to split larger drives into partitions) and few people need to have more than 4 partitions.
If you do need more it makes little difference since logical partitions should be handled seamlessly (you won;'t really notice i don;t think)
HTH
Alex
|
|
|
10-16-2001, 06:16 PM
|
#4
|
LQ Newbie
Registered: Oct 2001
Location: Newport, RI
Posts: 14
Rep:
|
primary or logical and /boot
For safety, your Linux /boot partition should be 16-32 MB, and it must be within the first 1023 cylinders or 8 GBytes of your hard drive. It does not matter whether /boot is a primary or logical partition.
You can get around the above restriction, but following the above rule will make life easier. The other Linux partitions you need to create do not care whether they are primary or logical partitions either.
You can subdivide a primary partition into many logical partitions. If you are running a dual-boot system with Linux and Windows, I believe the Windows operating system needs to be a primary partition. Other Windows partitions do not have to be a primary partition.
|
|
1 members found this post helpful.
|
10-28-2015, 06:47 AM
|
#5
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Rep:
|
Quote:
Originally Posted by webtoe
i bet that the above links are very useful but just quickly
primary partitions are the main sort of partition that you make. There is a limit to how many of these you can make (which as you said is four). To get more partitions than this you need to make logical partitions. These are basically a partition within a partition (I think that they may sometimes be referred to as extended partitions). They tend not to get used much since computers nowadays can get around the 2GB hard drive limit (which meant you had to split larger drives into partitions) and few people need to have more than 4 partitions.
If you do need more it makes little difference since logical partitions should be handled seamlessly (you won;'t really notice i don;t think)
HTH
Alex
|
Thanks for the information. It means we can choose any partition type i.e. either primary or logical.
|
|
|
10-28-2015, 07:32 AM
|
#6
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
You can use GPT, it has no such limit. Some operating systems refuse to boot if you have BIOS boot and GPT disk. Linux generally boots, but I seem to remember reading somewhere Red Hat does not like this combination.
GPT also has no 2 TiB limit.
|
|
|
10-28-2015, 07:42 AM
|
#7
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286
|
Note: until that post today, this thread had been dormant 14 years.
|
|
|
10-28-2015, 10:50 AM
|
#8
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,972
|
Strange how that can happen sometimes.
When the original logical architecture for disk drives (the "MBR") was designed, four slots were reserved for a partition table. These are the "primary" partitions.
So ... when you need more than four partitions on a drive, what's a computer to do? Why, merely define a special primary-partition type, which says that it begins with its own extended, or overflow, partition-table. Now, the drive can have as many partitions as you like. These are the "logical" partitions.
Functionally, they are the same. They all map to an inclusive range of cylinders. It's merely a question of exactly where Linux has to go to find them: does it require one disk-read, or two.
Last edited by sundialsvcs; 10-28-2015 at 10:55 AM.
|
|
|
All times are GMT -5. The time now is 02:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|