Messed up grub

I have royally messed up the grub loader. I have tried to repair grub with the repair option on the 11.1 DVD but it doesn’t seem to be working. It just bypasses all options and I get a black screen that says reboot now.

Mount -t ext3/dev/sdb6 /mnt
cat /mnt/etc/grub.conf

setup --stage2=/boot/grub/stage2 --force-1ba (hd0,5) (hd0,5) quit

cat /mnt/etc/boot/grub/menu.lst

# Modified by YaST2. Last modification on Mon Feb 9 15:47:48 EST 2009
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1
     root (hd0,5)
     kernel /boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-Maxtor_6Y160M0_Y471MTAE-part6 resume=/dev/disk/by-id/ata-Maxtor_6Y160M0_Y471MTAE-part5 splash=silent opts vga=0x345
     initrd /boot/initrd-2.6.27.7-9-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1
     root (hd0,5)
     kernel /boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-Maxtor_6Y160M0_Y471MTAE-part6 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off high=off processer.max_cstate=1 x11failsafe vga=0x345
     initrd /boot/initrd-2.6.27.7-9-default

###Don't change this comment - YaST2 identifier: Original name: floppy###
title floppy
     rootnoverify (fd0)
     chainloader +1

Any help would be greatly appreciated

You could try re-installing Grub, to do this you need a working version of GRUB (via any number of Linux Live CD’s or any other OS that boots from GRUB) and once in the menu, press c, then you go to the root of your SUSE install (ill say the first Hard Disk or HD0 and the first partition) you do this by typing:
“root (hd0,0)” <–change the (HD0,0) to suit your system
“setup (hd0)” <–change HD0 to suit our systems needs

Note: do not type the quotes

Then when it says Done, reboot without the CD in the drive and you should be good to go. Let me know if you need me to explain better.

I have the 11.1 DVD. Do I go into recover and type c? I can get to a command line grub but am confused as to where to go from there.
I have 3 hard drives installed on my system. 1 IDE and 2 Sata. linux is on SDB
SDB6 is EXT3
SDB7 is EXT3
and SDB5 is Swap
Would this be (hd0,5)? or maybe (hd0,6)?

Thank you, Thank you, Thank you!!!

It was (hd1,5)
any suggestion on how I can add back my vista partition as a boot option?

Is there anyway to find out what is on (hdX,X)in regards to dev/sdX? X being a variable?

For example my vista partition is on sdb2 but I don’t know what the (hd?,?) is.

Figured it out. Had to delete the grldr and grldr.mbr from the windows partition then it booted into vista.