Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| sysadmin:linux:virtualisation:kvm:installation_invite:creation-vm-ms-dos-7.0 [2026/01/11 13:34] – créée yoann | sysadmin:linux:virtualisation:kvm:installation_invite:creation-vm-ms-dos-7.0 [2026/01/18 14:36] (Version actuelle) – yoann | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| : | : | ||
| - | ====== Créer VM MS-DOS 7.0 ====== | + | ====== Créer VM MS-DOS 7.1 ====== |
| - | MS-DOS 7.0 (Windows 95 RTM), MS-DOS 7.1, (Windows 95 OSR2.x and 98), and the crippled MS-DOS 8.0 (Windows ME) were never released by Microsoft as standalone products. | ||
| + | ===== A propos des version MS-DOS ===== | ||
| + | |||
| + | Microsoft n'a pas distribué les versions MS-DOS 7.x et MS-DOS 8 seules ( en standalone). Elles étaient incluses dans les différentes versions de Windows : | ||
| + | |||
| + | * MS-DOS 7.0 inclus à Windows 95 RTM ; | ||
| + | * MS-DOS 7.1 inclus à Windows 95 OSR2.x et 98 ; | ||
| + | * MS-DOS 8.0 inclus à Windows ME | ||
| + | |||
| + | Ici on va utiliser un média d' | ||
| + | |||
| + | |||
| + | |||
| + | <code bash> | ||
| + | # Création d'un répertoire dédié pour le disque de la VM | ||
| + | newgrp kvm | ||
| + | cd ~/KVM | ||
| + | mkdir ms-dos7.1 | ||
| + | chmod ug+rwx, | ||
| + | |||
| + | qemu-img create -f qcow2 ~/ | ||
| + | chmod ug+rw,o-rwx ~/ | ||
| + | </ | ||
| + | |||
| + | Les médias d' | ||
| + | |||
| + | <code bash> | ||
| + | ls -l ~/ | ||
| + | -r--r--r-- 1 yoann kvm | ||
| + | -r--r--r-- 1 yoann kvm 658130944 Apr 29 2022 / | ||
| + | </ | ||
| + | |||
| + | Pour pouvoir charger l' | ||
| + | |||
| + | <code bash> | ||
| + | setfacl -m u: | ||
| + | </ | ||
| + | |||
| + | Instancier la VM avec virt-install : | ||
| + | |||
| + | <code bash> | ||
| + | virt-install --name ms-dos7.1 \ | ||
| + | --metadata title=" | ||
| + | --osinfo win98 \ | ||
| + | --machine pc --cpu 486 --memory 64 --vcpu 1 \ | ||
| + | --graphics spice \ | ||
| + | --sound sb16 \ | ||
| + | --install no_install=yes \ | ||
| + | --boot | ||
| + | --disk device=floppy, | ||
| + | --disk path=/ | ||
| + | --disk device=cdrom, | ||
| + | --autoconsole graphical | ||
| + | </ | ||
| + | |||
| + | La VM se lance mais ne démarre pas correctement. On va monter les images nécessaires au boot initial : | ||
| + | |||
| + | <code bash> | ||
| + | virs | ||
| + | </ | ||
| ===== Références ===== | ===== Références ===== | ||
| Ligne 12: | Ligne 70: | ||
| * [[https:// | * [[https:// | ||
| + | * [[http:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||