informatique_qemu
Différences
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 | ||
informatique_qemu [2007/09/24 09:07] – thierry | informatique_qemu [2010/07/12 12:55] (Version actuelle) – thierry | ||
---|---|---|---|
Ligne 22: | Ligne 22: | ||
$ dd of=hd.img bs=1024 seek=8000000 count=0 | $ dd of=hd.img bs=1024 seek=8000000 count=0 | ||
**'' | **'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Booter sur cd et avec le disk ===== | ===== Booter sur cd et avec le disk ===== | ||
Charger le CD de Boot pour installer le systeme. | Charger le CD de Boot pour installer le systeme. | ||
- | $ qemu -boot d -cdrom / | + | $ qemu -k fr -boot d -cdrom / |
+ | | -k fr | clavier Français | ||
| -boot d | Booter sur cdrom | | | -boot d | Booter sur cdrom | | ||
- | | -cdrom ... | Où est le (vrai) cdrom | + | | -cdrom ... | Où est le (vrai) cdrom ou l' |
- | | -hda ... | Où est l' | + | | -hda ... | Où est l' |
+ | | -m ... | Quantité de mémoire attribué (en Mo) | | ||
+ | |||
+ | Faire un screen shot: Ctrl+Alt+2 : screendump win2k.png | ||
+ | |||
+ | Full screen (ou pas): Ctrl+Alt+F | ||
- | L' | ||
Ensuite, on mettre **'' | Ensuite, on mettre **'' | ||
On peut aussi donner un **'' | On peut aussi donner un **'' | ||
+ | |||
+ | |||
+ | ===== Win2k bug ==== | ||
+ | ==== Ca bloque ==== | ||
+ | L' | ||
+ | {{install-hang-320x240.jpg|win2k bloque...}}\\ | ||
+ | |||
+ | " | ||
+ | Source: http:// | ||
+ | |||
+ | Donc ajouter: **'' | ||
+ | $ qemu -k fr -hda win2000.img -cdrom ../ | ||
+ | |||
+ | Mais malgré tout mes tests, il est trés difficile d' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Win2k SP4 (la soluce) ==== | ||
+ | === soluce 1 === | ||
+ | Finalement, il faut trouver une image " | ||
+ | $ qemu -boot d -cdrom <image iso windows 2000 SP4 bootable> | ||
+ | Et oui: **'' | ||
+ | Une fois l' | ||
+ | Relancer '' | ||
+ | $ qemu -boot c -hda win2k.img -m 256 | ||
+ | |||
+ | Et voila ! | ||
+ | === soluce 2 === | ||
+ | Installer '' | ||
+ | |||
+ | |||
+ | ===== KQEMU ===== | ||
+ | |||
+ | Les sources: | ||
+ | # aptitude install kqemu-source | ||
+ | Compiler: | ||
+ | # cd /usr/src/ | ||
+ | # tar xvjf kqemu.tar.bz2 | ||
+ | # cd modules/ | ||
+ | # m-a | ||
+ | |||
+ | (a verifier:) | ||
+ | Choose “SELECT” and hit enter | ||
+ | Choose “kqemu” and hit enter | ||
+ | Choose “BUILD” | ||
+ | Choose “NO” if asked to install or upgrade the selected source package. | ||
+ | Continue the process and install the module when prompted. | ||
+ | |||
+ | # update-modules | ||
+ | # modprobe kqemu | ||
+ | Maintenant, ''/ | ||
+ | |||
+ | **'' | ||
+ | ===== Tips ===== | ||
+ | |||
+ | ==== raccourcis claviers ==== | ||
+ | |||
+ | Ctrl+Alt puis 1 => ecran emulé | ||
+ | |||
+ | Ctrl+Alt puis 2 => passer dans la console de commande | ||
+ | |||
+ | ==== Changer de cd ==== | ||
+ | For floppy, | ||
+ | (qemu) change fda filename.img | ||
+ | or | ||
+ | (qemu) change fda d:/ | ||
+ | |||
+ | For CD-ROM, | ||
+ | (qemu) eject cdrom | ||
+ | (qemu) change cdrom filename.iso | ||
+ | or | ||
+ | (qemu) eject cdrom | ||
+ | (qemu) change cdrom / | ||
+ | |||
+ | ==== test boot ==== | ||
+ | |||
+ | Lien: http:// | ||
+ | |||
+ | |||
+ | En résumé, juste pour le boot en mode graphique (pas vu fonctionné en "mode text" | ||
+ | |||
+ | En root... | ||
+ | |||
+ | Afin de ne pas risquer d' | ||
+ | # cp -a /dev/sda /root/sda | ||
+ | # chmod 440 /root/sda | ||
+ | Ce qui donne alors: | ||
+ | # ls /root/sda -ld | ||
+ | br--r----- 1 root disk 8, 0 jui 12 10:38 /root/sda | ||
+ | |||
+ | et on demarre l' | ||
+ | # qemu-system-i386 -m 512 -hda /root/sda | ||
+ | |||
+ | {{: | ||
informatique_qemu.1190624858.txt.gz · Dernière modification : 2007/09/24 09:07 de thierry