LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2009, 09:57 PM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
Installing more than 4 operating systems


Hi all...

I am wondering is it possible to install more than 4 Linux distributions with windowz in a single machine ?

I got this doubt since we can make only 4 primary partitions on any harddrive...
 
Old 11-12-2009, 10:00 PM   #2
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
I'm not sure. I think you would be limited to 4 primary partitions.
 
Old 11-12-2009, 10:05 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The MBR model limits you to 4 primary partitions, one of which might be of the special type "extended", inside that you can create as many logical units are you want, limited only by your OS capabilities.

I have no idea of the current state of other OSes, but linux can be installed in any kind of drive, it doesn't need to be a primary partition (to tell the truth, it doesn't even need to be a partition, you could use a raw drive to install it, just format let's say hda instead of hda1).

In plain English, you can install as many linuxes as you want, as long as it's a partition number that linux can handle and your bootloader can see. You will have to attend to the limitations of other OSes though, if any.
 
Old 11-12-2009, 10:08 PM   #4
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
How about logical partitions ?
 
Old 11-12-2009, 10:16 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
As said, you can install linux in whatever type of partition. That includes raw (non-partitioned) drives, primary partitions, and logical drives/partitions, so don't worry about that. You can even put it file systems inside of a file, just like most live distros do nowadays with squashfs images.
 
Old 11-12-2009, 11:46 PM   #6
explodingzebras
Member
 
Registered: Oct 2007
Location: UK
Distribution: Ubuntu
Posts: 63

Rep: Reputation: 18
Whatever you do it's wise to install Windows first of course.
 
Old 11-13-2009, 01:39 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
What @i92guboj states is true in the strictest sense, however there are limitations imposed for the "normal" user.
It is not unknown for Linux distro installers (the software) to insist on a primary partition - inane but true. Anaconda was a prime example.
Then there is (or was) a SCSI limitation of 15 partitions that the adoption of libata exposed (E)IDE disks to.
 
Old 11-13-2009, 06:26 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Will only use a primary partition :
Windows, BSD's , Solaris.

Partition 1, 2, 3 : primary.
Partition 4 : extended.
.. Logicals ..
Partition 5 : swap.
Partition 6...15 : All for Linux's

.. The above is what I most often use.
And I have never seen a Linux not working on a logical.
Anaconda : I have at least 9 Fedora's, CentOS, Scientific
on logical's
.....
 
Old 11-13-2009, 07:17 AM   #9
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
O it's possible and many more too. HERE
 
Old 11-13-2009, 08:35 AM   #10
lewc
Member
 
Registered: Nov 2009
Distribution: Gentoo, Slackware or Debian
Posts: 60
Blog Entries: 1

Rep: Reputation: 18
you can although it's probably best not to, why would you wish to run four seperate linux based systems on a single machine, I can understand running solaris, windows, bsd and linux to test which is the best however Linux itself is just a different set of packages with each release around a kernel with common design features It would be like having windows 98, ME, 2000, XP and vista installed on one PC.
 
Old 11-13-2009, 08:42 AM   #11
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Another (somewhat) limiting factor is which bootloader you will be using. Don't quote me on the number, but LILO will IIRC boot a max of something like 24 or 28 OS's, while for GRUB the limit (if there is one) is much higher. There are several other bootloaders (including loadlin and ntloader) but I'm not familiar with them enough to comment. Also, the newest LILO may have a higher limit too.
Either way, those mentioned will boot many more OS's than is practical for any normal machine/user, but *everything* has its limit somewhere.

Sasha
 
Old 11-13-2009, 08:47 AM   #12
lewc
Member
 
Registered: Nov 2009
Distribution: Gentoo, Slackware or Debian
Posts: 60
Blog Entries: 1

Rep: Reputation: 18
pmsl @ > 20 OS's, is this for someone with multiple personalities
 
Old 11-13-2009, 09:55 AM   #13
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by syg00 View Post
What @i92guboj states is true in the strictest sense, however there are limitations imposed for the "normal" user.
It is not unknown for Linux distro installers (the software) to insist on a primary partition - inane but true. Anaconda was a prime example.
Thanks for pointing that out. Being on the Gentoo universe one sometimes forget how silly these installation wizards can be. I guess that's true, however as you very well point out, it's stupidity on the installer side. All the linux distros can -technically speaking- be installed on logical drives without any problem. The only problem is that circumventing a stupid install wizard might not be that trivial to the average user though, or even the experimented one.

Quote:
Then there is (or was) a SCSI limitation of 15 partitions that the adoption of libata exposed (E)IDE disks to.
Yes, I was aware of that, though I don't know what the current situation is. I was thinking on this exactly when I said above that the only limit on the partitions you can use is imposed by your OS.

The MBR standard itself, doesn't impose any limit on the number of logical partitions you can create inside an extended one. The way it's implemented certainly doesn't impose any limit. Whoever is interested in the details can read on EBR's (extended boot records).
 
Old 11-18-2009, 03:12 AM   #14
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by knudfl View Post
Will only use a primary partition :
Windows, BSD's , Solaris.
The latter can boot off a logical partition since that limitation was fixed in a recent OpenSolaris update. I never tried it yet though.
 
Old 11-18-2009, 04:06 AM   #15
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Interesting news @jlliagre - do you have a reference ?. Not before time IMHO.
What about (Linux) swap partitions ?.
 
  


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
Installing GRUB with many operating systems. JoseCuervo Linux - Newbie 7 09-07-2008 10:19 AM
LXer: Installing operating systems the safe way LXer Syndicated Linux News 0 06-16-2006 12:54 PM
Installing multiple operating systems obstinatesod Linux - General 22 06-06-2005 11:53 AM
installing 2 operating systems, windows xp and linux? Wardie Linux - Newbie 7 01-08-2004 10:38 AM
Two Operating Systems PEDRO Linux - Software 1 01-28-2001 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 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