Technet has provided a pretty good script on how to set up "boot from VHD"
 
Advertisements