Home > Linux, Windows 8 > How to Install Windows 8 in Linux with QEMU

How to Install Windows 8 in Linux with QEMU

Microsoft has just released Windows 8 Consumer Preview. Here’s a method to install Windows 8 in Linux using KVM and Qemu. You can use this beta version of Windows 8 until the 15th of January 2013, after which it will be unusable.

Here are the requirements to install Windows 8:

  • 1 GHz Processor or greater
  • 1 GB RAM
  • 20 GB free storage for the 64-bit version

Before you start, make sure your processor supports Intel Virtualization Technology (VT) or AMD’s AMD V CPU virtualization extensions. Type this command to check vmx or svm flags:

egrep –color “(vmx|svm)” /proc/cpuinfo

If this is the case, you can install KVM. Type the following command for a RPM based distribution such as Fedora:

sudo yum install kvm

or the following command for Debian or Ubuntu:

sudo apt-get install qemu-kvm

Then download the ISO image of Windows 8 on Microsoft website (64-bit version) :

wget http://iso.esd.microsoft.com/WCPDL/BD1B8A49393E30CC9C4E5C88457D73E964F1F3B18/Windows8-ConsumerPreview-64bit-English.iso

Create a 20 GB virtual hard drive to install Windows 8:

dd if=/dev/zero of=disk.img bs=1G count=20

Then start the virtual machine with qemu-kvm and the correct parameters:

qemu-kvm -m 1024 -hda disk.img -cdrom Windows8-ConsumerPreview-64bit-English.iso -boot order=cd &

Here’s the Product Key:   DNJXJ-7XBW8-2378T-X22TX-BKG7J

If you need to start Windows 8 after it has been installed, use the following command:

qemu-kvm -m 1024 -hda disk.img

Press Ctrl + Alt to revert the keyboard / mouse control to the host machine.

If you have an older processor that does not support virtualization extensions, you can use VMWare Player 4.0.2 to install Windows 8.

Adapted from instructions on Tuxplanet (in French).

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Categories: Linux, Windows 8 Tags: Linux, debian, fedora, tutorial, ubuntu, virtualization, windows 8
  1. No comments yet.
  1. No trackbacks yet.