How to add More Storage to VirtualBox VM – Disk Partition, Format and Mount – 2019

Channel Avatar
Comment
X
Share
How to add More Storage to VirtualBox VM - Disk Partition, Format and Mount - 2019
How to add More Storage to VirtualBox VM – Disk Partition, Format and Mount – 2019
How to add More Storage to VirtualBox VM Virtual Machine – Disk Partition, Format and Mount 2019
How do I increase the hard disk size of the virtual machine
a)
#Clone the VMDK image to VDI format
#vboxmanage clonehd ubuntu18_04.vmdk ubuntu18_04_new4.vdi –format VDI –variant Standard

#Take new copy/backup of VDI
VBoxManage clonehd ubuntu18_04.vdi ubuntu18_04_new4.vdi –format VDI –variant Standard

b)
#Resize the VDI image
VBoxManage modifyhd ubuntu18_04_new4.vdi –resize 12000

sudo fdsik -l

df -h

sudo fdisk /dev/sdb

*Partition
:n
:e

* Disk type
:t
:83

* Write/Save changes
:w

sudo fdsik -l

*Format
sudo mkfs.ext4 /dev/sdb1

*Mount
mount /dev/sdb1 /media/newdisk2

df -h

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *