Windows 10 preview

Sissejuhatus

Laadi alla Windows 10 Enterprise Insider Preview 1, tavalisele Windows 10 Insider Preview'le 2 paraku ei saa paigaldada RSAT-i.

1

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-enterprise-insider-preview

2

http://iso.esd.microsoft.com/W10IP/E0F85BFCD0F6BA607BF1528926371D21F8F6B6BF/Windows10_InsiderPreview_x32_EN-US_10074.iso

Taust

Linux kernelqemu-system-i386qemu-system-armqemu-system-x86_64Debian x86rootUbuntu armhfrootWindows 2012HostrootVirtual hardwareNT kernelVirtual hardwareLinux kernelVirtual hardwareLinux kernelx86-64 processorStorage backendPhysical memory

QEMU originaalis emuleeris mitmesugust riistvara.

KVM projektiga lisati riistvaralise virtualiseerimise tugi tuuma mooduli näol, mis võimaldas protsessorit jagada mitme operatsioonisüsteemi vahel efektiivselt.

Linux kernelqemu-system-x86_64-enable-kvmqemu-system-armqemu-system-x86_64-enable-kvmDebian x86rootUbuntu armhfrootWindows 2012HostrootVirtual hardwareNT kernelVirtual hardwareLinux kernelVirtual hardwareLinux kernelx86-64 processorStorage backendPhysical memorykvm.kokvm-intel.ko / kvm-amd.ko

KVM on Linux tuumas realiseeritud hüperviisor.

KVM all saab Windowsi käitada protsessori jõudluse kadudeta.

Paigaldus KVM all

Paigalda KVM:

sudo apt-get install kvm

Lisa ennast kvm gruppi, et kasu lõigata riistvara laiendustest:

sudo gpasswd -a $USER kvm

Loo virtuaalmasina jaoks kõvaketta tõmmis:

qemu-img create -f raw win10.bin 20G

Käivita virtuaalmasin ning tee esmane paigaldus:

kvm -hda win10.bin -cdrom 10074.0.150424-1350.FBL_IMPRESSIVE_CLIENTENTERPRISE_VOL_X86FRE_EN-US.ISO -boot d -m 2048 -smp 4 -cpu kvm64

Laadi alla paravirtualiseeritud tüürelite CD tõmmis:

wget -c https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.103-2/virtio-win-0.1.103.iso

Peata virtuaalmasin ning käivita koos tüürelite tõmmisega:

kvm -hda win10.bin -cdrom virtio-win-0.1.103-2/virtio-win-0.1.103.iso -m 2048 -smp 4 -cpu kvm64

Paravirtualiseerimine

img/windows-device-manager-under-kvm.png

Windows device manager KVM all

Virtuaalmasinas paigalda parem klõps -> Install abil:

  • CD Drive (D:) -> virtio-win-0.1.1 -> viostor -> w8.1 -> x86 -> viostor.inf

  • CD Drive (D:) -> virtio-win-0.1.1 -> vioscsi -> w8.1 -> x86 -> vioscsi.inf

  • CD Drive (D:) -> virtio-win-0.1.1 -> NetKVM -> w8.1 -> x86 -> netkvm.inf

  • CD Drive (D:) -> virtio-win-0.1.1 -> Balloon -> w8.1 -> x86 -> balloon.inf

  • CD Drive (D:) -> virtio-win-0.1.1 -> qxldod -> w8.1 -> x86 -> qxl.inf

Lisaks paigalda:

  • CD Drive (D:) -> virtio-win-0.1.1 -> quest-agent -> qemu-ga-x86

Peata virtuaalmasin ning taaskäivita paravirtualiseeritud rauaga:

kvm -m 4096 -smp 4 -cpu kvm64 -vga qxl \
    -k et -usbdevice tablet \
    -drive file=win10.bin,if=virtio \
    -netdev user,id=net0 -device virtio-net-pci,netdev=net0
img/windows-device-manager-under-paravirtualized-kvm.png

Windows device manager paravirtualiseeritud raual

Domeeni liitmine

nslookup -type=SRV _ldap._tcp.dc_msdcs.example.org
KVM QEMU Microsoft Windows