Extend partition in Virtualbox machine
I am using a linux operating system on virtulbox machine (main operating system is ubuntu).
So I used this command to add additional 20 mb.
e33@e33:~/VirtualBox VMs/Kali$ VBoxManage modifyhd Kali.vdi --resize 40960
by opening gparted, i got the following:
/dev/sda1 ext4 / 20 GiB
/dev/sda2 extend 800 MiB
unallocated unallocated 20 GiB
I just want to resize ext4 to 40 GiB.
I try to unmount ext4, but no possible.
any idea how to proceed in order to extend the ext 4 to 40 GiB?
I run the O.S on recovery mode, and I can use parted, but I am not so familiar with this application and i dont make problems with the partitions.
Last edited by lee_can; 01-13-2014 at 09:30 AM.