KVM virtio driver installs Windows system

Source: Internet
Author: User

Please install your own KVM management tool and do not introduce it here!

Os:centos Linux release 7.2.1511 (Core)

virtio Mirror: Virtio-win-0.1.102.iso

: HTTP://PAN.BAIDU.COM/S/1JI6PXP8

1. Create a disk Image:

[Email protected] ~]# mkdir/var/kvm/images

[Email protected] ~]# qemu-img create-f qcow2 windows7.img 30G

[email protected]/]# DD if=/dev/sr0 of=/iso/win7.iso

2. Install and start:

[email protected] ~]# Virt-install - n windows7 - R 2048 -c/opt/win7.iso

--disk=/opt/images/windows7.img,format=qcow2,bus=virtio

--network Bridge=br0,model=virtio--graphics vnc,listen=0.0.0.0,port=5907

--noautoconsole--os-variant Rhel6

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/83/CE/wKiom1d8wdrAFm95AADK0YlNieQ610.jpg-wh_500x0-wm_3 -wmp_4-s_1336503022.jpg "title=" vncclient.jpg "alt=" Wkiom1d8wdrafm95aadk0ylnieq610.jpg-wh_50 "/>

Load Virtio Drive Image:

[Email protected] ~]# Virsh attach-disk windows7/opt/virtio-win-0.1.102.iso hda--type cdrom--mode readonly

Successfully attached disk

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/83/CD/wKioL1d8wTXTRk7mAAC_HDiOU_M131.jpg-wh_500x0-wm_3 -wmp_4-s_14433528.jpg "style=" Float:none; "title=" 2.jpg "alt=" Wkiol1d8wtxtrk7maac_hdiou_m131.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/83/CE/wKiom1d8wTajesQZAADlEpqH3-4817.jpg-wh_500x0-wm_3 -wmp_4-s_3004146213.jpg "style=" Float:none; "title=" 3.jpg "alt=" Wkiom1d8wtajesqzaadlepqh3-4817.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/83/CD/wKioL1d8wTeCAoUzAADeCn74E7I221.jpg-wh_500x0-wm_3 -wmp_4-s_2202727151.jpg "style=" Float:none; "title=" 4.jpg "alt=" Wkiol1d8wtecaouzaadecn74e7i221.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/83/CD/wKioL1d8wTejIWzmAADqTG2Gze4793.jpg-wh_500x0-wm_3 -wmp_4-s_3791541523.jpg "style=" Float:none; "title=" 5.jpg "alt=" Wkiol1d8wtejiwzmaadqtg2gze4793.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/83/CE/wKiom1d8wTeAt3O6AADA3BDxZO8793.jpg-wh_500x0-wm_3 -wmp_4-s_3669443998.jpg "style=" Float:none; "title=" 6.jpg "alt=" Wkiom1d8wteat3o6aada3bdxzo8793.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/83/CE/wKiom1d8wTii0g_oAAC5p7pkxQY115.jpg-wh_500x0-wm_3 -wmp_4-s_161351363.jpg "style=" Float:none; "title=" 7.jpg "alt=" Wkiom1d8wtii0g_oaac5p7pkxqy115.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/83/CD/wKioL1d8wTjD8kS3AADoNBLf4cI116.jpg-wh_500x0-wm_3 -wmp_4-s_3482896849.jpg "style=" Float:none; "title=" 8.jpg "alt=" Wkiol1d8wtjd8ks3aadonblf4ci116.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/83/CE/wKiom1d8wfvjg0cbAADcv3a05xU125.jpg-wh_500x0-wm_3 -wmp_4-s_2377320852.jpg "title=" net.jpg "alt=" Wkiom1d8wfvjg0cbaadcv3a05xu125.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/83/CE/wKiom1d8wTmTAzZGAAC9nEmyoKw107.jpg-wh_500x0-wm_3 -wmp_4-s_2332454022.jpg "style=" Float:none; "title=" 10.jpg "alt=" Wkiom1d8wtmtazzgaac9nemyokw107.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/83/CD/wKioL1d8wTnh2iUZAADhGcLy35Y980.jpg-wh_500x0-wm_3 -wmp_4-s_1143145526.jpg "style=" Float:none; "title=" 11.jpg "alt=" Wkiol1d8wtnh2iuzaadhgcly35y980.jpg-wh_50 "/>

Reload the win7 system image installation system:

[Email protected] ~]# Virsh attach-disk windows7/opt/win7.iso hda--type cdrom--mode readonly

Successfully attached disk

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/83/CD/wKioL1d8wTmBxAIGAADLvhJFoeA991.jpg-wh_500x0-wm_3 -wmp_4-s_157973884.jpg "style=" Float:none; "title=" 12.jpg "alt=" Wkiol1d8wtmbxaigaadlvhjfoea991.jpg-wh_50 "/>


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/83/CE/wKiom1d8wTvRwF7vAACTgxmwV5s335.jpg-wh_500x0-wm_3 -wmp_4-s_1505818376.jpg "style=" Float:none; "title=" setup10.jpg "alt=" wkiom1d8wtvrwf7vaactgxmwv5s335.jpg-wh_50 "/ >

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/83/CD/wKioL1d8wTuDmG5yAAC4-m4WulI833.jpg-wh_500x0-wm_3 -wmp_4-s_4026484935.jpg "style=" Float:none; "title=" virtio.jpg "alt=" wkiol1d8wtudmg5yaac4-m4wuli833.jpg-wh_50 "/ >

The installation is complete!


This article is from the "Jevic" blog, make sure to keep this source http://jie1215.blog.51cto.com/2183736/1811277

KVM virtio driver installs Windows system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.