在CentOS6的上安置Windows2012R2的KVM虚拟机
1:上传cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729.iso
下载驱动盘
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/virtio-win-0.1.141.iso
2:创建虚拟机
sudo virt-install --name=cn71012 --ram=10240 --vcpus=32 --boot=cdrom \
--os-type windows --os-variant win2k8 \
--disk path=http://www.mamicode.com/dev/vg_samsung500g/sys_cn71012_win2012r2,device=disk,cache=writeback,format=raw,bus=virtio \
--cdrom=http://www.mamicode.com/mnt/lv_data/iso/win2012r2/cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729.iso \
--network network:default,model=virtio \
--vnc --vncport=59012 --vnclisten=0.0.0.0 \
--accelerate --hvm --noautoconsole
3:用tvnviewer.exe连接59012进行安置
4:放上virtio驱动盘
virsh attach-disk cn71012 /mnt/lv_data/iso/kvm/virtio-win-0.1.141.iso hdc --type cdrom
我选择D:\viostor\2k12R2\amd64\viostor.inf
5:换回Windows安置盘
virsh attach-disk cn71012 /mnt/lv_data/iso/win2012r2/cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729.iso hdc --type cdrom
安置完成
在CentOS6的上安置Windows2012R2的KVM虚拟机
标签:
原文地点:https://www.cnblogs.com/xiangxisheng/p/8893168.html
,