1

I am running a Xubuntu 14.04 guest in VirtualBox (on a Win 7 host).

The virtual disk ("Dynamically allocated") filled up, so I followed this answer using VBoxManage modifyhd to increase its size, which was easy.

Next time I started the Xubuntu guest however didn't show any free space on the drive, also gparted still shows the old disk size.

What do I have to do to make the guest recognise that the size has changed so it can make use of the added space?

FriendFX
  • 790

1 Answers1

0

I've had this problem a bunch of times. It's hard to say exactly why it's happening without screenshots of what your gparted looks like. In my case it was usually because resizing a virtual hard disk actually takes two steps.

You did the first step, which was to resize the virtual hard disk through VBoxManage. What I'd recommend next is opening up gparted and checking for any "unallocated space" on the hard disk. For Xubuntu to start using the extra space that was made available through VBoxManage, you have to use the "Resize" function to turn that "unallocated space" into space that's formatted for Linux to use.

Apologies if you checked that already--if so, are you using LVM by any chance?

Hope that helps!

Simon
  • 58
  • 4