At that prompt enter (possible output and comments in bold):
Code:
find /boot/grub/stage1
find /boot/grub/stage1
(hd0,1)
root (hd0,1)
root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
setup (hd0)
...
Done.
and reboot.
Here's an example from my laptop [where (hd1) is not booted directly, so installing GRUB on it is just an exercise.]
Code:
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd0,5)
(hd0,6)
grub> find /grub/stage1
find /grub/stage1
(hd1,0)
grub> root (hd1,0)
root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd1)
setup (hd1)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd1)"... 23 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd1) (hd1)1+23 p (hd1,0)/grub/stage2 /grub/grub.conf"... succeeded
Done.