Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| sysadmin:linux:virtualisation:kvm:installation_invite:creation-vm-windows-7-pro [2025/11/29 14:01] – yoann | sysadmin:linux:virtualisation:kvm:installation_invite:creation-vm-windows-7-pro [2025/12/07 11:46] (Version actuelle) – Modification sections yoann | ||
|---|---|---|---|
| Ligne 8: | Ligne 8: | ||
| - | On créer | + | ===== Création du fichier disque ===== |
| + | |||
| + | On crée un fichier disque de 20 Go | ||
| + | |||
| < | < | ||
| - | A propos des formats | + | **A propos des formats RAW et QCOW2** : |
| + | |||
| + | Le format **RAW** offrira de meilleures performances alors que **QCOW2** permettra de bénéficier de fonctionnalités | ||
| </ | </ | ||
| + | |||
| + | |||
| <code bash> | <code bash> | ||
| Ligne 24: | Ligne 32: | ||
| chmod ug+rw,o-rwx ~/ | chmod ug+rw,o-rwx ~/ | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== Création de la VM ===== | ||
| Les spécifications/ | Les spécifications/ | ||
| <code bash> | <code bash> | ||
| - | virt-install --name win7-pro --os-variant win7 \ | + | virt-install |
| --metadata title=" | --metadata title=" | ||
| --memory 2048 --vcpus=2 \ | --memory 2048 --vcpus=2 \ | ||
| - | --boot uefi --boot cdrom,hd \ | + | --boot cdrom,hd \ |
| - | --disk | + | --disk path=/ |
| --graphics spice \ | --graphics spice \ | ||
| - | --sound | + | --sound |
| - | --cdrom / | + | --cdrom / |
| - | --network network=vm-internal, | + | --network network=vm-internal, |
| </ | </ | ||
| - | A voir : | + | ===== Optimisations via virtIO ===== |
| - | * installer le système sur disque SCSI avec les pilotes | + | |
| + | : | ||
| + | |||
| + | Pour obtenir de meilleures performances il faudra utiliser les pér | ||
| <code bash> | <code bash> | ||
| - | # syntaxe à valider | + | virt-install --virt-type=kvm --name win7-pro --os-variant win7 \ |
| - | --disk bus=sata,format=qcow2, | + | --metadata title=" |
| + | --memory 2048 --vcpus=2 \ | ||
| + | --boot cdrom,hd \ | ||
| + | --disk | ||
| + | --graphics spice \ | ||
| + | --sound ac97 \ | ||
| + | --cdrom / | ||
| + | --network network=vm-internal, | ||
| </ | </ | ||
| - | |||
| ===== Démarrage ===== | ===== Démarrage ===== | ||
| Ligne 69: | Ligne 88: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||