Hello iam gona show you how to mount VHD in windows with cmd
To start open cmd and type diskpart.exe and run disk part
1. Creating a VHD The example below creates a 20GB dynamically expanding VHD called "test.vhd" and places it in the root of the C: drive.Note that the type parameter is optional and the default type is fixed.
create vdisk file=c:\test.vhd maximum=20000 type=expandable
2. Attaching a VHD The following example shows how to select and attach the VHD. It also provides steps for partitioning, formatting and assigning a drive letter to the attached VHD.
select vdisk file=c:\test.vhd attach vdisk create partition primary format fs=ntfs label="Test VHD" quick assign letter=v
3. Detaching the VHD To detach (i.e. unmount) the VHD, use the following example:
select vdisk file=c:\test.vhd detach vdisk
Note: All 3 of these VHD actions can also be performed in the Disk Management Console of Windows 7.
No comments:
Post a Comment