QEMU/Guests/Windows 8

From Computernewb Wiki
Revision as of 10:41, 10 May 2022 by computernewb>Undefishin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

< Windows 8 | Windows 10 > | Windows 7

The Windows 8.1 desktop, notice the start button has returned.

Windows 8.1 is an updated version of the Windows 8.0 operating system created by Microsoft, released in 2013.

Running on CollabVM

Windows 8.1 works pretty well. VM 4 is running Windows 8.1.

However, Windows 8/8.1 is very slow without virtualization, so if you don't have root/KVM/Xen, speeds will not be optimal.

Starting up

QEMU

Pre-installation

Make a qcow2 image (or a raw image if you want) by typing

qemu-img create -f qcow2 win81.img 40G

Windows 8 requires some disk space, you can make this 20 gigabytes if you want but it is recommended to have at least 40 GB for users to install programs onto.

When that's done, run the following command:

qemu-system-x86_64 -hda win81.img -cdrom win81_iso_name.iso -boot d -accel kvm -cpu host -m 4G -vga std -net nic,model=e1000 -net user -usbdevice tablet -localtime

Or if running without root or virtualization:

qemu-system-x86_64 -hda win81.img -cdrom win81_iso_name.iso -boot d -cpu qemu64 -m 4G -vga std -net nic,model=e1000 -net user -usbdevice tablet -localtime

4 gigabytes of memory is highly recommended for optimal performance, but like Windows 7 the 32-bit version can run on 512 MB of RAM (that's not recommended if you want to run programs, though.) The absolute minimum is 1 GB.

You'll also want to uninstall unnecessary applications and disable Windows Defender. This is because Windows Defender takes up large amounts of CPU on QEMU which makes the VM very slow.

After installation

qemu-system-x86_64 -hda win81.img -boot c -accel kvm -cpu host -m 4G -vga std -net nic,model=e1000 -net user -usbdevice tablet -localtime

Or if running without root or virtualization:

qemu-system-x86_64 -hda win81.img -boot c -cpu qemu64 -m 4G -vga std -net nic,model=e1000 -net user -usbdevice tablet -localtime

< Windows 8 | Windows 10 > | Windows 7