After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 57 of 317

Chapter 2 47 2. OpenStack Compute uses VIRTIO to present its disk to the OS, but Windows doesn't ship with these required drivers. We must download these so we can load them during the installation. Browse to http://alt.fedoraproject.org/pub/alt/ virtio-win/latest/images/bin/. We can download the ISO that is listed, as follows: 3. wget http://alt.fedoraproject.org/pub/alt/virtio- win/latest/images/bin/virtio-win-0.1-22.iso wget http://www.linuxservices.co.uk/virtio-win-1.1.16.vfd 4. We can now launch kvm, specifying our Windows 2003 ISO, specifying the disk image we've created, and putting the equivalent of the drivers loaded onto a floppy disk, so Windows can find the required drivers: sudo kvm -m 768 -cdrom en_win_srv_2003_r2_standard_with_sp2_cd1.iso -drive file=win2k3-i386.img,if=virtio -fda virtio-win- 1.1.16.vfd -boot d -nographic -vnc :0 If using a guest running under VirtualBox or VMware (or if your client simply doesn't support hardware virtualization) and you encounter a problem running kvm, add a -no-kvm parameter to the previous command. You can check for hardware virtualization support by running the command kvm-ok under Ubuntu. 5. You can now connect to this using a VNC client. If you're running Ubuntu locally, connect to localhost, or else connect to the Ubuntu guest 172.16.0.253. 6. Go through the installation of Windows. When it completes with the Rebooting computer message, press CTRL + A and then X, to stop kvm. 7. You can now boot your Windows image using KVM to complete the installation (note the -boot c parameter to boot from the hard drive). sudo kvm -m 768 -cdrom en_win_srv_2003_r2_standard_with_sp2_cd1.iso -drive file=win2k3-i386.img,if=virtio -fda virtio-win- 1.1.16.vfd -boot c -nographic -vnc :0 -no-kvm 8. This has finished the installation, but we must now configure our Windows image, so that it is suitable for our Nova environment. To do this, we must boot into it again, connect via VNC, configure Remote Desktop Access, and accept the installation of the drivers and any other first-time install steps: sudo kvm -m 768 -drive file=win2k3-i386.img,if=virtio -fda virtio-win-1.1.16.vfd -boot c -nographic -vnc :0 -no- kvm www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook