Monday, December 14, 2020

Resizing VDI Image

Note: once the image resized it should not able reduce it

 

 

 

Convert VDI to QCOW2 image

  sudo qemu-img convert -O qcow2 example.vdi example1.qcow2 -p

Resize the image

 qemu-img resize siemmaster.qcow2 +10G

Boot the Image

do the resize the image

resize2fs /dev/sda1

Check the disk space of the image

df -h
 

 

Convert qcow2 image ti VDI

 sudo qemu-img convert -O vdi example1.qcow2 example_converted.vdi -p

No comments:

Post a Comment

Linux Kernel Compilation

 Step 1: Install Required Packages Install additional packages before building a kernel. To do so, run this command: sudo apt-get install gi...