Datasheet
28
Chapter 1
Planning for the Installation of Windows 7
5. Type the following command and press Enter.
Select vdisk file=c:\Windows7.vhd
Diskpart will indicate it has successfully selected the virtual disk file.
6. Type the following command and press Enter:
Attach vdisk
Diskpart will indicate it has successfully attached the virtual disk file.
7. Type Exit and press Enter to exit Diskpart.
8. Type Exit and press Enter to exit the command-prompt window.
9. You will now see the Install Windows screen you saw before pressing Shift+F10.
Make sure the correct language, time and currency, and keyboard or input method
are selected and click Next.
10. Click the Install Now button.
11. Review the license terms, select the check box I Accept The License Terms, and
click Next.
12. Click the Custom (Advanced) type of installation.
13. The Where Do You Want To Install Windows screen will appear with at least two
disks showing. Below the physical disks and partitions, you will see the virtual disk
file represented as a disk with a total size of 40 GB and free space of 40 GB (unless
you created it as a different size). In my test system, it has one physical disk shown
as Disk 0 and the
.vhd disk as Disk 1 Unallocated Space. Select the virtual disk and
click Next.
At this point, the installation of Windows will progress as would a normal Windows 7
installation. You can follow the exercise earlier in this chapter to install Windows 7 from
the DVD if desired.
When it completes and reboots, you’ll see a dual-boot screen. The Windows 7 choice
will be first and, if you don’t take any action, it will boot to the Windows 7 VHD file in
30 seconds. You can modify this behavior with
bcdedit, which is covered in more depth
in Chapter 5, “Maintaining and Troubleshooting Windows 7.”
A warning may appear saying, “Windows cannot be installed to this disk.
(Show Details),” indicating the hardware is not compatible. Don’t believe
it. Continue on. I’ve seen that message on two different systems, but the
installation and operation worked without any problems I could identify.
EXERCISE 1.4 (continued)
597095c01.indd 28 6/2/10 4:12:59 PM