Resize Virtual Box Machine


On host OS (Windows 10)

.\VBoxManage.exe modifyhd '..\..\..\Users\username\VirtualBox VMs\CSCF Node 2\CSCF Node 2.vdi' --resize 13000

On Guest OS (Debian)

$ fdisk -l
$ fdisk /dev/sda
$ fdisk -l
$ pvs
$ lvs
$ pvdisplay
$ fdisk -l
$ pvcreate /dev/sda4
$ pvdisplay
$ vgextend MasterDebain-vg /dev/sda4
$ pvdisplay
$ lvdisplay
$ lvextend -l +100%FREE /dev/MasterDebain-vg/root
$ resize2fs /dev/MasterDebain-vg/root

Please follow this link.


Hamid Raza Hashmi hamid.hashmi006@gmail.com +92 300 968 22 85

No comments:

Post a Comment

How to compile and run a next application ?

Install nodejs Use  this  link for further reading curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash nvm inst...