LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-23-2007, 01:36 AM   #1
scrappydoo
Member
 
Registered: Oct 2007
Distribution: Mint
Posts: 55

Rep: Reputation: 15
Question How many operating systems can a set up to boot from?


How many operating systems can I set up on one drive, say of 200 GB in size.

For example could I do the following?

Partition 1.) Windoze Vista

Partition 2.) Windoze XP

Partition 3.) Slackware 12

Partition 4.) Arch

Partition 5.) Frugalware


Is such a thing possible?
 
Old 10-23-2007, 02:58 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,038

Rep: Reputation: 97
I have never tried multibooting that many

Having XP loaded after Vista might cause issues as Vista would recognise XP but XP wouldn't recognise Vista at install time.

Have you thought about virtualisation? VMware Server is free to use from www.vmware.com (you have to register to get the license key but it is free)

I played with Virtual box for a while and that's also free for home use but I found that I preferred the way that VMware handles the network side of things.

The advantages of virtualisation (apart from saving reboots) are that you can take snapshots (save points) of the system to rollback in case of a problem(really helps with testing things that your not sure of); you can run multiple OS's at the same time (as long as you have a powerful enough machine).

I have a machine with 4GB of RAM and an AMD Dual Core processor and I can comfortably run multiple virtual machines at the same time.
 
Old 10-23-2007, 03:09 AM   #3
scrappydoo
Member
 
Registered: Oct 2007
Distribution: Mint
Posts: 55

Original Poster
Rep: Reputation: 15
OK, that's sounds very interesting, I'll look into that, thanks for the idea!
 
Old 10-23-2007, 03:43 AM   #4
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
I got a link here on LQ for some days ago where a dude had a computer with over 200(?) distros at the same time using grub. So the real limit here is your harddrive with 200gb.
 
Old 10-23-2007, 03:48 AM   #5
scrappydoo
Member
 
Registered: Oct 2007
Distribution: Mint
Posts: 55

Original Poster
Rep: Reputation: 15
That's hilarious! And I thought I was pushing it!
 
Old 10-23-2007, 05:16 AM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Here you go http://www.justlinux.com/forum/showt...hreadid=147959
 
Old 10-23-2007, 05:41 AM   #7
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Ops, it was 145. Oh well. It should be enough for the masses I would believe
 
Old 10-23-2007, 05:57 AM   #8
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
In the old days, that is before kernel 2.6.20, when Pata disk device names were supported a Pata can have 63 partitions and therefore able to accept 63 operating systems installations.

A Linux is seldom larger than 5Gb and its foot print is typically about 2 to 3.5 Gb after installation. So Linux wise a 200Gb is good for about 40 systems, assuming each partition is 5Gb large.

The kernel 2.6.20 and newer have abondoned the Pata device names and so all SCSI, Sata, Pata and USB hard disks can only have 15 partitions (16 devices name including the whole disk). A user can still use an older kernel to get the 63 partitions but newer Linux would not read it.

As hard disks are getting bigger there may be a need to get more 15 partitions out of it. The limit that I found, using standard technique, is 44 partitions as detailed here.

The 44-partition scheme is a viable one as I have been running it all the time and just filled up the disk with 44 systems recently. It does have the disadvantage that only 11 partition can be mounted after the hard disk is operational. Basically I have use each primary partition as an extended partition to hold 11 logical partition in each and unhide the primaries I do not wish to boot. One needs to nest a set of Grub menus to carry the booting scheme.


I have been using VMware which is inside the XP in my box. However I find a Linux installed inside a host (which is XP in this case) is like a prisoner in solitary confinement because it resides in a cells (typically 8Gb large) can only communicate with the host and not its fellow inmates (can mount partitions of fellow Linux).

VMware has its usage but for studying a Linux, its components and its properties the virtual machine management layer is hindrance. In my opinion there is no way I can understand how Linux works unless I install it normally in a partition of its own, so that I can mount it partition, chroot into it, salvage its files, rescue it boot loaders etc, etc.

For those interested in having "a few" operating systems in the PC the following information may be relevant.

(1) All NT versions of Windows, Lilo and Grub can do multi-boot. Windows way is 10 times and Lilo way is 3 times harder than Grub.

(2) All MS systems if installed alone, all Solaris and all BSD systems (with the exception of NetBSD) need to be installed in and booted from a "primary" partition.

(3) All Linux can be installed and booted from any partition. That means put Linux and its swap in logical partitions and save the primaries for those that need them.

(4) Each hard disk can have a maximum of 4 primaries. If a logical partition is used one primary must be given up to become an exteneded partition. All PC systems have been written to accept only be one extended partition in a hard disk.

(5) The easiest way to multi-boot is to have a boot loader installed inside the partition where the OS resides. One can then use the boot loader controlling the MBR to boot each system by booting up its boot loader. Thereafter it is up to the second boot loader to fire up its master. This is a technique known as chainloading used by every boot loader. Every Linux, be it using Grub or Lilo, boots a MS Windows "always" by chainloading because neither Grub or Lilo can read a ntfs partition.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 operating systems junkano Linux - Newbie 8 01-24-2007 04:18 PM
How to boot dual operating systems from grub shahz Linux - Server 5 09-19-2006 03:42 PM
How to set the default boot operating system at the boot menu Niceman2005 Linux - General 2 04-12-2006 10:46 PM
multi boot 3 operating systems eddwed Linux - Newbie 1 02-18-2005 08:09 PM
How would I boot 3 Operating Systems? inline.skater Linux - Newbie 10 06-13-2004 09:11 PM


All times are GMT -5. The time now is 01:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration