vm ubuntu increase disk space

1. Enter the vm installation directory and execute vmware-vdiskmanager -x 100GB D:\vm_linux\Ubuntu.vmdk. 100gb is the size to be expanded (provided that the hard disk has space). Wait until

2. Go to https://sourceforge.net/projects/gparted/files/gparted/ to download the iso format of gparted

3. Open the virtual machine settings, CD/DVD, and select the gparted you just downloaded.

4. Turn on the virtual machine and press F2 to enter bois settings, select Cd to start, and F10 to save and exit.

5. Enter gparted and press Enter all the way

6. Delete the swap partition, then change the size of the main partition, and then create a new swap partition with the same memory size.

7.apply

8. Re-enter bois, select the hard disk to start, restart, OK


Reference http://www.linuxidc.com/Linux/2014-10/107590.htm

Guess you like

Origin blog.csdn.net/skylovesky/article/details/50982786