# Guest system does not see the updated disk size in VirtualBox

I finally found the solution here:

View all of the drives associated with VirtualBox

$"C:\Program Files\Oracle\VirtualBox\VBoxManage" list hdds  For each associated drive use modifyhd: $ "C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyhd "D:\Pat\to\VM\Snapshots\{b0e3f93f-49fe-49bc-9ae2-79e80da6cf01}.vdi" --resize 20480


Now GParted sees the added space.

NOTE: The curly braced snapshot entries require the last forward slash to be changed to a backslash. Meaning:

...\Snapshots\{...}.vdi


...\Snapshots/{...}.vdi


1) Open GParted tool

2) In the graphical interface you'll see existing partitions and an unallocated partition

3)Click the partition you would like to extend

4) In the top action bar you'll see an arrow directed right. Click it and you'll get option to extend the partition with the unallocated space

Try installing scsitools and re-scanning the devices

sudo apt-get install scsitools

sudo rescan-scsi-bus.sh


Then check the available space

sudo fdisk -l


Or use gparted if that's what you prefer. If you see the extra space extend the partition

And lastly extend the filesystem on the guest vm

resize2fs /dev/sda1