This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I needed to increase my Kali VM's drive space from 7GB to 30GB because I ran out of space. I use VirtualBox, so here's how I increased the size of the virtual disk. | |
The virtual disk was in the vmdk format, so I had to clone that and change it to vdi so that I could expand it. Here's how I did that: | |
VBoxManage.exe clonehd "C:\Users\maravedi\VirtualBox VMs\Kali\Kali-disk1.vmdk" "C:\Users\maravedi\VirtualBox VMs\Kali-disk1.vdi" | |
VBoxManage.exe modifyhd "C:\Users\maravedi\VirtualBox VMs\Kali\Kali-disk1.vdi" --resize 30720 | |
Next, I had to expand the root partition within the OS. I found two resposnes on AskUbuntu that, when combined, helped me solve this problem: | |
https://askubuntu.com/a/116367 | |
https://askubuntu.com/a/109224 |