Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Ok, say I had this big hardrive, maybe 80 gig. and I wanted to partition it equaly into 10gig partitions. Ok, so, you can only have four primary partitions, like this:
|==|==|
|==|==|
ok, can I make seconday partions so that I could have 8 distros on one drive?
|=|=|=|=|
|=|=|=|=|
assume that swap has nothing to do with this. (it's on the windows drive)
True you can have only 4 primary partitions.
What you mean by a secondary is actually called a logical partition. A logical parititon resides in an extended parititon which is nothing more then a container. An extended paritition is a primary paritition with an extended filesystem type.
I have read you can have up to 64 logical partitions. Never tried this. They are labled hda5, hda6 ...
linux doesn't care where it is located primary or logical. linux can have more then one partition depending on what you want to do and do not have to be same size.
You could have:
hda1 /boot - primary
hda2 extended - container for logicals
hda5 /
hda6 /home
hda7 /var
hda8 /usr
Originally posted by michaelk True you can have only 4 primary partitions.
What you mean by a secondary is actually called a logical partition. A logical parititon resides in an extended parititon which is nothing more then a container. An extended paritition is a primary paritition with an extended filesystem type.
I have read you can have up to 64 logical partitions. Never tried this. They are labled hda5, hda6 ...
linux doesn't care where it is located primary or logical. linux can have more then one partition depending on what you want to do and do not have to be same size.
You could have:
hda1 /boot - primary
hda2 extended - container for logicals
hda5 /
hda6 /home
hda7 /var
hda8 /usr
OS 2 would start had hda9 etc...
I usually have around 12 disk partitions and I run around ten different OS images on my system. I haven't experimented past that point, but it scales to that level just fine with no observable performance issues or reliability problems.
Your suggested disk organization is a good one. I do something different because I do a lot of distro testing. I usually have one common swap partition and several different root partitions. This does leave the systems at some level of risk, if yoiu're concerned about the best possible data integrity and security, but for my purposes, it enables me to test out a lot of software and keep several different systems around a while for comparison purposes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.