How can i resize a virtualbox linux machine
Posted: 30. Jul 2017, 21:57
Here is the problem,
My current Virtual Machine Centos Server is only 8GB, and i am running out of space. So i need to resize it, i found a tutorial online which i was able to successfully resize it,
I used this commands
VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
VBoxManage modifyhd "cloned.vdi" --resize 51200
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk
When i look at the virtual machine in the virtualbox screen, it says the size it 50gb
So, I started up my virtual machine, and it starts up, but when i type dh -h
it says the size is still 8gb
So i have to resize the virtualbox machine from inside, to 50gb to match the virtualbox
How do i go about resizing my linux machine? i am lost on this step,
My current Virtual Machine Centos Server is only 8GB, and i am running out of space. So i need to resize it, i found a tutorial online which i was able to successfully resize it,
I used this commands
VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
VBoxManage modifyhd "cloned.vdi" --resize 51200
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk
When i look at the virtual machine in the virtualbox screen, it says the size it 50gb
So, I started up my virtual machine, and it starts up, but when i type dh -h
it says the size is still 8gb
So i have to resize the virtualbox machine from inside, to 50gb to match the virtualbox
How do i go about resizing my linux machine? i am lost on this step,