VirtualBox resize disk not taking effect

I am trying to increase the size of my /dev/sda1 (boot) following this tutorial

I am able to execute the following command successfully:

VBoxManage.exe modifyhd ubuntu.vdi –-resize 40000

and when I go to “My Vm” -> “Settings” -> “Storage” -> “my.vdi” I see the correct (increased storage). When I run GParted via Live CD I do not see the new size. So the change took effect in the VirtualBox console, but not in the guest OS. What am I doing wrong?

Host: Windows 8
Guest: Ubuntu 12.04

2 Answers

Did you set up the drive up to be static one or a drive which increases as it needs?

Maybe it has problems upping the space if its the auto increase one, not sure though.

1

For future references, after the 'modifyhd --resize' to grow (cannot shrink) the dynamic disk; you must unmount the VDI and remount it (easiest way is to use the UI to unattach the VDI, and reattach it). Once that's done, then do the usual ritual of gparted.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like