Thursday, December 22, 2011

How to Install Windows 7 in to a Virtual Hard Disk (VHD)



This is an easy process.Follow the following steps carefully and reach to the success.. Good Luck

  • Boot your computer with Windows 7 DVD and When you prompt the Graphical User Interface to Install the Windows with "install Now" option
  • Without clicking "Install Now" Click the "Repair your computer" option at the down left side
  • Then you will get the "System Recovery Option"
  • In that chose the "Use recovery tools that can help fix problems starting Windows" Option
  • Then Click next
  • You will get a list of tools on that Click the "Command Prompt"
  • You will get the command prompt interface
From here you have to use following commands and at the end of the each command press the enter key to execute the command
  • diskpart
  • list disk
You can see your hard disk drive in the list
  • select disk 0
  • create partition primary
  • list partition
You can see now your newly created partition
  • select partition 1
  • assign letter=c
  • format fs=ntfs label="data1" quick
  • create vdisk file=c:\myvhd.vhd maximum=70000
  • attach vdisk
now you have a Virtual Hard disk in side your Physical hard disk with the size of 70 GB (Notice your real had disk should be grater in size than the VHD)
  • now close the disk part by typing "exit"
  • and type and enter "exit" again to close the command prompt
  • Now close your "system recovery option" window
  • You will be in the windows installing prompt
  • Click the "Install now" option
  • Accept the License terms and click next
  • then select the "Custom (advanced)" option
  • Now you can see your actual primary partition and the Virtual Disk that you created
  • select your VHD
  • You can see a error message in the down left side that showing "Windows cannot be installed to this disk (show details)
  • You should ignore it and select your VHD and click next
  • Now windows will install to your computer as a normal installation

Congratz..
Go ahead and do it
any doubts..do a comment

0 comments:

 

Copyright © Network and Systems සිංහලෙන් Design by O Pregador | Blogger Theme by Blogger Template de luxo | Powered by Blogger