memo:kvm
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
memo:kvm [2011/05/18 13:47] – créée sheltem | memo:kvm [2012/06/01 09:43] (Version actuelle) – sheltem | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== KVM ====== | ====== KVM ====== | ||
+ | |||
+ | ===== Modules ===== | ||
+ | |||
+ | Dans tous les cas : | ||
+ | |||
+ | modprobe kvm | ||
+ | |||
+ | Puis le module correspondant au processeur de la machine hote : | ||
+ | |||
+ | Pour un processeur Intel : | ||
+ | |||
+ | modprobe kvm-intel | ||
+ | | ||
+ | Pour un processeur AMD | ||
+ | | ||
+ | modprobe kvm-amd | ||
+ | |||
+ | ===== Création d'une image ===== | ||
creation d'une image disque " | creation d'une image disque " | ||
qemu-img create -f qcow2 test.img 8G | qemu-img create -f qcow2 test.img 8G | ||
- | Boot sur une image ISO avec comme disque dur test.img et 1Go de RAM : | + | |
+ | ===== Démarrer l' | ||
+ | |||
+ | Installation depuis le CDROM sur l' | ||
+ | |||
+ | kvm -m 1024 -cdrom /dev/cdrom -boot d test.img | ||
+ | |||
+ | Installation depuis | ||
kvm -m 1024 -cdrom image.iso -boot d testHD.img | kvm -m 1024 -cdrom image.iso -boot d testHD.img | ||
+ | |||
+ | ===== Utilisation ===== | ||
Boot sur l' | Boot sur l' | ||
kvm -m 1024 -hda testHD.img | kvm -m 1024 -hda testHD.img | ||
+ | {{tag> |
memo/kvm.1305726446.txt.gz · Dernière modification : 2011/05/18 13:47 de sheltem