To the Ubuntu virtual machine expansion

First, open the VMware, we want to select the expansion of Ubuntu virtual machine (Ubuntu at this time we must be shut down !!!!! can not be turned on or suspended state), follow the steps in the figure below followed by the operation (you might need to wait a few seconds ), the final size of the disk is not how much you want to expand, but to redefine the size of your disk, for example, you want your virtual hard drive becomes 40G, then you enter 40, no matter how much you used to be. 
è¿éåå¾çæè¿ °

This time expansion has been successful, but there is no memory partition and distribution, so it can not be used. 
Open our ubuntu, this time the boot time may need to be slower than usual, open a terminal installation boot GParted partitioning software

sudo apt-get install gparted

Search We have just installed GParted partitioning software, power-on password open software. 

è¿éåå¾çæè¿ °

è¿éåå¾çæè¿ °

After opening the software interface is similar to the following, we want to do is delete the / dev / sdv2 and his inside subfolders. The last column is the space we have not assigned. 
On / dev / sdv2 and subfolders inside his right selection swapoff, you will find the key icon next to the name disappears, this time we can be deleted. Right-delete, warning may pop up a dialog box to determine the point of ignoring him, the / dev / sdv2 and his son inside the files are deleted, then we click on the status bar at the last check mark icon, which should be green state. 
Since I have finished the expansion, so here borrow find online map. 
è¿éåå¾çæè¿ °

This time on the left / dev / sda1 and unassigned, we right-click and select Resize sda1 

è¿éåå¾çæè¿ °

 

 

Guess you like

Origin blog.csdn.net/u013755520/article/details/91978293