Installation de Puppy Tahr 6.0.2 sous Qemu avec accélération KVM.
Distribution : Ubuntu 14.04 LTS
1) Vérification du support de la virtualisation par le processeur :
[~] ➔ egrep --color "(vmx|svm)" /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save vmmcall flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save vmmcall
2) Vérification de l’activation virtualisation par le système :
[~] ➔ dmesg | grep kvm [ 14.802899] kvm: Nested Virtualization enabled [ 14.802903] kvm: Nested Paging enabled
Erreur :
[~] ➔ dmesg | grep kvm [ 15.020975] kvm: disabled by bios [ 20.429048] kvm: disabled by bios [17782.912217] kvm: disabled by bios [17814.565845] kvm: disabled by bios
Solution :
Pour le carte mère "M4A79XTD" : https://www.asus.com/fr/Motherboards/M4A79XTD_EVO/ Dans le BIOS, activer le 'Secure Virtual Machine Mode".
3) Répertoire du répertoire de travail :
[~] ➔ mkdir -p QEMU [~] ➔ cd QEMU/ [~/QEMU] ➔
4) Téléchargemet du code source de Qemu :
[~/QEMU] ➔ wget http://wiki.qemu-project.org/download/qemu-2.5.0.tar.bz2 [~/QEMU] ➔ tar xvfj qemu-2.5.0.tar.bz2
5) Compilation et installation de Qemu :
[~/QEMU] ➔ cd qemu-2.5.0/ [~/QEMU/qemu-2.5.0] ➔ ./configure --target-list="i386-softmmu" && make && sudo make install && sudo /sbin/ldconfig [~/QEMU/qemu-2.5.0] ➔ qemu-system-i386 --version QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard [~/QEMU/qemu-2.5.0] ➔ cd ..
4) Téléchargement de Tahr :
[~/QEMU] ➔ wget http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/puppy-tahr/iso/tahrpup%20-6.0-CE/tahr-6.0.2_noPAE.iso
5) Création d’une image disque :
[~/QEMU] ➔ qemu-img create -f raw vhda.img 10G Formatting 'vhda.img', fmt=raw size=10737418240 [~/QEMU] ➔ ls -l *.img -rw-r--r-- 1 util01 util01 10G déc. 19 08:16 vhda.img
6) Installation du module de virtualisation :
[~/QEMU] ➔ sudo modprobe kvm [~/QEMU] ➔ uname -a Linux station 3.13.0-73-generic #116-Ubuntu SMP Fri Dec 4 15:33:02 UTC 2015 i686 athlon i686 GNU/Linux [~/QEMU] ➔ sudo modprobe kvm-amd
Ou
[~/QEMU] ➔ sudo modprobe kvm-intel
7) Installation de la distribution Puppy Tahr :
[~/QEMU] ➔ qemu-system-i386 -enable-kvm -k fr -m 1024 -sdl -soundhw hda,ac97 -vga std -hda vhda.img -cdrom tahr-6.0.2_noPAE.iso -boot d -net nic,model=rtl8139 -net user -smp 2 -localtime
8) Lancement :
[~/QEMU] ➔ qemu-system-i386 -enable-kvm -k fr -m 1024 -sdl -soundhw hda,ac97 -vga std -hda vhda.img -boot c -net nic,model=rtl8139 -net user -smp 2 -localtime
9) Liens :
http://puppylinux.org/main/Download%20Latest%20Release.htm
Comments are closed, but trackbacks and pingbacks are open.