I just installed Ubuntu on this laptop and when I first looked for XP in the grub menu list it wasn't there. I googled it and the web page said to add the following:

title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1

I get Error # 13 "Invalid or unsupported executable format" Now that I've added those lines.

Question: Does it matter where I add it at? I added it before:
### END DEBIAN AUTOMAGIC KERNELS LIST

Also here is my fdisk info:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x321d321c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               2        3071    24659775    f  W95 Ext'd (LBA)
/dev/sda2   *        3072        3320     2000092+  82  Linux swap / Solaris
/dev/sda3            3321        7296    31937220   83  Linux
/dev/sda5               2        3071    24659743+   7  HPFS/NTFS


I added the fdisk info because on one forum it was asked for and never provided.

Thanks for any help.