![]() ![]() Then finally test the image in VM kvm -m 2048 -drive file=xubuntu.raw,format=rawĪnd then write it to USB drive using GNOME Disks or Etcher or dd or ddrescue (I prefer it over plain dd, as it shows progress, time estimate and speeds). Then you can shrink the RAW image to fit its partitions: qemu-img resize -shrink xubuntu.raw 9216M You can check the actual partitions inside RAW image by running fdisk -l xubuntu.raw. If the resulting RAW file is still big, then you have to shrink it more by using Gparted (move, resize partitions here) using commands below: sudo losetup -P /dev/loop137 xubuntu.rawĪfter shrinking the partition with GParted, you can unmount the image. ![]() Then convert it to RAW using command below: qemu-img convert xubuntu.vdi -O raw xubuntu.raw See 8.22 VBoxManage modifymedium of for details. You have to compact the VDI disk file first by using command below: VBoxManage modifymedium xubuntu.vdi -compact
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |