Link to home
Start Free TrialLog in
Avatar of Armitage318
Armitage318

asked on

Resize partition on virtual machine

Hi,
according to this link:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004071

""You cannot extend the partition if the system page file is located on the partition. Move the page file to a partition that you do not want to extend.""

..I'd need to resize C: partition on my virtual machine (Windows Server 2008 R2), adding  50Gb.
Should I first create another disk (for example D:), move the page file on D, reboot, and after resize C:?
Thankyou
Avatar of JJHouston
JJHouston
Flag of United Kingdom of Great Britain and Northern Ireland image

same article states:

"Note: Windows Server 2008, Windows Server 2008 R2, Windows Vista, and Windows 7 can expand the volumes from the Disk Manager in Computer Management. Right-click on volume and click Extend Volume. For more information, see Microsoft's documentation."

If you have added the space to the virtual Hard disk, you can open the Disk Management Console in Server 2008 R2, just right-click the System Partition, Select Extend, tell it how my space to add, and go.

Full screenshot instructions, as well as command line (if you're using Server 2008 Core), can be seen at:
http://www.petri.co.il/extend-disk-partition-vista-windows-server-2008.htm
ASKER CERTIFIED SOLUTION
Avatar of SieQ
SieQ
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of deroode
If you boot your system with a Parted Magic ISO you can extend the C: partition of any Windows OS.

http://sourceforge.net/projects/partedmagic/
Simply remove paging file - reboot - extend the partition and recreate the paging file on C: back.
I had no problems with extending of disks on a virtual using ESxi.

But I did however had to restart the server to detect the resized disk.

I the used diskpart to extend the disk

CMD as admin

list disk
select disk number
list partition
select number partition of C:
Extend
list disk
select disk number
list partition
select number partition of C:
Extend

it not works on partition but on volume
so
list vol
sel vol of drive c:
extend