Expand the disk size of Ubuntu under VMware

When I used a virtual machine today, I found that the virtual machine was almost full, indicating that the disk space is small and I have to expand the virtual machine space. After searching on Baidu, I finally got it, the record is as follows

Platform: VMware (10.0.3) + Ubuntu 14.04 (32bit)

**1.**Select VMware Virtual Machine -> Settings -> Hard Disk -> Utilities -> Extension

**2.**In the Expand Disk Capacity dialog box, select the maximum disk size you want to expand, I fill in 25GB here

**3.**After the expansion is complete, open Ubuntu, and install a tool Gparted

sudo apt-get install Gparted

**4.**After installation, search for this app in your app and open

**5.**Open the Gparted application, you can see the status of allocated partitions and new unallocated partitions

**6.**Then delete /dev/sda5 and /dev/sda2 in turn, after deleting, there will be /dev/sda1 (14GB) and unallocated (15GB)

**7.**Next, re-adjust the size of /dev/sda1, I adjusted it to 23552 (23GB) here, and then the remaining 2GB is used as linux_swap, re-format the unallocated 2GB, first create an extended partition, and then in this extended one There is a new logical partition in the partition, and the file system is selected as linux-swap, and finally the green hook is selected to complete the save. After the final execution, as shown below

In this way, the original Ubuntu space is expanded from the original 13GB to 25GB

Recommended Posts

Expand the disk size of Ubuntu under VMware
Install the old version of seurat under Ubuntu
Mount the disk in a directory under Ubuntu 18.04
Use of mediawiki under ubuntu
The process of solving the problem of installing ImageMagick under Ubuntu system
Installation of deb package under Ubuntu
Deploy the mail system under Ubuntu 19.10
Overview of the Ubuntu file system
Ubuntu 16.04 installation graphic tutorial under VMware 12
Installation of Docker CE under Ubuntu
Coexistence of CUDA8.0 and CUDA9.0 under Ubuntu 16.04
The processing of the ubuntu snapd process continuously writing to the hard disk
How to extend the root directory of LVM under Ubuntu system
Install the latest version of Thunderbird and exchange plugins under ubuntu
Ubuntu16.04 mirror complete installation tutorial under VMware
How to expand the ubuntu LVM partition of a VirtualBox virtual machine
Installation and uninstallation of CUDA under Ubuntu 16.04
Build the C++ compilation environment under ubuntu
The apt-get command of Ubuntu basic tutorial
The implementation of the Ubuntu18.04 installation Pycharm tutorial
Install Ubuntu 18.04 in the virtual machine VMware
The fourth installment of Zabbix under CentOs7
Summary of methods to use Evernote under Ubuntu 14.04
Solve the problem of installing VMwareTools on Ubuntu 18.04
ubuntu adjusts the priority of swap swap space usage
Install the CPU version of Caffe on Ubuntu
Centos7.5 expands the space size under the root directory
Installation of pulseaudio and API usage under Ubuntu 12.04
The basic configuration and interface beautification of Ubuntu
The solution to the failure to install .deb under Ubuntu 16.04
Talking about the first experience of using Ubuntu
The actual combat of rpm packaging under CentOS6
First look at the new features of Ubuntu 17.10
The road to reinstallation of ubuntu 18.04 from scratch
Publish the node.js project under Ubuntu to heroku
The use of crontab for ubuntu scheduled tasks
The consequences of uninstalling python in ubuntu, very
Introduction to the use of Hanlp in ubuntu
Cancel the background color of the Ubuntu (wsl) folder
The latest method of installing Mongodb on Ubuntu 16.04
Modify the default encoding of mysql5.6 under CentOS7
Solve the problem of installing Theano on Ubuntu19
Centos7 adjusts the size of the root directory mount partition
The default installation path of apt-get install of ubuntu (transfer)
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Install win7 and archlinux on hard disk under ubuntu
How to turn the language of Ubuntu into Chinese? ?
Installation and use of GDAL in Python under Ubuntu
Detailed explanation of static DNS configuration under Ubuntu system
Modify the default root password of the Ubuntu operating system
Install ubuntu dual system under win10 (no U disk)
Canonical announced the temporary closure of Ubuntu 17.10 download channel
How to install two versions of OpenCV under ubuntu?
Solution to the slow speed of ubuntu18.04 wireless network
Installation and usage instructions of rz/sz command under ubuntu
Resolve the problems encountered in the linux environment under ubuntu