Dual booting Windows 7 and Windows Server 2008 R2
I’ve been using Windows 7 as my primary OS on my laptop (a nice shiny new Dell Studio 17) for a little while now. I’ve found it almost as stable as Vista, definitely faster and some of the new features are very useful – the wireless connection stuff is much better for example. However, the lack of any hypervisor-based virtualization product with it means I have to use Windows Server 2008 for many work-based things.
Now, with both Windows 7 and Windows Server 2008 R2, you can boot from a VHD file. Why is this great? Well, my laptop only has one disk partition and I can’t be bothered to resize it (and no, using DISKPART doesn’t work – I have 0B available to shrink). It also means that I can stick in my USB stick with the Windows Server 2008 R2 install files on, open a command prompt (using SHIFT+F10 when the first dialog box pops up) and type:
diskpart
create vdisk file=D:\VHDs\Win2k8R2.vhd type=expandable maximum=32768
select vdisk file=D:\VHDs\Win2k8R2.vhd
attach vdisk
exit
I can then continue the install – it does complain about not being able to boot from this volume, but don’t believe it. Just press next and the whole thing works like a dream.
This entry was posted on Tuesday, January 27th, 2009 at 11:19 am and is filed under Windows 7. Find similar posts by selecting any of the following tags: dual boot, vhd, Windows 7. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
on Monday, March 16, 2009 at 2:00 pm Adding an existing VHD to the Windows 7 boot loader | Rob’s Blog wrote:
[...] Links « Dual booting Windows 7 and Windows Server 2008 R2 [...]
on Thursday, June 4, 2009 at 2:25 pm Phil Bolduc wrote:
When you boot Windows 2008 Server R2 from a VHD, can you still run Hyper-V? I know with Windows 7, VHD booting has a couple of side effects such as no Hibernate or Windows Experience score.
on Tuesday, November 17, 2009 at 10:27 pm C wrote:
I already have Wins7 installed. Can I install Sr2008, using the VHD method, on the same machine with W7? W7 will not be in a VHD.
Thank you,