LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-12-2003, 10:49 AM   #1
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
partitioning for distros


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)

thanks

titanium_geek
 
Old 06-12-2003, 10:51 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Surely you can have as many partitions as you want...? although I could be wrong.

If it's Windows/DOS saying you are limited, well they won't see the partitions once you've installed Linux.
 
Old 06-12-2003, 12:27 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
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...

Last edited by michaelk; 06-12-2003 at 01:10 PM.
 
Old 06-19-2003, 02:18 PM   #4
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Gone up to hda12, haven''t tested past that

Quote:
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.
 
  


Reply



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
How do I know which partition my distros are on? (Multi distros) glenn69 Linux - Newbie 3 06-18-2005 02:43 AM
On KDE-centric distros and 686 distros, what you think? mebrelith Linux - Distributions 4 03-23-2005 01:09 PM
Partitioning 2 Distros sdpeelejr Linux - Newbie 1 04-07-2004 09:44 AM
Distros that don't require re-partitioning? justiceisblind Linux - Distributions 17 03-23-2002 01:53 PM
Installing distros over distros sunilkgarg Linux - Distributions 8 11-07-2001 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:29 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
Open Source Consulting | Domain Registration