boot loader settings

Due to various reasons I cannot boot to my windows system. Grub is OK and I can boot to opensuse no problems. I cannot get the boot loader settings correct. I can boot to winXP using Super Grub, so I know it is possible with the right settings:

Here is fdisk:
Disk /dev/sda: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008cb31

Device Boot Start End Blocks Id System
/dev/sda1 * 1 261 2092288 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 261 2872 20968448 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 2872 36480 269957006 83 Linux
Partition 3 does not end on cylinder boundary.

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0388a221

Device Boot Start End Blocks Id System
/dev/sdb1 1 160730 1291057152 7 HPFS/NTFS
/dev/sdb2 160730 182402 174080000 83 Linux

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdf79bc2f

Device Boot Start End Blocks Id System
/dev/sdc1 1 16322 131106433+ c W95 FAT32 (LBA)
/dev/sdc2 16323 60801 357277567+ 5 Extended
/dev/sdc5 16323 34604 146850133+ 7 HPFS/NTFS
/dev/sdc6 34605 60801 210427371 bc Unknown

sdc5 is my windows XP. Please advise the correct setting in yast>bootloader.

Try this

title WIN XP
 map (hd2) (hd0)
 map (hd0) (hd2)
 rootnoverify (hd2,4)
 chainloader (hd2,4)+1

kdesu kwrite /boot/grub/menu.lst
or
gnomesu gedit /boot/grub/menu.lst

from a terminal to edit the file

Unfortunately that did not work. Any other recommendations?

thanks for the help.

I changed this slightly

Alas that did not work but this did:

###Don’t change this comment - YaST2 identifier: Original name: menu###
title windows
root (hd0,0)
rootnoverify (hd0,0)
chainloader +1

From my notes

But that says windows is on the first hd and the first partition.

Yes Sir:
I have been confused about it from the outset. If you will recall I had posted on your “Re-Install Grub Quickly with Parted Magic” thread.

Re-Install Grub Quickly with Parted Magic

My BIOS is set to boot from hd0 and the following is my grub info and everything works nicely.

Modified by YaST2. Last modification on Thu Jul 15 15:59:21 EDT 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd2,1)/boot/message

###Don’t change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
root (hd2,1)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3000HLFS-01G6U0_WD-WXD0C7949084-part2 repair=1 resume=/dev/disk/by-id/ata-WDC_WD3000HLFS-01G6U0_WD-WXD0C7949084-part1 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – SUSE LINUX
root (hd2,1)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3000HLFS-01G6U0_WD-WXD0C7949084-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
initrd /boot/initrd

###Don’t change this comment - YaST2 identifier: Original name: menu###
title windows
root (hd0,0)
rootnoverify (hd0,0)
chainloader +1

Other info:

(hd2) /dev/disk/by-id/ata-WDC_WD3000HLFS-01G6U0_WD-WXD0C7949084
(hd1) /dev/disk/by-id/ata-ST31500341AS_9VS32EM8
(hd0) /dev/disk/by-id/ata-WDC_WD5000AAJB-00YRA0_WD-WCAS86352573