The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Dual Boot Win XP And Fedora with Fedora Installed First eltinator Linux 4 03-24-2008 02:30 AM
installing psybnc on CentOS wmccull Linux 0 03-05-2008 10:22 PM
CentOS 4.6 (CentOS-4 branch) iBot Software Releases - RSS News 0 12-26-2007 03:40 AM
CentOS 5.1 (CentOS-5 branch) iBot Software Releases - RSS News 0 12-26-2007 03:40 AM
Is FEDORA and REDHAT LINUX are same? haisubbu UNIX for Dummies Questions & Answers 4 12-07-2006 04:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-22-2006
raybakh raybakh is offline
Registered User
  
 

Join Date: May 2006
Posts: 18
Arrow CentOS, Fedora & RedHat in 1 box

Hi Linux gurus,

My boss had asked me to setup a box consisting of this 3 OS (CentOS, Fedora, RedHat) for autopatching. So, whenever there is new patches for CentOS from the internet, this box will grab it, implement it, if tested ok and approved, the patches will then be push to Production CentOS boxes. The same goes for Fedora & RedHat.

My question would be:

1. Is this possible for 3 Linux to be put in 1 box?
2. How the partitioning would be like?
3. Is there a link where i can read thru for this kind of setup?
4. Will all the OS be running simultaneously or one at a time?

Thank you in advance

~RaYbAkH~
  #2 (permalink)  
Old 08-23-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
Yes, I don't see why not. As for how the partitions would be laid out, that depends on...how you want your partitions laid out.

The bare minimum, as I see it:
  • /dev/hda1 -- 200mb of ext2 to hold kernels and grub settings.
  • /dev/hda2 -- 512mb, swap space. They can all use the same swap.
  • /dev/hda3 -- A couple gigs of ext3 for common space. Mount it on something like /opt/shared for all three distros, so you can dump a file there in one distro, reboot into another distro, and still have that file.
  • /dev/hda4 -- All remaining space, as an extended partition.
  • /dev/hda5 -- First partition in extended partition. Holds root partition for Distro #1.
  • /dev/hda6 -- Second partition in extended partition. Holds root partition for Distro #2.
  • /dev/hda7 -- Third partition in extended partition. Holds root partition for Distro #3.

grub.conf for this monster is going to look something like:
Code:
title=Centos
kernel (hd0,0)/centos/kernel-2.6.12-r10 root=/dev/hda5

title=Fedora
kernel (hd0,0)/centos/kernel-2.6.12-r10 root=/dev/hda6

title=Redhat
kernel (hd0,0)/centos/kernel-2.6.12-r10 root=/dev/hda7
Even better would be three seperate boot partitions, one for each distro, but that'd mean booting from an extended partition, and I'm not sure how much grub likes that.

Finding a guide for this is unlikely imho, as it'd have to be written by someone who's mastered the same versions of all three distros of interest. You're going to have fun getting all of them to install where you want them.

Of course, if you're going to want multiple boot partitions for each and every distro, things are going to get more complicated.
  #3 (permalink)  
Old 08-24-2006
raybakh raybakh is offline
Registered User
  
 

Join Date: May 2006
Posts: 18
Talking

Quote:
Originally Posted by Corona688

The bare minimum, as I see it:
  • /dev/hda1 -- 200mb of ext2 to hold kernels and grub settings.
  • /dev/hda2 -- 512mb, swap space. They can all use the same swap.
  • /dev/hda3 -- A couple gigs of ext3 for common space. Mount it on something like /opt/shared for all three distros, so you can dump a file there in one distro, reboot into another distro, and still have that file.
  • /dev/hda4 -- All remaining space, as an extended partition.
  • /dev/hda5 -- First partition in extended partition. Holds root partition for Distro #1.
  • /dev/hda6 -- Second partition in extended partition. Holds root partition for Distro #2.
  • /dev/hda7 -- Third partition in extended partition. Holds root partition for Distro #3.
Thanx Corona688 for the info.

So, i'll be doing this --> CentOS = /dev/hda5
Fedora = /dev/hda6
Redhat = /dev/hda7

Seems like 'fun' in hell. Gonna update u guys as i go along the installation. I wonder if all distro can be up 1 at a time until all 3 are running or 2 down and 1 up? Any advice?
  #4 (permalink)  
Old 08-24-2006
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
You can only have one Linux running at a time.
You are going to need 3 different boxes to do this.

I have to say, from the getgo, this doesn't sound like a good idea.
Are all your boxes exaclty the same, i.e., same OS version, hardware, running the exact same applications?
  #5 (permalink)  
Old 08-24-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I think Corona688 meant that grub.conf would be something like:
Code:
title Centos
kernel (hd0,0)/centos/kernel-2.6.12-r10 root=/dev/hda5

title Fedora
kernel (hd0,0)/fedora/kernel-2.6.12-r10 root=/dev/hda6

title Redhat
kernel (hd0,0)/redhat/kernel-2.6.12-r10 root=/dev/hda7
You will need a subdirectory for each distro so that each can have its own kernel. Remember that the extended partition is broken into logical partitions. You can put anything into logical partitions. As long as grub stage1 is installed in the MBR and stage 1.5 is installed in the hidden sectors, stage 2 can be anywhere. I even created a tiny (logical) partition at the very end of a 100 GB and booted from that.
  #6 (permalink)  
Old 08-24-2006
raybakh raybakh is offline
Registered User
  
 

Join Date: May 2006
Posts: 18
So perderabo,

A collegue of mine have Linux & Windows in his notebook (in which the 60GB are split into 2). He also are able to log into both OS by pressing certain key (in which he is reluctant to teach). Could this be done here; where CentOS, Fedora & Redhat can be access simultaneously.

Nope system shock,
Im gonna try to implement this on 1 box first. if it seems a lot of hassle and time to administer, then i'll propose to my boss to buy another 2 box. (he's trying to cut the cost low and hopefully raise my salary..haha).
  #7 (permalink)  
Old 08-24-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
Quote:
Originally Posted by raybakh
So perderabo,

A collegue of mine have Linux & Windows in his notebook (in which the 60GB are split into 2). He also are able to log into both OS by pressing certain key (in which he is reluctant to teach). Could this be done here; where CentOS, Fedora & Redhat can be access simultaneously.
He's probably reluctant to teach you, because, you have to shell out a considerable amount of money to get the third-party software that makes this possible -- VMware.

Which, if you're willing to do so, would actually be a pretty good way to simultaneously boot three operating systems. VMware comes in Linux and Windows versions, and does what it says on the box; you can run an entire virtual computer inside it with it's own independent virtual hardware, at nearly native speeds. x86 only of course. I've got VMware Workstation myself, so on the rare occasions I need to boot into Windows, I can, without the risk of giving Windows full control of my computer.

If you don't want that, you'll have to triple-boot, and they won't be simultaneous.

Last edited by Corona688; 08-24-2006 at 11:03 AM..
Closed Thread

Bookmarks

Tags
linux, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0