LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-26-2006, 02:19 PM   #1
paintmaster
LQ Newbie
 
Registered: Sep 2006
Distribution: Puppy, ubuntu, kubuntu, grafpup, dsl
Posts: 12

Rep: Reputation: 0
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.
 
Old 09-26-2006, 02:30 PM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
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!
 
Old 09-26-2006, 03:39 PM   #3
paintmaster
LQ Newbie
 
Registered: Sep 2006
Distribution: Puppy, ubuntu, kubuntu, grafpup, dsl
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 09-28-2006, 01:40 PM   #4
paintmaster
LQ Newbie
 
Registered: Sep 2006
Distribution: Puppy, ubuntu, kubuntu, grafpup, dsl
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 09-28-2006, 03:02 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
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?

Last edited by saikee; 09-28-2006 at 03:03 PM.
 
Old 09-28-2006, 03:11 PM   #6
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

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

Last edited by Jongi; 09-28-2006 at 03:12 PM.
 
Old 09-28-2006, 06:35 PM   #7
paintmaster
LQ Newbie
 
Registered: Sep 2006
Distribution: Puppy, ubuntu, kubuntu, grafpup, dsl
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 09-28-2006, 10:13 PM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
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
 
Old 09-29-2006, 02:15 AM   #9
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Wim's method is the one I normally go with.
 
Old 09-29-2006, 07:39 PM   #10
paintmaster
LQ Newbie
 
Registered: Sep 2006
Distribution: Puppy, ubuntu, kubuntu, grafpup, dsl
Posts: 12

Original Poster
Rep: Reputation: 0
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.)
 
Old 09-30-2006, 12:41 AM   #11
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
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.
 
Old 09-30-2006, 04:36 AM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
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.

Last edited by saikee; 09-30-2006 at 04:52 AM.
 
Old 09-30-2006, 06:04 PM   #13
paintmaster
LQ Newbie
 
Registered: Sep 2006
Distribution: Puppy, ubuntu, kubuntu, grafpup, dsl
Posts: 12

Original Poster
Rep: Reputation: 0
It works.
Thank you everybody!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tri Boot - Gentoo/SuSe/Windows ps2cho Linux - Distributions 9 06-17-2006 09:55 AM
want to make tri boot system with windows,Linux and BSD anupamcbr *BSD 11 05-26-2006 07:54 AM
Can't access Fedora FC 5 for tri-boot option Larry O Fedora - Installation 5 05-08-2006 11:39 AM
Tri-booting with Ubuntu? Banyon Ubuntu 7 04-26-2006 01:08 PM
TRi-Boot XP PRo, Xp Pro & Fedora benlogan Fedora 2 08-13-2005 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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