Vikram's Web Archive

Icon

Since interestingness isn't a search option…

Keith Combs’ Blahg : Dual Boot from VHD Using Windows 7 and Windows Server 2008 R2

Boot from VHD is a new technique for installing and maintaining operating system environments. Unlike virtual machines, the operating system that is running from a “boot from VHD” environment is using the actual hardware instead of emulated hardware. This means a developer could easily use WPF and the full GPU processing power of a high end graphics card. In another scenario, this technology makes it easy to setup and run Windows Server 2008 R2 with the Hyper-V role, thus supporting 64 bit virtualization workloads.

The Virtual Hard Disk (VHD) is the container for the installed operating system. Because everything is inside a single file, there are a number of benefits that can be realized for data center server environments, as well as managed desktop environments. The following article dives into the technical details of implementing two operating systems. Both are installed in a VHD file and can easily be booted by selecting the preferred environment at power on. This could easily be scripted and automated.

Boot your machine with a blank hard drive using the Windows 7 DVD.
Click next on the language screen if English is appropriate.
SHIFT+F10 to launch a WinPE command console. Although the commands below are in upper case, the commands are not case sensitive. I am only using upper case for readability here.
Enter DISKPART to run the utility.
LIST DISK to see the available disks in your system. I am assuming a single raw disk.
SEL DISK 0
CREATE PARTITION PRIMARY
FORMAT FS=NTFS QUICK
LIST VOL
ASSIGN
LIST VOL
CREATE VDISK FILE=c:\windows7rc.vhd MAXIMUM=200000 TYPE=EXPANDABLE
SELECT VDISK FILE=c:\windows7rc.vhd
ATTACH VDISK
CRE PART PRI
FORMAT FS=NTFS QUICK
ASSIGN LETTER=V:
LIST VOL
LIST VDISK
exit DISPART
exit WinPE command console
Install to the newly created 200GB (fuzzy math) virtual hard disk which looks just like a partition to Windows Setup
Repeat steps 11-18 for the Windows Server 2008 R2 VHD but with the obvious changes for the vdisk filename, size, etc.

[From: Keith Combs’ Blahg : Dual Boot from VHD Using Windows 7 and Windows Server 2008 R2]

Category: Cool Sites, Tech Tips, Windows

Tagged:

Comments are closed.

Photo Stream

AngelsLandingHDIMG_1435IMG_1503IMG_1142c2IMG_1132IMG_1133

Translate

 

Library

Speaker for the Dead
To Kill a Mockingbird
Leviathan Wakes
Caliban's War
Hyperion
Revelation Space
Ender's Game
Dune
On Basilisk Station
Old Man's War
Shards of Honour
The Warrior's Apprentice
The Fall of Hyperion
The Rise of Endymion
Endymion

 

Now Reading

Planned books:

Current books:

  • The Wisdom of Crowds

    The Wisdom of Crowds by James Surowiecki

Recent books:

None

View full Library