anyone help on how to hide a partition in grub 2.

cannot find anywhere on how to set this up.
have a test system that has.
Win XP
Vista
and had ubuntu 9.04 with grub 1

in the grub menu.lst

had

This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows XP Professional
unhide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title Windows Vista
unhide (hd0,2)
hide (hd0,1)
rootnoverify (hd0,2)
savedefault
makeactive
chainloader +1



This was so win xp didn't see vista and stuff up and vista didn't see win xp
also so straight boot to both os not using linux boot loader then the stupid vista boot loader.

I cannot find any info on how to setup this in the new grub.cfg

or were to set this up.