Skip to main content

VMware workstation player - resize Ubuntu partition size


was running a small server on my Ubuntu HPE server where I have installed couple of small virtual machines (of Ubuntu 20.04) using VMware workstation player 16. One day I ran out of space on my one virtual machine.  I spent couple of hours and read around by googling here and there. There were many articles and every one was explaining their ( little bit different method). In my case none of them were fully compatible with my situation and therefore I felt the need to write this article.

In this article we walk through all the steps needed to successfully resize disk volume of an Ubuntu virtual machine running on VMware workstation player 16.

Although we have tested this using VMware but it should work ideally for any virtualization technology like virtual pc, virtual box etc because the actual key commands involve gparted & ubuntu. 

The commands or tips related to VMware workstation might be a bit different from other virtual softwares but the idea is the same.

These are the steps that should be followed.

  1. Increase the disk space for your virtual machine using VMware workstation player.
  2. Downloading gparted iso file
  3. Increase the boot menu display time for virtual machine
  4. Bring up the bios setup of your virtual machine & boot from CD (gparted iso file)
  5. Using the gparted tool to increase the volume to cover the available space
  6. Booting into your virtual machine and running the magical commands
  • 1. Increase the disk space for your virtual machine using VMware workstation player.

  • 2. Downloading gparted iso file

  • 3. Increase the boot menu display time for virtual machine

  • 4. Bring up the bios setup of your virtual machine & boot from CD (gparted iso file)

  • 5. Using the gparted tool to increase the volume to cover the available space

Backup & Restore Redmine

A nightmare comes true. I google around for a couple of hours to move my running Redmine instal...

CI / CD with Image Registry

CI / CD is an essential part of agile development process. It is widely used to enhance testing...


e daily solve our problems by going & consulting an expert of that domain area. For example we go to a doctor if we get sick. The doctor solve our problem (illness) by doing a series of tasks. The first task is to understand the illness and to do so the doctor takes several laboratory tests and other methods to understand your disease correctly; this process is usually called diagnosis. Once the illness is diagnosed/understood from the reports of laboratory tests, the doctor is then able to give you the precise medicines, and this process is called treatment.

Like wise we solve software problems also. According to some studies the process of any research is actually derived from medical research.  In the world of simplicity medical diagnosis uses different techniques & tools to understand the problem. Therefore taking this analogy into consideration there should be a concrete technique in software development to understand the problem correctly.

To the best of our knowledge these techniques & tools have not been described in any software engineering literature. Although there exists different methodologies (SCRUM. SAFE, Spotify etc) which focus on how to manage the different work units and may be add some reporting on top of  it to track the performance.

We don't understand the software problem in terms of any thing, we just write specifications or user stories; but is there any formal practice in any methodology in vogue that could be used to diagnose the problem. After taking the user requirements it is divided into bunches of work where every body try to solve it without really understanding it. In other words we simply convert business logic or requirements into software code. 

There is not really any tools where we can measure and identify the software problems and then provide some remedy. Let suppose a senior doctor asks a junior doctor about the reports of the patient, the junior doctor will perhaps tel about a severe temperature. But how does the senior doctor believe him, as he may do a mistake; well from the reports ( readings ). Here we simply focus on concrete measurements that could really define a problem. At one place the problem is defined by patient e.g he says severe headache or other pain but these are only symptoms which should be put in scientific tools to determine it correctly.

Let comes to the point of software development, the problem is usually defined by your client but defining & understanding it ( technically ) are different things. When we write use stories or requirements specifications, after that the real process of understanding and analyzing starts. Here we need those tools & techniques that are used in Doctors analogy. 

In this article we will provide some concrete tools which copewith these problems in the software world.



it is an important part of any software development. In this section we are presenting some commands that are used commonly.

The following is a list of commands you often need.


Git remove a committed file

git reset HEAD app/models/localbackup/backup.sql

Or the following should do if it is a directory, you need to commit this removal so that the remote repository know and delete the older committed files.

git rm --cached cms_docker/web/modules/custom/ -r
git status
git add .
git commit -m 'Remove custom modules from git'



Using submodules in Git

In Drupal and all other frameworks it is likely to use sub modules. I spent several hours to us...

Render API

This article describes and implements ( as examples ) the Render API....

PHP Tips & Tricks

PHP is one of the most popular web programming language. Its widely used due to its simplicity,...


Trouble shooting is an essential part of any software system. As a Drupal developer it is impor...

Creating Random Image Module

I use some online websites to show a random image in my code/websites, but it is very slow and ...

Drupal file system

Many times you need to interact with files in your modules or coding. ...

Sending emails



Using twitter bootstrap 5 icons

There are two (or more) ways of using icons from the famous CSS framework Twitter Bootstrap 5....

CSS Triangles

CSS is an art and it needs some practice to master it....

Developing CKEditor Plugins

CKEditor is essential component of any CMS site, and Drupal is equally using it. Drupal provide...

Drupal Views Field Filter

There are two kind of filters in Drupal, Text format filters and Views field filter. In this ar...

Create views programatically

Create views programatically...

Drupal create Field Type

To be able to customize Drupal a nice addition would be to define your own Field Type e.g a You...

Drupal dependent select box