How to install Windows Vista in QEMU

From Computernewb Wiki
Jump to navigation Jump to search

< Windows Longhorn | Windows 7 >

Windows Vista is an operating system created by Microsoft, released on November 8, 2006. Support ended on April 11, 2017.

Running on CollabVM

Windows Vista works fine as a VM for CollabVM. The official VMs on the site do not run Windows Vista at this time. Every version works with QEMU/CollabVM but it is not recommend to use Starter because of its restrictions.

Windows Vista is not recommended to be ran without KVM/Virtualization under QEMU due to being slow. Windows XP and below are more suited for that.

Recommended version: Windows Vista Ultimate with Service Pack 2

Starting up

QEMU

Pre-installation

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

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

Windows Vista 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-i386 -hda winvista.img -cdrom winvista_iso_name.iso -boot d -enable-kvm -cpu host -m 1G -vga std -net nic,model=rtl8139 -net user -usbdevice tablet -localtime

Or if running without root or virtualization:

qemu-system-i386 -hda winvista.img -cdrom winvista_iso_name.iso -boot d -cpu qemu64 -m 1G -vga std -net nic,model=rtl8139 -net user -usbdevice tablet -localtime

Windows Vista was somewhat infamous for its beefy system requirements at the time, so at least 1 GB of RAM should be used. Windows Vista (32-bit) can run at 512 MB, but that's unrecommended. The absolute recommended minimum is 768 MB on 32-bit Windows Vista. If you server is lower on resources you may want to use Windows XP instead.

If you are running without KVM/virtualization, then it is highly recommended to turn off the "Aero" theme enabled by default on Windows Vista and go with the Classic theme instead. This helps speed it up a little bit. To do that, right click on the desktop, click "Personalization", Themes, click on the dropdown box, and choose Windows Classic. Hit Apply then hit OK.

After installation

qemu-system-i386 -hda winvista.img -boot c -enable-kvm -cpu host -m 1G -vga std -net nic,model=rtl8139 -net user -usbdevice tablet -localtime

Or if running without root or virtualization:

qemu-system-i386 -hda winvista.img -boot c -cpu qemu64 -m 1G -vga std -net nic,model=rtl8139 -net user -usbdevice tablet -localtime

Setting up your VM

After going through the OOBE, it is recommended to go through gpedit.msc and manage some policies. If you have an AD (Active Directory) server, you can hook up your VM to that and manage policies there. If you want, you can also "debloat" the OS making it run slightly faster, though, versions earlier than 8.1 are not as bad.

< Windows Longhorn | Windows 7 >