Computer and IT knowledge - things to know
virtual box >> migrate to Proxmox
1) on virtual box side
- export appliance to Open Virtualisation Format 1.0 (ova-file)
- extract vmdk file out of the ova archive, use for example 7zip to access the ova file
- copy the *.vmdk file(s) to Proxmox to directory /tmp
2) on Proxmox side
- create the virtual machine without harddrive using the guid
- on console:
-- in /tmp directory convert the vmdk file to a qcow2 format file
-- for example: qemu-img convert -f vmdk Debian9-disk001.vmdk -O qcow2 Debian9-disk001.qcow2
-- import the qcow2 harddisk to virtual machine with for example id 100, for example: qm importdisk 100 Debian9-disk001.qcow2 local-lvm
- back on gui, you should see an unused harddrive, assign it to the machine
- don't forget to change the boot order!
#links
- https://forum.linuxguides.de/index.php?thread/795-virtualisierung-in-virtualbox-erstellte-vms-exportieren-und-in-proxmox-integrier/
- https://www.thomas-krenn.com/de/wiki/VM_Export_%26_Import:_Migration_von_Windows_/_Linux_VMs_von_VMware_zu_Proxmox_VE
- https://wiki.joeplaa.com/tutorials/how-to-migrate-a-vm-from-virtualbox-to-proxmox
trouble with network with example debian9 after migration, find out the new adapter using "ip address show"
- https://forum.proxmox.com/threads/networking-trouble-with-debian.148147/
- in this case the new interface name is now ens18, I needed to change it in the
/etc/network/interfaces file and rebooted the system
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug enp0s3
#iface enp0s3 inet dhcp
allow-hotplug ens18
iface ens18 inet dhcp
computer2know :: thank you for your visit :: have a nice day :: © 2025