Now, you need to expand the disk partition on the Linux Virtual machine.
To expand the disk on the virtual machine, you need to download the latest Gparted ISO from gparted.org.
Gparted is a Linux live-cd that is used to resize Linux partitions.
In our example, the Gparted image file gparted-live-0.32.0-1-i686 was downloaded.
Now, turn off the virtual machine and boot the Linux virtual machine using the Gparted live-cd.
After booting using the Gparted CD or ISO, the following screen should be displayed.
Press enter to start the Gparted boot process.
After finishing the boot process the system will ask the following questions:
• Policy for handling keymaps: Don't touch keymap
• Which language do you prefer? 33 For English
• Which mode do you prefer? 0 to start Gparted in graphical user mode
If you are presented to the following Libparted warning message, click on the Fix button.
On the dashboard, open the Gparted Application.
On the Gparted application screen, select the desired Linux partition and click on the Resize/Move button.
In order to export the partition, drag the bar on the top of the screen to the right.
Click on the Resize/Move button.
After finishing your configuration, click on Apply button.
The system will apply the desired configuration and resize the Linux partition as instructed.
Close the Gparted application and select the Exit application.
Select the option to reboot your computer and remove the Gparted CD or ISO.
On the Linux console, use the following command to verify the disk partition size.
As you can see, the Linux partition went from 16GB to 25GB.
Congratulations! You have successfully resized a Linux virtual machine partition.