March 12, 2017

enlarge ubuntu root partition in vmware

I have a ubuntu vmware guest with 30Gb root partition, but it’s not enough after restore data from production environment, so I have to enlarge it. shutdown ubuntu enlarge partition on vmware guest setting start ubuntu, it’s better use text mode sudo fdisk /dev/sda (I have only one device in ubuntu, sda) delete swap partition and root partition with d command (yes, delete all partitions) create root partition (primary partition) with n command, be careful the start selector must be as same as old root partition (default is good), end selector is the size what you want the partition be, e. Read more

Powered by Hugo & Kiss.