LinuxQuestions.org
Visit Jeremy's Blog.
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 05-10-2009, 08:54 AM   #1
momcilosystem
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
Fedora and Ubuntu with one independant GRUB


So, I've been running multiple sistems (up to 6) for a while and found that problem is that reinstalling one of them can ruin others.

My question is: how to install Ubuntu 9.04 and Fedora 10 with their boot stuff on their own partitions and then install Fedora's GRUB on separate partition (/boot)

And please bare in mind that I don't want to use chainloader (from one GRUB to another), I want to use menu.lst to add both Fedora and Ubuntu and Windows 7 boot loader (GRUB probably will add that automaticly).

Thanks for your help in advance!
 
Old 05-10-2009, 10:38 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,389

Rep: Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416
Quote:
that reinstalling one of them can ruin others.
The default on most distriubions is to install to mbr but, you should have an option during the installation of Grub to install to the root partition of whatever partition you are installing to. Usually, you will need to click on an Advanced tabl during bootloader installation. Doing this will put all the necessary files on the correct partition.

Never used a separate boot partition but, you should be able to find lots of examples by googling it. Here's one:

http://users.bigpond.net.au/hermanzo...boot_partition
 
Old 05-10-2009, 11:47 AM   #3
momcilosystem
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Question

Tnx for your reply!

Well, if I choose to install it on same partition wouldn't that make me use chainloader on "main" GRUB? I mean, I will still be installing GRUB, only not on separate partition but on / partition of the distro?

Please correct me if wrong
 
Old 05-10-2009, 01:07 PM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by momcilosystem View Post
Tnx for your reply!

Well, if I choose to install it on same partition wouldn't that make me use chainloader on "main" GRUB? I mean, I will still be installing GRUB, only not on separate partition but on / partition of the distro?

Please correct me if wrong
I am not sure what you mean.
A way to do dual or triple booting is one GRUB in MBR the others GRUB on the partition on which the distro is installed
Only the menu.list of the GRUB in MBR should be modified
Let say ones has also a other distro on sda7
Adding the following lines on the main menu.lst is enough
title distro X on sda7
root(hd0,6)
configfile /boot/grub/menu.lst

As only the menu.lst is called and the menu.lst is keeping
up to date by is its own version nothing can go wrong
Only if you reinstall the version which GRUB is in MBR you have to add this lines again
 
Old 05-10-2009, 01:52 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,389

Rep: Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416
I'm not sure what you are trying to accomplish here. Looking back to your first post below:

Quote:
My question is: how to install Ubuntu 9.04 and Fedora 10 with their boot stuff on their own partitions and then install Fedora's GRUB on separate partition (/boot)
seems like you want Grub in Ubuntu, Fedora and also in a separate boot partition?? In a standard installation, chainloading isn't used and the Grub files from only one distribution are needed. If you look at a menu.lst entry from a base distribution and check an entry for a secondary distribution, you will see the kernel line point directly to the vmlinuz file not to any Grub file.

Quote:
Well, if I choose to install it on same partition wouldn't that make me use chainloader on "main" GRUB? I mean, I will still be installing GRUB, only not on separate partition but on / partition of the distro?
No, you won't need to use chainloader. Yes you would still be installing Grub but you don't have to install it. Depends upon the method you choose for your entries.

As I indicated above, I've never used a separate boot partition so I'll let others help with this.
 
Old 05-13-2009, 02:29 AM   #6
momcilosystem
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Just needed to thank you guys!

You made me realise my mistake, and out of embarrassment I wont even explain what was going on in my brain

Anyway, thanks to all good people here
 
  


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
After installing Fedora 10 I cannot get Ubuntu 8.10 to load from grub kmacphail Linux - Newbie 18 02-14-2009 08:25 PM
BOOT GRUB ERROR in switch from ubuntu to fedora shickidyshade Fedora 30 09-17-2008 02:11 AM
GRUB problem with fedora/ubuntu iAlta Linux - Distributions 6 09-15-2007 03:14 PM
grub, fedora, ubuntu and wrong root? hometoast Ubuntu 1 06-11-2005 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 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