Friday, August 30, 2013

Expand VHD - Increase Capacity of Virtual Hard disk

well, i was stuck with 25 GB of in my virtual hard disk and started my favorite computer operation "Google" to find solution and surprisingly  found one pretty quickly

Here is goes.

Run below command sequentially in command prompt

diskpart                                    [open command prompt and type  this command]
Select vdisk file="Path of VHD"
list vdisk
expand vdisk maximum=40000                    [Size in MB]
attach vdisk
list disk
Online Disk
list volume
select volume                         [Select disk volume to be exteded]
extend
List Volume
detach vdisk
exit

No comments:

Installing Octave in Ubuntu running on Docker

I want to run Octave on Ubuntu running on docker.  Simple stuff but still manage to get errors and had to spend  few minutes on fine-tuning ...