首先需关闭虚拟机,然后进入VMware设置将虚拟机硬盘扩大
然后sudo apt-get install gparted安装gparted并打开,右键点击dev/sa1并``resize```即可
sudo apt-get install gparted
dev/sa1