I have some Virtualbox virtual machine on my desktop. Now I have Proxmox VE 5.3-8 installed on a separate machine. So I would like to move the VM to Proxmox.
Let me list the existing installation.
- My Desktop, Windows 10 Pro version 1809.
- Virtualbox 6.0.4 r128413
- Guest VM inside of Virtualbox is Ubuntu 18.04 with 1G memory and 20GB disk space.
- Proxmox VE 5.3-8, VM and LXC are stored in the local-lvm
Step 1, Located the vdi file and convert it to RAW format
Check the settings of the virtual machine, storage, and located the location of the vdi file. Mine is in the d:\Virtualbox VM\
Then open a command prompt window, enter the following command to convert the vdi file to raw image file.
d: cd "program files\oracle\virtualbox" vboxmanage clonehd --format RAW "d"\virtualbox vm\ubuntu 18.04 (122)\ubuntu 18.04.vdi" d:\testing.img
After a while the new image file is ready. The time depends on the size of your VM. Maybe 10 minutes or half an hour.