LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-25-2005, 08:18 AM   #1
noWareSystems
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Question Creating more than 4 primary partitions...


Hi All!

Does anyone know how can one create more than 4 primary partitions on one hard disk?

thanx.
 
Old 10-25-2005, 08:27 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
One can't.

If you want more than four partitions, you'll need to use logical rather than primary partitions.
 
Old 10-25-2005, 08:37 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
As mentioned above you can't. I tend to create one extended partition and install everything related to inux in logical partitions. For FreeBSD, NetBSD and Solaris, I can use the remaining 3 primary partitions.
 
Old 10-25-2005, 09:16 AM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
PC standard as exists today has 64 bytes, 16 bytes per partition between the 447th to 510th bytes of the first sector of the boot disk, as the partition table. The 4 entries are known as the primary partitions.

One entry can be used as an extended partition for holding the boundary of the logical partitions inside.

Since the BIOS only reads the first sector, or the first 512 bytes, of the first bootable hard disk there is no possibility of creating more than 4 primary partitions from a hard disk. The first 446 byte is the MBR and the last 2 bytes are spare.

Logical partitions works like links in a chain with the entended partition denoting the begining and end links. The 1st logical partition carries the address for the 2nd logical partition and the 2nd caries the address of the 3rd and so on. The logical partitions cannot be broken and do not have a well-defined begining and end points like the primary/extended partitions.

Linux differs from DOS, Windows, FreeBSD, PCBSD and Solaris by being bootable from a logical partition.

NetBSD and OS2 are the other known exception although I never done it with the latter.
 
1 members found this post helpful.
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a limit on primary partitions cheetahman Linux - General 1 08-15-2005 05:43 PM
Can you have more than 4 primary partitions? lyonsd Linux - General 3 06-06-2005 12:08 AM
Not enough primary partitions for multiboot artificialGekko Linux - General 2 04-26-2005 10:34 AM
four primary partitions? linuxtesting2 General 6 05-04-2004 10:17 AM
partitions -- primary vs. extended pH* Linux - General 1 04-06-2004 01:56 PM


All times are GMT -5. The time now is 07:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration