

Follow the steps in this link which graphically shows how you can increase the size of the dev/sda1 directory using GPartedġ3.I'm using a CentOS7 virtualbox, and I finally enlarged my partition /dev/mapper/centos-root - gparted doesn't work for me because I do not have a desktop on CentOS7 virtualbox. In Virtualbox select the 'Show' buttonġ2. In VirtualBox select "Adds optical drive"->"Choose existing disk"->GParted iso fileġ1. In VirtualBox, select the controller your VM uses, select 'Adds hard disk'->'Choose existing disk'->appropriate vdi OR vmdk file you created/clonedĩ. NOTE: For this clone operation to work we will be creating a new vmdk file and so make sure you write a different name for the vdmk file.Ħ. VBoxManage modifyhd "vdifilename.vdi" -resize xxxxx

Now set the size you want the file to be (in GB): Note: The filename needs to include the file path if you are not already in the vm directory inside VirtualBox VMsĮ.g. VBoxManage clonehd "vmdkfilename.vmdk" "vdifilename.vdi" -format vdi Because we cannot directly resize a vmdk file we must convert it to a vdi file first, to do this write in: If if is a vdi file ignore steps 3 and 5.ģ. Look what type of virtual disk file you are using, it is likely to be a vmdk file or a vdi file. In VirtualBox right click on your VM and go to Settings->Storage. Shut down the virtual machine you are working in,Ģ.

Increase the size of the virtual disk fileġ. The following guide will explain how to increase the disk space, allowing you to continue working. Sometimes when cloning or rebasing files the operation fails due to lack of disk space in your devbox to write files in. Tips & Tricks > Tips & Tricks/Customising Notices and Slips > Tips & Tricks > Troubleshooting
