Originally Posted by
MAFoElffen
That is what the VBox world will tell you to do... What they do not understand, that these also work without VBox. Not documented, but works if you think of it in the qemu-img man page, under convert > formats, as "other"
Code:
qemu-img convert noble-desktop-24.04.vdi -O raw noble-desktop-24.04.img
qemu-img convert noble-desktop-24.04.vdi -O qcow2 noble-desktop-24.04.qcow2
In KVM Virtual Machine manager > New > Import Existing Image >> Create the machine, using the vDisk file as the storage file.
If I understand you correctly ... "noble-desktop-24.04.vdi" is the Virtual Disk name from VirtualBox, and using the code above will convert to QEMU Format - Yes? But I get this ;
Code:
ms7640:/media/VirtualBox VMs$ qemu-img convert VirtualDisk-TradeSoft.vdi -o qcow2 VirtualDisk-Tradesoft.qcow2
qemu-img: Invalid parameter 'qcow2'
ms7640:/media/VirtualBox VMs$ qemu-img convert VirtualDisk-TradeSoft.vdi -o raw VirtualDisk-Tradesoft.img
qemu-img: Invalid parameter 'raw'
ms7640:/media/VirtualBox VMs$ qemu-img convert VirtualDisk-TradeSoft.vdi -o VirtualDisk-Tradesoft.img
qemu-img: Must specify image file name
When attempting use the ".vdi" file, I get this;
Code:
Unable to complete install: 'internal error: process exited while connecting to monitor: 2024-05-21T20:45:06.205521Z qemu-system-x86_64: -blockdev bla bla bla
ms7640:/media/VirtualBox VMs$ qemu-img convert VirtualDisk-TradeSoft.vdi -o qcow2 VirtualDisk-Tradesoft.qcow2
qemu-img: Invalid parameter 'qcow2'
qemu-img: Invalid parameter 'qcow2'
Command 'qemu-img:' not found, did you mean:
command 'qemu-img' from deb qemu-utils (1:6.2+dfsg-2ubuntu6.15)
Try: sudo apt install <deb name>
ms7640:/media/VirtualBox VMs$ sudo apt install qemu-utils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
qemu-utils is already the newest version (1:6.2+dfsg-2ubuntu6.19).
qemu-utils set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What am I doing wrong ? ? ?
Thanks!
Bookmarks