Grub errors,Trying to access other os's?

Im trying to set the grub menu.lst to include;ubuntu,and Gentoo
but it still wont boot them?ubuntu is on a 250gb usb hd.and gentoo
boot /dev/sda5,swap is on /dev/sda6 and / is on /dev/sda7.
here is a portion of the grub menu.lst;

###Don’t change this comment - YaST2 identifier: Original name: Ubuntu 8.04.1, kernel 2.6.24-21-rt (/dev/sdb1)###
title Ubuntu 8.04.1, kernel 2.6.24-21-rt (/dev/sdb1)
rootnoverify (hd0,0)
makeactive
chainloader (hd1,0)+1

###Don’t change this comment - YaST2 identifier: Original name: Gentoo Linux, kernel 2.6.25-gentoo-r8 (/dev/sda5)###
title Gentoo Linux, kernel 2.6.25-gentoo-r8 (/dev/sda5)
rootnoverify (hd0,0)
makeactive
chainloader (hd0,4) +1
im running open suse 11.0.what am i doing wrong?
Any help would be greatly appreciated!!!
Rick:(

you need to post result of a su terminal

fdisk -l

and contents of /etc/fstab

tell us where you put grub

you might want to read here
Linux HOWTOs and Tutorials: Suse Linux 10.0, 10.1 openSUSE 10.2, 10.3, 11.0

I don’t know a lot about this sort of stuff but you could try changing this line twice:

rootnoverify (hd0,0)

That’s pointing to Suse, maybe should point to the boot partition of Ubuntu (xda1) and Gentoo (xda5). So for Ubu maybe this:

rootnoverify (hd1,0)

and Gentoo maybe

rootnoverify (hd0,4)

Can’t hurt.
Also, while you’re getting the info for caf4926, can you look from Suse into the /boot directories for Ubuntu and Gentoo and see if you can locate links/files called “vmlinuz” and “initrd”. If you can’t mount them you can often locate them by doing this: Open a console and enter su to get rootly powers. Then enter these commands:

  1. grub
  2. find /boot/vmlinuz
  3. find /boot/initrd

Copy the results back here with caf4926’s data.

:)Thanks for the link!! i followed the instructions there,and it worked!!now i can boot into both ubuntoo and gentoo.
basically i had to use the installation disk to reinstall grub to
theMBR.Then go into yast,boot loader,clicked on section mngmnt.
then selected other,“propose new config”. Activated the bootloader
installation tab,and selected boot from MBR.The same applies to
using the"repair Installed System"on the install disk,(choose expert).when asked where to boot,choose MBR,and uncheck anything else.Always choose the MBR!!that link was priceless.I hope that this will help someone else!!
thanks again!!!rotfl!
Rick

Anyone who uses/used Gentoo, has to at least know the basics. And from the way you sorted that - it’s clear you have a handle on it. Well done. At least we pointed you in the right direction.

My problems sort of belongs here in this thread.

I had a problem getting wireless working on a dual boot XP/opensuse 10.3 machine. Seeing that 11.0 seems to have improved wireless, I decided to upgrade the OS. I know! always do a clean install! But, I had the luxury of using this as a learning tool.

I dragged a cable half way across the house to do the upgrade and it went pretty well. When I got to the point of the second boot (from the hard disk, not the install disk), I got no grub screen. It booted directly into XP. I went to Swerdna’s tutorial to fix grub, but didn’t print it out and tried it from memory. The boot repair tool only saw the suse install until I clicked on “reread from disk” and all the os info appeared. I switched the default OS from XP to opensuse 11 and rebooted.

I now get a grub menu with all the choices and they all work. The problem is that it is a text menu and not the normal gui. How do I get the gui back?

Footnote: the upgrade method wasn’t all that good. I had a ton of dependency problems. I have found only one “show stopper” and that is when I go to yast–>network devices–>network settings, the system hangs hard at 11% complete (I think it is scanning for devices). I have to shut the power off to get control. So, I’ve done all this and still no wireless!
When you’re up to your butt in alligators, its hard to remember you were there to drain the swamp.

Prexy
Post your /boot/grub/menu.lst

To get a GUI menu back, your first lines in menu.lst should look roughly like this:

default 0
timeout 3
gfxmenu (hd0,2)/boot/message

The critical line is the third one, of course; obviously, you must put in the correct location of YOUR (hdx,y)/boot/message.:stuck_out_tongue:

menu.lst is empty!

So is menu.lst.old