Grub desperate need help



Hello,

I've installed openSUSE 10.2 in a second hard drive in my computer and
grub does not work properly. I have the following setup files:

grub.conf

sgmtech:/home/andreltr # more /etc/grub.conf
setup --stage2=/boot/grub/stage2 (hd0) (hd1,4)
quit

menu.lst

sgmtech:/home/andreltr # more /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Oct 6 21:51:30 BRT 2007
default 0
timeout 8
gfxmenu (hd1,4)/boot/message

###Don't change this comment - YaST2 identifier: Original name:
linux###
title openSUSE 10.2
root (hd1,4)
kernel /boot/vmlinuz root=/dev/hdb5 resume=/dev/hdb6 splash=silent
showopts
initrd /boot/initrd

title Windows
rootnoverify (hd0,0)
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name:
failsafe###
title Failsafe -- openSUSE 10.2
root (hd1,4)
kernel /boot/vmlinuz root=/dev/hdb5 showopts ide=nodma apm=off
acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

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

device.map

sgmtech:/home/andreltr # more /boot/grub/device.map
(hd1) /dev/hdb
(fd0) /dev/fd0
(hd0) /dev/hda

This is the configuration I've tried as well:

grub> root (hd1,4)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 15 sectors are
embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,4)/boot/
grub/stage2 /boot/grub/menu.lst"... su
cceeded
Done.

grub> quit

The BIOS setup is:

CDROM
HDD-1
HDD-2

Any suggestion on how to solve this please?

Thank you,

André Luiz

.



Relevant Pages

  • Re: [opensuse] 11.0 mdraid1 - Install OK, after updates - GRUB ERROR 17
    ... [opensuse] 11.0 mdraid1 - Install OK, ... In my case I specifically wanted grub in mbr. ... setup ...
    (SuSE)
  • Re: GRUB trouble
    ... grub> root ... Submitting 'setup (hd0) claims all is fine and dandy, but a reboot gets me back to where I started. ... 'quit' is an unknown command as well. ...
    (Fedora)
  • Re: howto boot from the second disk in raid 1
    ... grub> device (hd0) /dev/sdb ... grub> setup (hd0) ... grub> quit ...
    (Debian-User)
  • Re: bootloader issue
    ... show us the command you're using to install grub ... grub> setup (hd0) ... grub> quit ...
    (comp.os.linux.misc)
  • Re: [opensuse] Grub troubles
    ... The install is to 2 IDE drives with SuSE being on the second drive ... If I tell the BIOS to boot from the other hard drive I get a grub error 17 ... root ... The setup is the same regardless of whether dmraid or normal disks are used. ...
    (SuSE)