Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of Blue screen in kvm installation Windows2008

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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/

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report