to boot windows you have to write:
title Windows
root (hd0,1)
chainloader +1
this will boot your winxp. you have to boot the ntldr partition which then loads xp

as for the other linux distro use boot partition as root.

2007/10/28, Julien Cassette <hazynrg@gmail.com>:
Hello,
I needed to install Windows XP on a logical partition, but I found that it can't boot from such a partition because NTLDR needs to be installed on a primary one.
So I set up the following partition scheme:
  /dev/sda1 ext3 Gentoo root
  /dev/sda2 ntfs NTLDR
  /dev/sda4 Extended
    /dev/sda5 ext2 Gentoo portage
    /dev/sda6 swap Gentoo swap
    /dev/sda7 ext3 Gentoo home
    /dev/sda8 ntfs Windows XP

Win xp installed and booted without problem but now that I need to restore GRUB, I am wondering if I need to write "root (hd0,1)" or "root (hd0,7)" into the grub.conf to boot windows.

Thanks for your help
Julien.



--
dott. ing. beso