OpenStack製作Windows 2008 KVM鏡像

來源:互聯網
上載者:User

標籤:var   net   UNC   openstac   https   .gz   虛擬磁碟   linu   win   

1.下載驅動程式
[[email protected] ~]# cd /usr/local/src[[email protected] src]# wget https://launchpad.net/kvm-gues ... ar.gz[[email protected] src]# tar zxf virtio-win-full-20120712.tar.gz [[email protected] src]# cd virtio-win-full-20120712
2.建立虛擬磁碟.
[[email protected] opt]# qemu-img create -f raw /opt/windows-2008-x86_64.raw 10G
3.啟動安裝程式,載入硬碟驅動
[[email protected] 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.重啟虛擬機器,載入網卡驅動
[[email protected] 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

OpenStack製作Windows 2008 KVM鏡像

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.