Created
April 18, 2012 09:14
-
-
Save madd0/2412241 to your computer and use it in GitHub Desktop.
Create VHD with diskpart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\>diskpart | |
Microsoft DiskPart version 6.1.7601 | |
Copyright (C) 1999-2008 Microsoft Corporation. | |
On computer: XXXXXX | |
DISKPART> create vdisk file=C:\VHDs\Win8CP.vhd type=expandable maximum=60000 | |
100 percent completed | |
DiskPart successfully created the virtual disk file. | |
DISKPART> select vdisk file=C:\VHDs\Win8CP.vhd | |
DiskPart successfully selected the virtual disk file. | |
DISKPART> attach vdisk | |
100 percent completed | |
DiskPart successfully attached the virtual disk file. | |
DISKPART> create partition primary | |
DiskPart succeeded in creating the specified partition. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment