Windows 10 and Microsoft Edge on Linux with Qemu-KVM: HowTo and Demo

This post don’t contains the Microsoft and Windows propaganda: sometimes you need check how your website looks in IE or Microsoft Edge browser or run your cross-platform application on Windows. Best way – run Windows in virtual machine. VirtualBox is good, but slower than qemu and not easy to install in Linux.

First we need to going on this website and download Windows 10 image: select Linux tab, Windows 10 virtual machine and platform VirtualBox:

Download our image:

$ wget -c https://az792536.vo.msecnd.net/vms/VMBuild_20150801/VirtualBox/MSEdge/Linux/Microsoft%20Edge.Win10.For.Linux.VirtualBox.zip

Extract archive:

$ file-roller Microsoft\ Edge.Win10.For.Linux.VirtualBox.zip
or
$ unzip Microsoft\ Edge.Win10.For.Linux.VirtualBox.zip

And we can see a file with *.ova extension:

$ ls -lh *.ova
-rw-rw-r--. 1 paul paul 5.1G Aug 17 16:51 MSEdge - Win10.ova

Find information about this extension:

$ file *ova
MSEdge - Win10.ova: POSIX tar archive (GNU)

This is only the tar archive! Now we can see into archive and extract files:

$  tar -tf *ova
MSEdge - Win10.ovf
MSEdge - Win10-disk1.vmdk

vmdk is a VMware4 disk image. Qemu don’t support this extension, but we can convert it to raw:

$ qemu-img -h | tail -n1
Supported formats: qcow2 vpc bochs qed vdi file parallels nbd rbd blkdebug vmdk qcow iscsi gluster vhdx null-aio raw null-co ssh host_cdrom cloop host_floppy sheepdog host_device quorum vvfat blkverify tftp ftp ftps https dmg http

$ qemu-img convert -f vmdk -O raw "MSEdge - Win10-disk1.vmdk" Win10.img

Check qemu-kvm in our OS. If it’s not installed in your system, please search package here.

$ qemu-kvm --version
QEMU emulator version 2.4.0 (qemu-2.4.0-1.fc24), Copyright (c) 2003-2008 Fabrice Bellard

Final step:

$ qemu-kvm -hda Win10.img -m 2G

Voila! We run Windows 10 in qemu and can run Microsoft Edge:

 

Read more:
KDE Plasma 5.4 and KDE Apps on Wayland Test Drive
18 Years of GNOME Design and Software Evolution: Step by Step
LibreOffice Design Evolution 3.3 – 5.0 (2011-2015)
Firefox Tuning – Hardware Acceleration, Cache in RAM, Tracking Protection and Native Theme for GNOME 3