Wednesday, September 16, 2009

Boot Windows 7 from Virtual HardDisk

Yeah,Windows 7 has a new feature which enables booting from Virtual HardDisks created by Virtual PC.
Open cmd with administrator privilages and the code is
CODE
C:\>bcdedit /copy {current} /d "My New VHD Description"
C:\>bcdedit /set device vhd=[driveletter:]\\
C:\>bcdedit /set osdevice vhd=[driverletter:]\
\
C:\>bcdedit /set detecthal on

Note: The first command will Return the GUID of the Loader Object that you will use to replace below
Note: vhd=[driveletter:]\\ is the new syntax supported for BCDEdit.exe to locate VHD File and Bootmgr will locate the partition containing the VHD File to boot from.
Whats the use?
You can boot vhd with original hardware of your computer

No comments:

Post a Comment