How to add More Storage to VirtualBox VM - Disk Partition, Format and Mount - 2019
40.7 هزار بار بازدید -
6 سال پیش
-
How to add More Storage
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
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
6 سال پیش
در تاریخ 1397/10/14 منتشر شده
است.
40,792
بـار بازدید شده