Virtualbox Resize Disk Not Taking Effect

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

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

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.