Network Administrator Knowledgebase

Jan 30 2009   5:26AM GMT

Windows 7 – Booting from a .VHD file



Posted by: Michael Khanin
Tags:
Booting from a .VHD
Windows 7 Booting

If you want to boot from a Windows 7 (Windows Server 2008 R2) installed on a new .VHD do the following steps:

A.-  Creating the .VHD file and Windows 7 installation on that .VHD file

  1. Boot the machine using the Windows 7 DVD
  2. Choose Windows Repair
  3. Start CMD
  4. Run Diskpart
  5. Type: Create vdisk file=c:\Windows7Build7000.vhd maximum=40000
  6. Type: select vdisk file=c:\Windows7Build7000.vhd
  7. Type: attach vdisk (in previous Betas, it was ‘surface’ instead of ‘attach’)
  8. Type: ‘exit’ (you exit Windows Repair, but Do Not Reboot)
  9. Install Windows 7 to this attached .VHD (From Win7 installation, you now have to ‘see’ another Hard Drive, you’ll need to create a partition & format it, first. You might get an error/warning saying that your computer hardware might not support this disk, just ignore it..).
  10. Reboot, and you ready to go!

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: