Quote:
Originally Posted by shellarchive
Can we intall 2 diff linux distor on same machine, on same hdd?
i wanted to install ubutu on rhel 4.
can some one tell how to do that
thanx.
|
You shouldn't have a problem doing this and have 2 possible ways of doing it:
1) install a VM manager (such as virtualbox) which allows you to run an OS from within anaother OS. There is plenty of help and support available for this.
2) the natural way would be to dual-boot in the same sense as many people do with Windows and Linux.
if we take a typical hard drive (/dev/hda) which is 50 GB then we could use the following partition layout:
/dev/hda1 - boot - 100MB
/dev/hda2 - swap - 2GB (i have a lot of RAM so can get away with this)
/dev/hda3 - RHEL / - 10GB
/dev/hda4 {LVM} - 38GB {
/dev/hda5 - Ubuntu / - 10GB
/dev/hda6 - joint /home - 28GB
}
i would install RHEL first ensuring that it only formatted hda1,2,3 (and possibly 6 if it needed doing) so you would then have a working RHEL system that the boot menu would start with ROOT/dev/hda3 and that mounts both /dev/hda1 and /dev/hda6 to their appropriate places.
The 2nd step would be to boot with the Ubuntu installer (I am not overly familiar with this - sorry) and instruct it to install itself to /dev/hda5 while using /dev/hda1 & 6 as their relevant intentions although not formatting them). It is important not to have the boot loader installed when installing the 2nd distro as it would wipe away the first install (most distros give you the option to refuse it to install the boot loader). Once this is done you should be able to add a new entry to your menu.lst (if using GRUB) that boots up Ubuntu using the ROOT=/dev/hda5 parameter to the kernel.