Saturday 18 September 2010

Creating a VHD (Virtual Hard Disk)

To create a bootable Virtual Hard disk follow the steops below

1. Boot the PC with a Windows 7 CD
2. When the installation screen appears asking you for the language, etc, press Shift +F10 to launch the command prompt
3. type
diskpart and press enter
4. type
Create vdisk file = c:\name-of-the-vdisk.vhd maximum=amount-in-megabytes type=expandable
Note: please remove the type parameter to create a fixed size disk
5.type
Select vdisk file =c:\name-of-the-vdisk.vhd
Attach vdisk
6. At this point Diskpart will notify you that is has successfully attached the virtual disk
7. Type exit to leave diskpart and exit to leave the command prompt
8. You can install Windows 7 in the new virtual disk
9.When the installation completes and reboots, you'll see a dual boot screen. You can modify the behavior of the boot partition selection with bcdedit

No comments:

Post a Comment