- Messages
- 4,373
- Location
- Hafnarfjörður IS
Hi there
(For Windows VM's).
Sometimes running a VM you get short of space particularly on the "C" drive
There are many ways of doing this - some more complicated than others but IMO the absolute EASIEST way is the following (If you are using VMWARE).
1) Before powering on the VM go to settings
2) click / double click the virtual HDD you want to enlarge
3) utilities==>expand virtual disk --enter the new size. NOTE THE ORIGINAL PARTITION SIZE IS NOT CHANGED BY THIS.
4) Now edit VM again and choose an iso as the CD drive. Ensure it's GPARTED.
5) in Power on choose BOOT to BIOS so you can set the VM to boot from the CD drive.
6) Power on
7) choose default GPARTED options and simply slide the partition size to the new size you want. THIS INCREASES THE PARTITION SIZE.
8) power off the VM
9) set to boot normally --uncheck the iso image
10) power on -- your VM has now got its larger C drive. !!!
For REDUCING the size - the only way I can see is to dump the VM image with something like acronis (also boot from the ISO and ensure the VM can "see" external drives so it can save / restore the image.)
Create a new VM with the HDD size you want.
Boot again with acronis and restore.
Cheers
jimbo
(For Windows VM's).
Sometimes running a VM you get short of space particularly on the "C" drive
There are many ways of doing this - some more complicated than others but IMO the absolute EASIEST way is the following (If you are using VMWARE).
1) Before powering on the VM go to settings
2) click / double click the virtual HDD you want to enlarge
3) utilities==>expand virtual disk --enter the new size. NOTE THE ORIGINAL PARTITION SIZE IS NOT CHANGED BY THIS.
4) Now edit VM again and choose an iso as the CD drive. Ensure it's GPARTED.
5) in Power on choose BOOT to BIOS so you can set the VM to boot from the CD drive.
6) Power on
7) choose default GPARTED options and simply slide the partition size to the new size you want. THIS INCREASES THE PARTITION SIZE.
8) power off the VM
9) set to boot normally --uncheck the iso image
10) power on -- your VM has now got its larger C drive. !!!
For REDUCING the size - the only way I can see is to dump the VM image with something like acronis (also boot from the ISO and ensure the VM can "see" external drives so it can save / restore the image.)
Create a new VM with the HDD size you want.
Boot again with acronis and restore.
Cheers
jimbo
My Computer
System One
-
- OS
- Linux Centos 7, W8.1, W7, W2K3 Server W10
- Computer type
- PC/Desktop
- Monitor(s) Displays
- 1 X LG 40 inch TV
- Hard Drives
- SSD's * 3 (Samsung 840 series) 250 GB
2 X 3 TB sata
5 X 1 TB sata
- Internet Speed
- 0.12 GB/s (120Mb/s)