notes:qemu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:qemu [2026/01/10 07:04] – azman | notes:qemu [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Qemu Stuff ====== | ||
| - | |||
| - | [[https:// | ||
| - | |||
| - | ===== Notes ===== | ||
| - | |||
| - | * change tty in the guest os running on qemu with ALT + left or right arrows | ||
| - | * older qemu need to switch view to compatmonitor , then type '' | ||
| - | |||
| - | ===== Virtual Disks ===== | ||
| - | |||
| - | To create 15G disk image: < | ||
| - | |||
| - | To convert from VBox disk image: < | ||
| - | |||
| - | ===== Other Stuff ===== | ||
| - | |||
| - | //just dumping this here for now...// | ||
| - | |||
| - | < | ||
| - | |||
| - | qemu-system-i386 -m 1536 -boot order=c, | ||
| - | |||
| - | qemu-system-i386 -m 1536 -boot order=c -hda WinXP.qcow2 | ||
| - | |||
| - | press ctrl+alt+2 to get monitor console | ||
| - | - type 'info block' to get block device information | ||
| - | - to change cd drive, type ' | ||
| - | or, use -monitor switch | ||
| - | |||
| - | qemu-system-i386 -monitor stdio -enable-kvm -m 1536M WinXP.qcow2 | ||
| - | |||
| - | to get pure vga (640x480) old games on windows xp? | ||
| - | -vga cirrus | ||
| - | |||
| - | default is | ||
| - | # -net nic -net user | ||
| - | nic: enables network card | ||
| - | user: sets up virtual subnet (dhcp: 10.0.2.15{guest} 10.0.2.2{host}) | ||
| - | |||
| - | # -net nic -net user, | ||
| - | # -name "MY1 VM" | ||
| - | |||
| - | # -redir tcp: | ||
| - | |||
| - | qemu-system-i386 -soundhw help | ||
| - | |||
| - | qemu-system-i386 -soundhw sb16 | ||
| - | qemu-system-i386 -soundhw all | ||
| - | |||
| - | 3d graphics | ||
| - | |||
| - | -vga virtio -display sdl,gl=on | ||
| - | -vga virtio -display gtk,gl=on | ||
| - | |||
| - | qemu-img create -f qcow2 Slack.img 20G | ||
| - | |||
| - | qemu-system-i386 -m 1536 -boot order=c, | ||
| - | |||
| - | qemu-img convert -f qcow2 -O raw image.qcow2 image.img | ||
| - | qemu-img convert -f raw -O qcow2 image.img image.qcow2 | ||
| - | |||
| - | qemu-img convert -O qcow2 image.qcow2 image_small.qcow2 | ||
| - | qemu-img convert -O qcow2 -c image.qcow2 image_smaller.qcow2 | ||
| - | </ | ||
notes/qemu.1767999898.txt.gz · Last modified: by azman
