Problems installing grub

Hi, I had openSUSE 11 and WinXP installed and properly configured as a dual boot system. However, I recently reinstalled Windows, and the boot sector has been rewritten. I have tried to boot into the live cd and install grub through yast, and through the grub prompt on the command line but this doesn’t work.

The yast bootloader tells me that “because of the partitioning the boot loader cannot be installed properly” and running

root (hd0,5)
setup (hd0)

gives me error 22, no such partition.

FYI, running fdisk -l displays the following partition info.

Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008ca2a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5996 48162838+ 7 HPFS/NTFS
/dev/sda2 5997 7297 10450282+ f W95 Ext’d (LBA)
/dev/sda3 7233 7297 522081 82 Linux swap / Solaris
/dev/sda5 5997 7232 9928107 83 Linux

Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe739928e

Device Boot Start End Blocks Id System
/dev/sdb1 1 7297 58613121 7 HPFS/NTFS

I really don’t want to reinstall suse, so I’d appreciate any help I can get.

Thank you very much in advance

Not so simple if you used a live cd to install. In future always use a dvd.

A walk thru here
GRUB Boot Multiboot openSUSE Windows (2000, XP, Vista) using the Grub bootloader.

Full Grub info here
GRUB bootloader - Full tutorial

Also an option is:
Super Grub Disk Webpage: Home Page