Qcow2 production of OpenStack's windows2003/08 system

Source: Internet
Author: User

1, first need to download the hardware driver file Https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win_x86.vfd

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win_amd64.vfd

2, install QEMU-KVM software on CENTOS7 can also use Virsh-install or Virsh-manager to create the image

Qemu-img create-f qcow2 Windows2003_x64.qcow2 20G

/USR/LIBEXEC/QEMU-KVM-SMP 2-m 2048-cdrom win2k3_sp2_chs.iso-drive FILE=WINDOWS2003_X64.QCOW2,IF=VIRTIO,BOOT=ON-FDA Virtio-win_x86.vfd-boot Order=d,menu=on-usbdevice Tablet-nographic-vnc 192.168.0.1:1

3. Quickly use the VNC client remote Connection terminal in the menu bar Select CD to boot the system after installation

4. Restart the virtual machine image, load the Virtio driver, install the NIC driver, execute the following command

/USR/LIBEXEC/QEMU-KVM-SMP 2-m 2048-cdrom virtio-win.iso-drive file=windows2003_x64.qcow2,-boot c-net Nic,model=virti O-net User-nographic-vnc 192.168.0.1:1

5. Package system to remove the same SID re-mount system disk

/USR/LIBEXEC/QEMU-KVM-SMP 2-m 2048-drive file=windows2003_x64.qcow2-cdrom win2k3_sp2_chs.iso-net nic,model=virtio-n ET user-boot order=c-usbdevice tablet-nographic-vnc 192.168.0.1:1

2) After you start the system, go to the Deploy.cab folder in the Support/tools directory on the disc

(3) Extract all files under the folder to the C:\sysgrep directory

(4) Create an answer file to execute Setupmgr.exe, create a new file--"Sysprep Installation-" is, fully automatic installation-"Fill the system configuration after the production file Sysprep.inf file

(5) to the C:\sysgrep directory, run the Sysprep.exe, in the warning point out of the "OK" 15s after the system automatically shut down


2008 production is no longer a fat


This article is from the "Let Me Men Grow Together" blog, please be sure to keep this source http://wujingfeng.blog.51cto.com/5725921/1859817

Qcow2 production of OpenStack's windows2003/08 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.