Solaris and Xp in dual boot

Hello,I've a big problem.
On my hd I've Windows Xp and after I've installed Solaris 10.
Solaris now run perfectly but I can't boot the Xp partition.I've tried with grub super disk and I receive an error 12 when I try to boot the Windows partition.However with the windows cd the partition is browseable.How I can restore the dual boot?Thanks in advance.

The situation that gparted view is this :

I would expect an NTFS primary partition to boot Windows. Are you sure you didn't overwrite it with Solaris ?

If hda5 (as Linux calls it) is bootable, you can try to add this entry in your grub menu.lst file:

title Windows XP
root (hd0,4)
chainloader +1
makeactive

For Example :-
Example:-
you have hard disk 100GB when you divided it follow this steps

1- make your C partition 25 GB
2- there is 75 GB you will created at an extended partition
3- don't take all of 75 GB take for example 50 GB as extended
so the reset of your harddisk will 25 GB it is unlocated space

4- put CD for Solaris 10 in you CD room and go to the install

but default Solaris 10 will read 25 GB the rest of your hard as the partition that installed on it

thanks and i hope that will help you