LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-22-2007, 03:41 AM   #1
pramka
Member
 
Registered: May 2007
Location: ny
Distribution: fedora
Posts: 33

Rep: Reputation: 15
Grub File


I installed 3 OS, Win2000 then Ubuntu6 and then Fedora5 (in this order) on the same machine. Grub sees Win200 and Fedora5 and can boot to them. I can't see Ubuntu6 nor can I boot it up. I need some help to get Grub to boot all three OS if its possible.

hde1 (Win2000)
hde2 (Ubuntu /)
hde3 (Ubuntu swap)
hde4 (extended)
hde5 (fedora /boot)
hde6 (fedora /)
hde7 (fedora swap)
Thanks.
 
Old 05-22-2007, 05:16 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
What's in your /boot/grub/menu.lst now?
 
Old 05-22-2007, 07:49 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Do you mean hde?? Where are hda, hdb, hdc, and hdd?

The typical Linux installer seems to have no problem recognizing the Windows install---but often does not detect the other Linuxes. When you installed Fedora, you presumably let it install GRUB and it did not see the Ubuntu.

From Fedora, go into the Ubuntu partition (hde2) and look in /boot to get the names of the kernel(vmlinuz) and initrd files. (I always soft link these to simply "vmlinuz" and "initrd" to make things easier.)

Then, go to the Fedora /boot/grub directory and edit menu.lst to add this entry: (I'm assuming that you actually have one drive---hda)
title Ubuntu
root (hd0,1) (this tells GRUB that the Ubuntu /boot dir is on drive 1, partition 2)
kernel /boot/vmlinuz root=/dev/hda2
initrd /boot/initrd
boot

(I assumed here that you made soft links to the file names)

Here is some more detail on how all this works.
 
Old 05-22-2007, 09:48 PM   #4
pramka
Member
 
Registered: May 2007
Location: ny
Distribution: fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Boot menu list..

# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/hde6
# intrid /intrid-version.img
# boot=/dev/hde
default=999
timeout=999
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,4)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=? rhgb quiet
intrid /intrid-2.6.15-1.2054_FC5.img
title Windows
rootnoverify (hd0,0)
chainloader +1
 
Old 05-22-2007, 10:07 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
As I said, you need to add an entry for Ubuntu.
 
Old 05-22-2007, 10:39 PM   #6
pramka
Member
 
Registered: May 2007
Location: ny
Distribution: fedora
Posts: 33

Original Poster
Rep: Reputation: 15
I am following your directions.. I added the entry for Ubuntu.
I also placed /dev/hde2 (Ubuntu /)in /etc/fstab and I can mount it on Fedora5.
Having trouble viewing the /boot in /dev/hde2.

Thanks you very much for your help.
 
Old 05-23-2007, 12:10 AM   #7
pramka
Member
 
Registered: May 2007
Location: ny
Distribution: fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks pixellany it worked..
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
GRUB menu.lst/grub.conf file with multiple partitions dasy2k1 Linux - General 1 04-19-2007 08:42 AM
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 09:02 AM
Grub configuration file Buruma Linux - Newbie 10 06-20-2005 09:29 PM
Edit file in Grub Baklan Linux - Newbie 9 07-11-2003 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:35 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
Open Source Consulting | Domain Registration