Linux - GeneralThis 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
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.
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.
In a recent discussion, I suggested that one can have more than one extended partition in the first (and subsequent) partition table. Some responders concurred.
I then tried to do it, and none of the tools on my machine will do it. They allow only one extended partition in the first table. Then--MANY logical partitions are allowed. (Each one goes in a separate partition table---ie the first table is the only one with 4 entries allowed)
Interesting nuance: It seems that--every time a logical partition is added, the tool also creates another extended partition in the same table. Is this then the link to the next logical partition?
What sets the limit on the total # of partitions in one drive?
There can only be four primary partitions one (and only one) of which maybe an extended partition (an extended partition is nothing but a primary partition that can be subdivided into logical partitions).
Logical partitions are implemented as linked list so every logical partition contains a pointer to the next. In principle there's no limit on the number of logical partitions. However, in linux there is. Last time I checked you could have 15 usable partitions on a scsi disk (3 primary, 12 logical + 1 extended (which cannot contain a filesystem)) and 63 on an ide drive (3 primary, 60 logical + 1 extended). I'm not exactly sure where this limit comes from but my guess is that it's a size limit of the array that holds the pointers to the partitions.
Logical partitions are implemented as linked list so every logical partition contains a pointer to the next. In principle there's no limit on the number of logical partitions. However, in linux there is.
What you are saying is that one could create more partitions, but then Linux would not see them??
Actually I don't know what happens if you surpass that limit with a partitioning software that allows it and then try to access them in linux. I don't have a scsi disk to test that with and don't really feel like creating 65 partitions on an ide disk to find out. You tell me
Actually I don't know what happens if you surpass that limit with a partitioning software that allows it and then try to access them in linux. I don't have a scsi disk to test that with and don't really feel like creating 65 partitions on an ide disk to find out. You tell me
At this point it is curiousity for which I will exert very limited energy. When I decide to follow one of our gurus (Saikee) and set up a system with over 100 OSes---then maybe.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.