Get the App
SLTechnology News&Howtos  ›  Servers  › 

The solution of Blue screen in kvm installation Windows2008

Shulou Source: shulou.com Published: 2022-06-02 13:29:38 09月30日 Update

Today, the company installed a Windows2008 system on an idle server in the UK, so it adopted the Kvm method of installing Windows. So began the rhythm of blue screen, blue screen, blue screen.

The creation command is as follows:

[root@kvm-node1 libvirt] # cd / home/libvirt/p_w_ Pictures [root @ kvm-node1 libvirt] # qemu-img create windows2008.img-f qcow2 100G [root@kvm-node1 libvirt] # virt-install-name windows-ram=2048-vcpus=2-os-type=windows-cdrom=/home/cn_windows_server_2008_r2_standard_enterprise_datacenter_and_web_with_sp1_x64_dvd_617598.iso-- disk path=/home/libvirt/p_w_picpaths/windows2008.img,format=qcow2 Bus=ide-network bridge=virbr0-graphics vnc,password=123456,port=5910,keymap=us-force-autostart

But after entering the installation interface, the blue screen always appears and goes on and on. So I took a look at whether the server supports virtualization:

[root@kvm-node1 libvirt] # lsmod | grep kvm

As a result, I took a look at the log contents of libvirtd.log and found that there was an error, that is, Unable to get vcpus' pids.

[root@kvm-node1 libvirt] # cat / var/log/libvirt/libvirtd.log

Messy, checked the information, said that the lack of qemu-system-x86_64, I have been looking for this command, the result / usr/bin/ really did not find this command, and I installed all the qemu packages did not find this command, and then found an explanation is:

Starting with Series 6, RedHat recommends using virt-install/virsh series tools to operate kvm instead of using qemu-kvm directly, so qemu-kvm is moved to an unobtrusive place / usr/libexec/, to make a link.

So I made a link to try it:

[root@kvm-node1 libvirt] # ln-sf / usr/libexec/qemu-kvm / usr/bin/qemu-kvm

It turns out that it is no longer on the blue screen.

Oh, it's not easy.

Summary:

1. Note that server bios must enable VT.

2. The kvm environment must be ready, lest the deployment of virtual machines is not smooth due to unnecessary lack of commands, which leads to the stagnation of production progress.

3. Read more books

Reference:

Http://www.vpsee.com/2012/04/install-kvm-on-centos-6-2/

Http://zhanguo1110.blog.51cto.com/5750817/1437787

Http://ilanni.blog.51cto.com/526870/1533656/

Tags: Blue screen commands servers results services that is materials links support methods inconspicuous messy complete book bar company content references places tools logs Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi vpn MariaDB NVidia Linux