OpenStack制作Windows 2008 KVM镜像
2021-04-08 06:24
标签:var net UNC openstac https .gz 虚拟磁盘 linu win OpenStack制作Windows 2008 KVM镜像 标签:var net UNC openstac https .gz 虚拟磁盘 linu win 原文地址:https://www.cnblogs.com/nulige/p/9092124.html1.下载驱动程序
[root@linux-node1 ~]# cd /usr/local/src
[root@linux-node1 src]# wget
https://launchpad.net/kvm-gues ... ar.gz
[root@linux-node1 src]# tar zxf virtio-win-full-20120712.tar.gz
[root@linux-node1 src]# cd virtio-win-full-20120712
2.创建虚拟磁盘.
[root@linux-node1 opt]# qemu-img create -f raw /opt/windows-2008-x86_64.raw 10G
3.启动安装程序,加载硬盘驱动
[root@linux-node1 opt]# virt-install --virt-type kvm --name windows2008 --ram 1024 --cdrom /opt/windows-2008-x86_64.iso --disk path=/opt/windows-2008-x86_64.raw,device=disk,bus=virtio --network network=default --graphics vnc,listen=0.0.0.0 --noautoconsole --os-type=windows --disk path=/opt/virtio-win-drivers-20120712-1.vfd,device=floppy --os-type=windows --os-variant win2k8 --boot cdrom
(注:如果无法自动加载驱动程序,请手动选择软盘里面的驱动程序,加载硬盘驱动。)4.重启虚拟机,加载网卡驱动
[root@linux-node1 opt]# /usr/libexec/qemu-kvm -m 1024 -drive file=/opt/windows-2008-x86_64.raw -cdrom /opt/virtio-win-drivers-20120712-1.iso -net nic,model=virtio -net user -boot order=c -usbdevice tablet -nographic -vnc :0
上一篇:webpack loader
下一篇:window对象的方法和属性汇总
文章标题:OpenStack制作Windows 2008 KVM镜像
文章链接:http://soscw.com/essay/72737.html