Resizing Ubuntu x64 Server Partition with VirtualBox not reflected in OS
- by daleyjem
I've already resized my virtual disk with VirtualBox, but now need to extend the partition of my Ubuntu VM itself.
I thought I was on my way with GParted live CD, but after I resize the "extended" filesystem partition, and then the child "lvm2 pv" filesystem partition to fill the unallocated space, df -h still shows the original disk size after I reboot into the VM.
Any tips on this? I've scoured the webs tirelessly. Should I be resizing the boot (/dev/sda1) partition instead? Should I try to convert my lvm2 to ext4 or something? I'm lost on this.
Note: VirtualBox hard disk is "dynamic".
Specs:
VBox 4.2.18
Ubuntu 12.04.2 amd64
Gparted 0.16.2-1b-i486