

Open a command prompt and navigate to the Virtualbox installation folder. Step 1: Extend the virtual disk file size Remember to save a backup copy of your Virtual Machine disk files before you make any changes. Warning!! Incorrect use of fdisk utility and LVM commands may result in data loss or may even damage the entire virtual disk. This article shows you how to increase the size of the LVM root partition on a Linux Virtual Machine running on Oracle VM VirtualBox.

finally you will reach a situation where there is no more space left on your filesystem. Typically 6GB root partition could be just enough for a full install of Red Hat / CentOS operating system but if you want to install additional software on top of it say, Oracle client, Node, meteor, React etc. Then when you install a Linux Operating System on this virtual machine with default partitioning scheme you'll have around 6GB of space on your root partition (/) and remaining space taken by boot and swap partitions.

However if you have to install several additional packages then you'll run out of space in your root volume.įor example, if you select Red Hat as the Linux version then the default size of your virtual disk will be 8GB. Usually this default disk size will be just enough to do a full install of your selected operating system. When you create a new virtual machine in Oracle VM VirtualBox, most often you create it with the default settings which means you'll have a virtual hard disk of size anywhere between 2GB - 12GB depending up on the version of Linux that you selected.
