I have never thought that my virtual machine memory will not be enough, after all, has been 20G, but recently learned Python, installed some learning related software,
The end of the Libvirt management experiment, save two mirrors, it becomes so, so I like to expand the hard disk space, on the internet to see this
GParted tools. Just try, and finally succeed ...
Before it is expanded:
After expansion:
1. Select virtual machine settings in VMware, enter the size you want to expand to, and then click Expand.
2. Install gparted partition management software, Apt-get install GParted
3. Open the software, will extend partition deleted, do not delete words can not reset SDA1 primary partition size
4. After resetting the size of the SDA1, you will create a new extend partition again, and then build a swap section under the Extend partition and click on the green check mark above to save it.