Monday, September 25, 2017

Partitioning of Extended space in a VMWare Workstation

This post i will discuss how to extend your disk space and allocate the un-allocated memory to the current system of Ubuntu 16.04 LTS .

For the first step is to increase the total memory of the vm ware through settings(VM Settings page) by clicking on expand and increase the total memory.

This step needs to be done when the Virtual Machine is not running. Then after extending the VM run the vm. The next step is to install gparted by using apt-get command.
Open a new terminal and type the below command, this will install gparted in the system.

  • sudo apt-get install gparted






The window will look like this after installing and opening gparted.

Now follow the steps to increase your sda1 partition to unallocated partition



  • Click linux swap.
  • Click on partition from menu.
  • Select Swap off option
  • Click on extended.
  • Click on Partition and click on resize move.
  • Now drag the memory partition and fill the unallocated memory.
  • Click on resize move button.
  • click on linux -swap
  • click on partition and click on resize move.
  • drag the same size partition to the end of the memory pipe.
  • Click on resize move button.
  • Click ok.
  • click on Extended.
  • click on partition and click on resize move.
  • Decrease the block to initial extended block (2GB/511MB)
  • click on resize move button.
  • Click ok.
  • Click on ext4.
  • Click on partition and click resize move.
  • Expand to the end and increase the partition memory of ext4.
  • Click on resize move button.
  • Click ok
  • Click on Edit
  • Click Apply all operation and press apply.
  • Wait for the process to complete and at the end notice the memory is increased.

At the end it will look like below picture- 



P.S. Data loss can happen while doing this steps if anything goes wrong, so better keep a back up of your files before performing these steps. I did not face any data loss while performing these steps. 


No comments: