How to setup a simple qemu VM and use networking.

This script will run a qemu VM and setup networking easily. This is very simple. 1 #!/bin/sh 2 3 export QEMU_AUDIO_DRV=alsa 4 DISKIMG=~/win7.img 5 WIN7IMG=~/Downloads/win7.iso 6 VIRTIMG=~/Downloads/virtio-win-0.1-81.iso 7 qemu-system-x86_64 –enable-kvm -drive file=${DISKIMG},if=virtio -m 4096 \ 8 -net nic,model=virtio -net user -cdrom ${WIN7IMG} \ 9 -drive file=${VIRTIMG},index=3,media=cdrom \ 10 -rtc base=localtime,clock=host -smp cores=4,threads=4 \ 11 -usbdevice … Read more

Run Windows in a qemu virtual machine easily for testing purposes. This is lots of fun to do.

Running Windows in a qemu virtual machine is very easy. Install all required qemu packages. jason@Yog-Sothoth:~$ sudo apt-get install qemu-kvm qemu-utils qemujason@Yog-Sothoth:~$ sudo apt-get install qemu-kvm qemu-utils qemu Now we can create a virtual machine disk image to install our virtual machine onto. jason@Yog-Sothoth:~$ qemu-img create -f raw win7.img 30Gjason@Yog-Sothoth:~$ qemu-img create -f raw win7.img … Read more

How to install Windows 7 in a qemu KVM virtual machine and enjoy a fast Windows desktop in a window.

The qemu KVM hypervisor allows a Linux user to install a virtualized operating system that will run very fast indeed once installed. To install the qemu KVM hypervisor; enter this command. sudo apt-get install qemu-kvm qemu-utilssudo apt-get install qemu-kvm qemu-utils Then create a raw disk image to house your Windows operating system. qemu-img create -f … Read more

How to install FreeDOS and Windows 3.1 in qemu. This is very easy indeed!

I have just installed FreeDOS and Windows 3.1 in qemu on Linux. Firstly; create a new HDD image to install DOS onto. qemu-img create -f qcow msdos.disk 85Mqemu-img create -f qcow msdos.disk 85M Then boot the FreeDOS CD image to begin the installation. qemu -hda msdos.disk -m 64 -cdrom fdbasecd.iso -boot dqemu -hda msdos.disk -m … Read more