Booting from a VHD in Windows 7

Posted by Marcus Hammarberg on August 12, 2009
Stats

OK – I have been playing around for a while with my Windows 7 and up to now I love it! It even got my old Dell Precision M70 (4 years old and as many kilos) to look good again.

I am also trying to setup a lab environment for Visual Studio 2010 and TFS Server 2010 and found this great video and introduction on how to do that.

However, since my system is slow and low on memory, it doesn’t play to well with running the whole thing (Windows 2008 Server, SQL Server 2008, TFS Server 2010 and Visual Studio 2010) in Virtual PC.

So I was very happy when I found this post from Scott Hanselman. Here is an excellent video that shows you how it’s done.

In short there is now support to boot from a VHD (Virtual Hard Drive) and even to create a VHD-file from an ISO…

Cool! Really cool!

[UPDATED]
Brrr... that was harder than I first thought. But with some help from mr Hanselman again, and by downloading loads and loads of GBs (Windows 7 AIK, I never thought that I would download such things ...) I finally got it to work. By the way, here is my command line:

cscript wim2vhd.wsf /wim:C:\VHDs\VS2010\2008Server\sources\install.wim /sku:SERVERENTERPRISE /vhd:C:\VHDs\VS2010\vs2010beta.vhd



Published by Marcus Hammarberg on Last updated