LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-16-2001, 04:04 AM   #1
infernal
Member
 
Registered: Oct 2001
Location: /dev/null
Distribution: Debian, Slackware
Posts: 44

Rep: Reputation: 15
Post 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.
 
Old 10-16-2001, 03:43 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Here are some links to chew on:

http://www.mobiledyne.com/pub/pcfdisk.html
http://people.mw.mediaone.net/rthamp...rtitioning.htm
http://www.blueskyinnovations.com/pdisk.html
http://www.yale.edu/pclt/BOOT/PARTITIO.HTM
 
Old 10-16-2001, 03:51 PM   #3
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Talking 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
 
Old 10-16-2001, 05:16 PM   #4
brian_eye
LQ Newbie
 
Registered: Oct 2001
Location: Newport, RI
Posts: 14

Rep: Reputation: 1
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.
Old 10-28-2015, 05:47 AM   #5
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: Boss, CentOS/Stella
Posts: 34

Rep: Reputation: 5
Quote:
Originally Posted by webtoe View Post
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.
 
Old 10-28-2015, 06:32 AM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,508

Rep: Reputation: Disabled
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.
 
Old 10-28-2015, 06:42 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,642

Rep: Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725Reputation: 1725
Note: until that post today, this thread had been dormant 14 years.
 
Old 10-28-2015, 09:50 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 6,950

Rep: Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084Reputation: 2084
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 09:55 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logical partition to a primary one britcoms9 Linux - Newbie 4 01-20-2008 06:46 PM
Primary or Logical? Brahl Linux - Newbie 1 01-29-2005 09:50 AM
Primary, Logical or Extended partition? mrpc_cambodia Linux - General 3 09-12-2004 11:10 PM
make logical partition primary SharpyWarpy Linux - General 2 06-01-2003 08:15 AM
logical or primary partition Socrates Linux - Software 1 02-25-2001 03:50 AM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration