You are not logged in.

#1 2016-02-05 11:35:10

alexandrerua
Member
Registered: 2015-08-22
Posts: 6

Eror installing Windows7 on kvm

I need to install a Windows 7 Professional VM machine
and following along the excelent wiki page:
https://wiki.archlinux.org/index.php/QE … io_drivers

system state

lsmod | grep kvm
kvm                   462848  0
irqbypass              16384  1 kvm

lsmod | grep virtio
virtio_balloon         16384  0
virtio_scsi            20480  0
virtio_net             28672  0
virtio_blk             20480  0
virtio_ring            20480  4 virtio_blk,virtio_net,virtio_balloon,virtio_scsi
virtio                 16384  4 virtio_blk,virtio_net,virtio_balloon,virtio_scsi
scsi_mod              151552  4 libata,sd_mod,sr_mod,virtio_scsi

image creation
qemu-img create -f raw win7.img 20G

then preparing to go trough setup
qemu-system-x86_64 -drive file=/home/alexandrerua/vms/win7.img,index=0,media=disk,if=virtio,format=raw -drive file=/home/alexandrerua/vms/win7.iso,index=2,media=cdrom -drive file=/home/alexandrerua/vms/virtio-win-0.1.102.iso,index=3,media=cdrom -m 4G

A window opens
Windows is loading files....
The microsoft logo appeaar at bottom and Starting windows..
then Blue screen of death!


I saw the purple note on wiki
Note: If you encounter the Blue Screen of Death, make sure you did not forget the -m parameter, and that you do not boot with virtio instead of ide for the system drive before drivers are installed.

What I'm missing??
would appreciate help...

Alexandre Rua

Offline

#2 2016-02-05 21:34:48

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Eror installing Windows7 on kvm

Windows 7+ requires KVM to work in a VM.

Enable this option in your QEMU command.

See https://wiki.archlinux.org/index.php/QEMU#Enabling_KVM


Jin, Jîyan, Azadî

Offline

#3 2016-02-06 19:19:40

alexandrerua
Member
Registered: 2015-08-22
Posts: 6

Re: Eror installing Windows7 on kvm

Solved

was missing the kvm-intel kernel module!

thanks gshearer and Head_on_a_Stick

Offline

#4 2016-02-06 19:33:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Eror installing Windows7 on kvm

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB