Datasheet
Virtualization Considerations
27
EXERCISE 1.4
Creating a Bootable VHD
1. Turn on the Windows Vista system and place the Windows 7 installation DVD in the
system. When the system starts, select the option to boot from the DVD.
2. When the initial installation screen appears prompting you to select a language, time
and currency format, and keyboard or input method, press Shift+F10. This will launch
a command-prompt window with the prompt
X:\Sources>
X:
is mapped to the DVD drive, and it is pointed to the Sources folder in the drive.
3. At the command prompt, type diskpart and press Enter. After a moment, the com-
mand prompt will change to
DISKPART> and your display will look similar to the fol-
lowing graphic.
4. Type the following command, and press Enter to create a 40GB expandable virtual
disk file.
Create vdisk file = c:\Windows7.vhd maximum=40960 type=expandable
You can name the .vhd file anything you want, enter a different maximum size, or
omit the
type=expandable statement to create a fixed-size file. If you choose a fixed
size, it will take several minutes to complete and will show the progress. After the
file is created, Diskpart will display the message “Diskpart successfully created the
virtual disk file.”
597095c01.indd 27 6/2/10 4:12:59 PM