Page 1 of 1

Virtual harddisk resize no effect - no more hdd space in Ubuntu

Posted: 29. Sep 2016, 10:03
by Tinka
Hi!

I successfully resized my virtual harddisk *.vdi from 8Gb to 120 GB by using the VBoxManage --resize command.
Screen Shot 161.PNG
Screen Shot 161.PNG (40.83 KiB) Viewed 2508 times
The Ubuntu Xenial guest though still reports: " This computer has only 0 bytes diskspace remaining."
The real size of the VM is 4.9 GB.

On the Win 7 host the disk management looks fine with no unallocated space on my host hdd.

Is this about cluster size?

What to do?

Best regards, Tinka

Re: Virtual harddisk resize no effect - no more hdd space in Ubuntu

Posted: 29. Sep 2016, 10:04
by socratis
Tinka wrote:What to do?
Read the FAQs? Like this one? How to resize a Virtual Drive.

Re: Virtual harddisk resize no effect - no more hdd space in Ubuntu

Posted: 29. Sep 2016, 12:40
by Tinka
Thank you.

I had missed step two of resizing the partitions inside guest Ubuntu using GParted Live ISO. Also, this was complicated, I moved the swap and the extended partion, resized to unallocated space and was not able to boot when the Linux partition was moved to the left. Fortunately, using GRUB rescue procedure from gparted_dot_org helped (not allowed to post urls yet)

So - resizing the size of a Ubuntu VM is not a piece of cake!

Re: Virtual harddisk resize no effect - no more hdd space in Ubuntu

Posted: 29. Sep 2016, 13:31
by mpack
Tinka wrote:So - resizing the size of a Ubuntu VM is not a piece of cake!
Actually, this had nothing to do with it being a VM. It's the exactly the same procedure in the physical world if you replace an existing hdd with a larger one.