- A windows XP guest machine exported from VMWare as OVF format
- Install cockpit and cockpick-machines:
sudo apt install cockpit cockpit-machines
- Convert vmdk image to qcow2 with the following command:
qemu-img convert -f vmdk -O qcow2 xp-wire-disk1.vmdk xp-wire-disk1.qcow2
- Create winxp virtual machine by importing existed disk, OS type should select
unknown
, don't start vm after import. - Edit network interfaces, change model to
e1000(PCI, legacy)
- Download e1000 driver iso from: https://archive.org/details/intel-pro1000-mt-desktop-82540em-winxp
- Add ISO as CD/ROM
- Boot VM
- After entering the system, ignore the new device wizard, goto my computer and click the CDROM to install driver.
It looks like there are performance issue with cockpit-tls, to workaround this issue, edit /etc/cockpit/cockpit.conf
and add
[WebService]
AllowUnencrypted = true
Change the network interface type to Direct attachment
.