MSFN Forum: Extend system partition hyper-v guest - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Extend system partition hyper-v guest extend .vhd file

#1 User is offline   zeezam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 28-March 08

Posted 12 January 2012 - 01:31 AM

I have a windows 2003 installed as a hypver-v guest on a .vhd file.

The system partition is getting full and I want to extend it.

I have added more disk via the hyper-v host but I can't extend the partition on the windows 2003 server.

I have tried with diskpart. I have also tried mounted the .vhd on my windows 7 machine and extended the disk but then it got BSOD when I start it.

Any ideas?


#2 User is offline   allen2 

  • Not really Newbie
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,439
  • Joined: 13-January 06

Posted 12 January 2012 - 02:43 AM

Here is how i do it:
- extend the vhd using hyper-V
- extend the partition inside the vhd :
  • if it is the boot partition, the you have two choices: boot with a winpe with diskpart support and do the diskpart ,...., extend or shutdown the vm using this drive connect the drive to another vm (a 2003 is better) and do the diskpart ,...., extend.
  • if it isn't a boot partition and isn't used for pagefile then should be able to extend it using diskpart ,...., extend


For the record the diskpart ,...., extend operation is described there in details.

This post has been edited by allen2: 12 January 2012 - 02:44 AM


#3 User is offline   zeezam 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 28-March 08

Posted 12 January 2012 - 03:29 AM

View Postallen2, on 12 January 2012 - 02:43 AM, said:

Here is how i do it:
- extend the vhd using hyper-V
- extend the partition inside the vhd :
  • if it is the boot partition, the you have two choices: boot with a winpe with diskpart support and do the diskpart ,...., extend or shutdown the vm using this drive connect the drive to another vm (a 2003 is better) and do the diskpart ,...., extend.
  • if it isn't a boot partition and isn't used for pagefile then should be able to extend it using diskpart ,...., extend


For the record the diskpart ,...., extend operation is described there in details.


Before I saw your post this worked for me:

* Extended with hyper-v.
* Filecopy of the .vhd file.
* Mounted .vhd on my windows 7 machine, extended the partition. Unmounted .vhd.
* Created a new hyper-v machine and used the new .vhd.

Thanks!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy