LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   tri boot windows, ubuntu, and fedora 5 (http://www.linuxquestions.org/questions/linux-general-1/tri-boot-windows-ubuntu-and-fedora-5-a-487182/)

paintmaster 09-26-2006 02:19 PM

tri boot windows, ubuntu, and fedora 5
 
I currently have windows, and i just installed ubuntu, and they work fine, but i want to install fedora core 5 as well. I have 2 Hard drives windows uses one and ubuntu uses one and i want to put fedora on the Hard Drive with ubuntu.
I tried to install fedora and take off ubuntu but my computer wouldn't boot.

verdeboy2k 09-26-2006 02:30 PM

Could you be more specific as to the error message when your computer didn't boot? And more specific information as to your partitioning scheme would be helpful.

and Read This!

paintmaster 09-26-2006 03:39 PM

I have grub installed
ubuntu automatically set it up.
i have a 80 gig Hard Drive with 2 partitions windows is using both of them
my other Hard drive is 8 gig with 2 partitions(1 partition 2.2 gig and another with 4.4 gig with ubuntu.)
i reinstalled ubuntu and i can boot up now.
when installing fedora i chose the option to erase all linux partitions.
when i started after erasing ubuntu grub had i think it was error15.

paintmaster 09-28-2006 01:40 PM

if i reformatted the linux hard drive and first installed fedora
and then install ubuntu would ubuntu find fedora and put a grub menu option for fedora?

saikee 09-28-2006 03:02 PM

In my hda I created 60 partitions with the majority being 5Gb and installed one distro in each one. I told the each installer to place its boot loader, be it a Grub or a Lilo, inside it root partition. Then I edited the Grub controlling the MBR to boot them all.

That is only my first hdd. I have 4 of them.

Tri boot? What tri boot?

Jongi 09-28-2006 03:11 PM

If you erase ubuntu to install fedora you will only be dual booting. Or am I missing something?

paintmaster 09-28-2006 06:35 PM

Quote:

Originally Posted by Jongi
If you erase ubuntu to install fedora you will only be dual booting. Or am I missing something?

yes i would but if i installed ubuntu after i installed fedora would ubuntu find fedora and put an option in the grub menu to start from fedora?

Wim Sturkenboom 09-28-2006 10:13 PM

My approach would be:
install either ubuntu or fedora on your second HD
boot and make a copy of the grub config (or write it down) and analyze it
install the other one
boot and modify the new grub config to add an entry for the first one (copying a part of the copied grub config)

You should end up with 3 entries and all should work

Jongi 09-29-2006 02:15 AM

Wim's method is the one I normally go with.

paintmaster 09-29-2006 07:39 PM

I installed fedora 5 and then i installed kubuntu.
kubuntu recognized fedora and added a grub menu item to start fedora.
windows and kubuntu work fine, but fedora just loads the kernel and then reboots and i see the grub menu again.
when installing fedora i chose to not install grub, was that wrong? should i install it again and choose to install grub to HDA?
if i do that will i loose data on the windows hard drive?
with kubuntu what is the command to change menu.lst?(become root and what program to open it and save changes.)

Jongi 09-30-2006 12:41 AM

What partition is your fedora on?

Here's my grub entry for FC. Your partition on which it is on will most likely be different from mine. The kernel could be different as well.

Quote:

title Fedora Core (2.6.17-1.2187_FC5)
kernel (hd1,5)/boot/vmlinuz-2.6.17-1.2187_FC5 root=/dev/hdd6 vga=795 ro rhgb quiet selinux=0
initrd (hd1,5)/boot/initrd-2.6.17-1.2187_FC5.img
Post the output of fdisk -l and indicate which partition houses your fedora partition. Do this from your ubuntu install.

saikee 09-30-2006 04:36 AM

I explain my Post #5 again.

95% of the installers allow their boot loaders to be placed in either

(1) a floppy
(2) MBR
(3) inside any partition.

If a user has 3 systems he/she can only nominate one boot loader into the MBR and so all the other boot loaders can be placed inside the partitions their operating systems reside. Thereafterward every one can be booted by the Grub controlling the MBR, by inserting the following lines in its /boot/grub/menu.lst.

Assuming you want to boot the 2nd partition of the first disk and as Grub counts from 0 so (hd0)=1st disk and its 1st partition=(hd0,0) then to boot the OS residing in the 2nd partition would be
Code:

title MY system in the 2nd partition of 1st disk
root (hd0,1)
chainloader +1

This is the standard method every Linux chainloads a Windows. But a Linux can be chainloaded by another Linux so why not use it? There is nothing simpler than the above!

If you allows a Linux to boot another Linux it always do it directly by naming its kernel and initrd files. This is directly booting. The indirtect booting by chainloading is easier because you only need to

(a) Place the boot loader in the root partition the LInux resides
(b) let Grub knows the partition number by the "root" statement (marked blue in the above).

The chainloading is good (and the only way) for booting all MS systems, BSD, Solaris, Darwin systems and naturally all Linux.

No PC boot loader of any substance can exist without using it.

Chainloading is dead simple ---> You ask one boot loader to boot another boot loader. That is all Once you learn it you can boot 300 systems and not just 3.

paintmaster 09-30-2006 06:04 PM

It works.
Thank you everybody!


All times are GMT -5. The time now is 01:04 AM.