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.

New Server

Well it’s been a long time since I posted here and I really don’t have anything to say, apart from that I’ve moved from a shared server to one of my own dedicated servers now. It’s really boring, but I’ve moved from a Linux-based host across to a Windows 2008, IIS 7 server. Anyways, it was really ridiculously easy; the only problem I had was with pretty URLs. Big thanks to the learn.iis.net team for this link: http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/


  1. Search


  2. Recent Comments

  3. Tags