Ovftools 4.4.4.0 von vmware herunterladen
https://customerconnect.vmware.com/downloads/get-download?downloadGroup=OVFTOOL440
Mit scp auf den Proxmox Host kopieren z.B. nach /root
Ausführbar machen und auspackenchmod +x VM*bundle./VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle --extract ovftools
2 Dateien ausführbar Machencd vmware-ovftool/chmod +x ovftool ovftool.bin
Dann kann eine VM vom ESXI Host auf den Proxmox geholt werden/root/ovftools/vmware-ovftool/ovftool --noSourceSSLVerify vi://root:<PASSWORT>@<IP>/<NAME_DER_VM> . #Der Punkt kann durch einen Pfad ersetzt werden.
Bei Fehler: „Error:vim.fault.FileNotFound“ ist noch ein ISO in der VM gemounted.
Bei Fehler: „Error: Fault cause: vim.fault.TaskInProgress“ läuft die VM noch.
Für Windows Server 2008 / 2011 R2 vorab in ESXI Laufwerke auf IDE und Netzwerkkarte entfernen (sonst BSOD beim Start in Proxmox)****
* Für Server 2016 ebenfalls die Laufweke auf DIE und die Netzwerkkarte raus. Dann nach dem Proxmox Import BIOS auf UEFI (EFI-Disk hinzufügen) sonst Bootet die Kiste nicht*
VM importierenqm importovf 200 /tmp/exported-vm.ovf local-lvm
200 = VM id
/tmp/exported-vm.ovf = Pfad zum import
local-lvm = Storage
Anschliessend VirtIO Treiber CD einbinden, scsi Platte anlegen und VM Booten damit der scsi Controller (VirtIO) gefunden wird. VM Booten, Treiber installieren, VM runterfahren, andere Platte(n) auf scsi umstellen (aushängen, ändern, wieder einhängen) unter Optionen Bootreihenfolge ändern und wieder starten.
Linux VM Netzwerkkarten Name in NetworkManager (Netplan) anpassen. (Evtl. „ens18“)
This will create a new virtual machine using cores, memory and VM name as read from the OVF manifest, and import the disks. You have to configure the network manually. You can find syntax and an example on how to use this command on its man page.
Note: Windows guests require a few additional steps
If you are migrating a Windows guest, you additionally have to execute the following commands. This example assumes that your imported virtual machine has the ID 130.
- Use UEFI instead of BIOS for the virtual machine:
qm set 130 –bios ovmf - Windows requires additional drivers to use SCSI. Therefore, you should temporarily use SATA instead. In the following command, ’scsi0′ should be replaced with the drive that’s used to boot Windows.
sed -i ’s/scsi0:/sata0:/‘ /etc/pve/qemu-server/130.conf
This will give you a initial working version. You can then improve your experience and access remaining SCSI drives by installing additional drivers as explained in Windows 10 guest best practices.
EFI Disk erzeugen
Boot Shell : F0: cd EFI/boot bootx64.efi