Fedora Linux Support Community & Resources Center
  #1  
Old 15th December 2007, 01:29 AM
dishawjp Offline
Registered User
 
Join Date: Mar 2004
Location: Central NY
Age: 61
Posts: 471
grub help

Hi All,

I've been using Linux for quite a while, even back before grub, back in the days when lilo was the popular bootloader. But I've finally got to ask... why is grub so brain dead when it booting multiple Linux distros? Is there a workaround? I'm currently running three different Linux distros, two kernels per distro, and have to edit the /etc/grub.conf or /boot/grub/menu.lst on the most recently installed distro every time I do a kernel upgrade on any but the most recently installed distro. I've been doing this ever since I began running multiple Linux distros on the same computer... back when I was dual booting RedHat Linux 8 and RHL9. That was about 7 or so years ago. Before that it was just "one computer, one Linux distro" and a reinstall when the next version was available.

Today I did kernel upgrades on F8, FC6 and StartCom Linux AS5 (a RH AS5 clone) on this computer and it's beginning to get old.

There must be a better way, but searching this forum and googling it, all I found was solutions for people needing to dual boot Windows and Linux. It's been so long since I've booted a Windows install that I'm not quite sure I'd know what to do if it did manage to boot and really couldn't care much less about ever booting Windows :-)

I want to give SUSE 10.3 (yeah, I know, M$ and Novell and all that, but I have to use SLED 10 at work and would like to play with the newest SUSE at home a bit) but am getting really put off with this constant editing of grub.

So is there an easier way , or should I just quit whining and be glad that my biggest complaint is having to mount other partitions and crank up vi to edit a grub file when I do a kernel upgrade?

Anyway, thanks for listening... I just cracked another beer and feel better already :-)

Jim Dishaw
__________________
Registered Linux User 294493
Reply With Quote
  #2  
Old 15th December 2007, 01:44 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello dishawjp,

Probably the most recently installed distro is the one whose GRUB is booting the others which is why you have to edit it when one of the others has a kernel update. Right? Instead of copying the kernel and initrd lines from the other distros' grub.conf files into the grub.conf of the one that boots them, try this single line...

title whatever
configfile (hdx,y)/grub/grub.conf

or

title whatever
configfile (hdx,y)/boot/grub/grub.conf

or

title whatever
configfile (hdx,y)/grub/menu.lst

or

title whatever
configfile (hdx,y)/boot/grub/menu.lst

One of those will probably work for each of your other distros. If it works, no edit is required when a kernel gets updated. Don't do it for the main distro's own section, obviously.

P.S.: Use /boot in the path when the distro does not have a separate boot partition. And actually, menu.lst will probably work for any distro including Fedora.

Last edited by stoat; 15th December 2007 at 02:01 AM.
Reply With Quote
  #3  
Old 15th December 2007, 02:23 AM
dishawjp Offline
Registered User
 
Join Date: Mar 2004
Location: Central NY
Age: 61
Posts: 471
Stoat,

Thanks! That's just what I've been looking for!

And to think that for all these years I've been messing around with manual edits. I'm not feeling too smart at the moment, but the next couple of beers ought to fix that :-)

Thanks again!

Jim
__________________
Registered Linux User 294493
Reply With Quote
Reply

Tags
grub

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB GRUB GRUB GRUB... endless loop xenotrax Using Fedora 4 12th February 2009 06:16 PM
HOWTO Deal with GRUB _, grub> _, and GRUB GRUB GRUB stoat Guides & Solutions (No Questions) 10 7th December 2008 11:48 PM
Grub boot loader issues? (stupid grub!) Cooldan1 Installation and Live Media 5 30th July 2007 02:10 AM
Grub prompt instead of grub menu and splash screen Alan Installation and Live Media 5 29th May 2006 04:56 PM


Current GMT-time: 07:36 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat