Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:tyzef:tutos:mon-qemu [09/07/2021 18:38] TyZef créée |
utilisateurs:tyzef:tutos:mon-qemu [16/09/2022 13:03] TyZef [Utilisation] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== mon-qemu ====== | + | ====== qemu ====== |
* Objet : faire tourner QEMU sur ma machine a ma facon(de newbe qui fait nimp...) #pour LineageOS# | * Objet : faire tourner QEMU sur ma machine a ma facon(de newbe qui fait nimp...) #pour LineageOS# | ||
Ligne 8: | Ligne 8: | ||
===== Installation ===== | ===== Installation ===== | ||
- | + | <code root> | |
- | apt install qemu qemu-system-x86 qemu-utils | + | apt install qemu qemu-system-x86 qemu-utils</code> |
===== Utilisation ===== | ===== Utilisation ===== | ||
+ | # pour creer mon disque virtuel :\\ | ||
+ | <code user>qemu-img create android.img 10G</code>\\ | ||
+ | # pour lancer l'installation \\ | ||
+ | <code user>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -enable-kvm -cdrom /home/tyzef/Documents/divers/cm-x86_64-14.1-r4.iso -hda android.img -boot d</code>\\ | ||
+ | # pour lancer la machine une fois installe\\ | ||
+ | <code user>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -soundhw all -enable-kvm -hda android.img</code>\\ | ||
+ | # bonus : | ||
+ | ''lauch_vm.sh''(fichier a rendre executable) | ||
- | qemu-img create android.img 10G | + | <code>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -soundhw all -enable-kvm -hda nakeDeb.img $*</code> |
- | # | + | <note warning>''-sound all'' ne fonctionne plus le 16 septembre 2022 avec Debian Sid Unstable</note> |
- | qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -enable-kvm -cdrom /home/tyzef/Documents/divers/cm-x86_64-14.1-r4.iso -hda android.img -boot d | + | |
- | # | + | |
- | qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -enable-kvm -hda android.img | + | |
+ | je remplace donc : \\ | ||
+ | <code user>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -soundhw all -enable-kvm -hda android.img</code>\\ | ||
+ | avec\\ | ||
+ | <code user>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -audio alsa,model=ac97 -enable-kvm -hda android.img</code>\\ | ||
+ | et\\ | ||
+ | <code>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -soundhw all -enable-kvm -hda nakeDeb.img $*</code>\\ | ||
+ | avec | ||
+ | <code>qemu-system-x86_64 -cpu host -smp cpus=2 -m 2048 -audio alsa,model=ac97 -enable-kvm -hda nakeDeb.img $*</code>\\ | ||
+ | <note>les options à ce jour envisageables</note>\\ | ||
+ | <code user>qemu-system-x86_64: -audio alsa,model=all: Unknown sound card name `all' | ||
+ | Valid sound card names (comma separated): | ||
+ | ac97 Intel 82801AA AC97 Audio | ||
+ | adlib Yamaha YM3812 (OPL2) | ||
+ | cs4231a CS4231A | ||
+ | es1370 ENSONIQ AudioPCI ES1370 | ||
+ | gus Gravis Ultrasound GF1 | ||
+ | hda Intel HD Audio | ||
+ | sb16 Creative Sound Blaster 16 | ||
+ | </code> | ||
+ | <note tip>[[https://www.android-x86.org/releases/releasenote-cm-x86-14-1-r4.html]]</note> |