Windows Vista Tips

Windows Vista Tips > Newsgroups > Virtual PC > Expand a vhd

Reply
 
 
JackSpratt
Guest
Posts: n/a

 
      04-07-2010
No doubt this has been asked a thousand times.
Easy way to increase the size of a vhd?
I seem to have underestimated how quickly I would use up the size of my
win2.8k virtual.

Did a quick Google and found talk of 3rd party tools and stuff.
Does it take that?
 
Reply With Quote
 
 
 
 
Steve Jain
Guest
Posts: n/a

 
      04-07-2010
Yes. YOu can't expand a VHD beyond its maximum size without 3rd party tools
or imaging it to a larger VHD

"JackSpratt" wrote:

> No doubt this has been asked a thousand times.
> Easy way to increase the size of a vhd?
> I seem to have underestimated how quickly I would use up the size of my
> win2.8k virtual.
>
> Did a quick Google and found talk of 3rd party tools and stuff.
> Does it take that?
> .
>

 
Reply With Quote
 
RCan
Guest
Posts: n/a

 
      04-07-2010
yes you can :-)

1. you do have an Hyper-V system available which can expand a VHD.
2. Have an Win7/R2 system available and use diskpart for expand the maximum
size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND VDISK
MAXIMUM=100 (MB)

Regards
Ramazan

"Steve Jain" <> wrote in message
newsE9662DD-5ACC-400E-BCCA-...
> Yes. YOu can't expand a VHD beyond its maximum size without 3rd party
> tools
> or imaging it to a larger VHD
>
> "JackSpratt" wrote:
>
>> No doubt this has been asked a thousand times.
>> Easy way to increase the size of a vhd?
>> I seem to have underestimated how quickly I would use up the size of my
>> win2.8k virtual.
>>
>> Did a quick Google and found talk of 3rd party tools and stuff.
>> Does it take that?
>> .
>>

 
Reply With Quote
 
Steve Jain
Guest
Posts: n/a

 
      04-07-2010
One thing to keep in mind is the maximum limit for a VHD for VPC is 127GB.
Don't expand it beyond that.

"JackSpratt" wrote:

> No doubt this has been asked a thousand times.
> Easy way to increase the size of a vhd?
> I seem to have underestimated how quickly I would use up the size of my
> win2.8k virtual.
>
> Did a quick Google and found talk of 3rd party tools and stuff.
> Does it take that?
> .
>

 
Reply With Quote
 
JackSpratt
Guest
Posts: n/a

 
      04-08-2010
RCan wrote:
> yes you can :-)
>
> 1. you do have an Hyper-V system available which can expand a VHD.
> 2. Have an Win7/R2 system available and use diskpart for expand the
> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND
> VDISK MAXIMUM=100 (MB)


Perfect... almost.
Now my guest OS has 28GB of unallocated space.
How do I merge this onto the existing drive?


>
> Regards
> Ramazan
>
> "Steve Jain" <> wrote in message
> newsE9662DD-5ACC-400E-BCCA-...
>> Yes. YOu can't expand a VHD beyond its maximum size without 3rd party
>> tools
>> or imaging it to a larger VHD
>>
>> "JackSpratt" wrote:
>>
>>> No doubt this has been asked a thousand times.
>>> Easy way to increase the size of a vhd?
>>> I seem to have underestimated how quickly I would use up the size of my
>>> win2.8k virtual.
>>>
>>> Did a quick Google and found talk of 3rd party tools and stuff.
>>> Does it take that?
>>> .
>>>

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      04-08-2010


"JackSpratt" <> wrote in message
news:...
> RCan wrote:
>> yes you can :-)
>>
>> 1. you do have an Hyper-V system available which can expand a VHD.
>> 2. Have an Win7/R2 system available and use diskpart for expand the
>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND
>> VDISK MAXIMUM=100 (MB)

>
> Perfect... almost.
> Now my guest OS has 28GB of unallocated space.
> How do I merge this onto the existing drive?
>
>


Extend the partition.


 
Reply With Quote
 
JackSpratt
Guest
Posts: n/a

 
      04-11-2010
Bill Grant wrote:
>
>
> "JackSpratt" <> wrote in message
> news:...
>> RCan wrote:
>>> yes you can :-)
>>>
>>> 1. you do have an Hyper-V system available which can expand a VHD.
>>> 2. Have an Win7/R2 system available and use diskpart for expand the
>>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" ->
>>> EXPAND VDISK MAXIMUM=100 (MB)

>>
>> Perfect... almost.
>> Now my guest OS has 28GB of unallocated space.
>> How do I merge this onto the existing drive?
>>
>>

>
> Extend the partition.
>
>


using diskpart on the host? on the guest? disk management?
I tried right clicking on the (guest) C drive and extending but it won't
let me have the unallocated.
 
Reply With Quote
 
JackSpratt
Guest
Posts: n/a

 
      04-11-2010
JackSpratt wrote:
> Bill Grant wrote:
>>
>>
>> "JackSpratt" <> wrote in message
>> news:...
>>> RCan wrote:
>>>> yes you can :-)
>>>>
>>>> 1. you do have an Hyper-V system available which can expand a VHD.
>>>> 2. Have an Win7/R2 system available and use diskpart for expand the
>>>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" ->
>>>> EXPAND VDISK MAXIMUM=100 (MB)
>>>
>>> Perfect... almost.
>>> Now my guest OS has 28GB of unallocated space.
>>> How do I merge this onto the existing drive?
>>>
>>>

>>
>> Extend the partition.
>>
>>

>
> using diskpart on the host? on the guest? disk management?
> I tried right clicking on the (guest) C drive and extending but it won't
> let me have the unallocated.



ok got it
Run diskpart on guest os

select disk 0
disk detail
select volume 1
extend

done.
 
Reply With Quote
 
RCan
Guest
Posts: n/a

 
      04-12-2010
;-)

Regards
Ramazan

"JackSpratt" <> wrote in message
news:uAjYn#...
> JackSpratt wrote:
>> Bill Grant wrote:
>>>
>>>
>>> "JackSpratt" <> wrote in message
>>> news:...
>>>> RCan wrote:
>>>>> yes you can :-)
>>>>>
>>>>> 1. you do have an Hyper-V system available which can expand a VHD.
>>>>> 2. Have an Win7/R2 system available and use diskpart for expand the
>>>>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" ->
>>>>> EXPAND VDISK MAXIMUM=100 (MB)
>>>>
>>>> Perfect... almost.
>>>> Now my guest OS has 28GB of unallocated space.
>>>> How do I merge this onto the existing drive?
>>>>
>>>>
>>>
>>> Extend the partition.
>>>
>>>

>>
>> using diskpart on the host? on the guest? disk management?
>> I tried right clicking on the (guest) C drive and extending but it won't
>> let me have the unallocated.

>
>
> ok got it
> Run diskpart on guest os
>
> select disk 0
> disk detail
> select volume 1
> extend
>
> done.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59