Take a look at
http://forums.virtualbox.org/viewtopic.php?f=28&t=33356 (win7) or
http://forums.virtualbox.org/viewtopic.php?f=28&t=9697 (winxp).
Protip: never use VirtualBox's "save machine state and close" feature if you plan to dual boot like this. Its too easy to forget and boot to that OS directly next time...