Difference between revisions of "Qemu"

From HypertWiki
Jump to navigation Jump to search
 
(added instructions for compiling with kqemu)
Line 9: Line 9:
  qemu -hda win98hd.img -cdrom win98.iso -boot d
  qemu -hda win98hd.img -cdrom win98.iso -boot d


For debian-derived host systems, if you want to use the kernel make-qemu-go-fast module, you'll need to download the source from the website and compile it locally because cause there aren't packages for it in [[apt]].
For linux host systems, there is a loadable kernel module (called kqemu) that will allow qemu to run at near native speeds.  At the time of this writing, there aren't distributed packages available with the module built, so you'll need to download the source from the website and compile it locally.


If you're wanting to run Win98 under qemu, this option is moot because make-qemu-go-fast and Win98 don't get along.
First download the [http://fabrice.bellard.free.fr/qemu/qemu-0.7.0.tar.gz qemu source] and [[untar]] it.  Then download the [http://fabrice.bellard.free.fr/qemu/kqemu-0.6.2-1.tar.gz kqemu source] and [[untar]] it within the qemu source directory.  Then run ./configure && make && sudo make install.  You might also want to install the vgabios package from your package manager.
 
If you're wanting to run Win98 under qemu, this option is moot because kqemu and Win98 don't get along.

Revision as of 19:12, 12 June 2005

Techniques: Software: Emulators: Qemu

QEMU is an open source processor emulator. It emulates a variety of different CPUs and systems, and achieves good speed by using dynamic translation.

Some Quick Notes

  • Creating the disk image:
qemu-img create win98hd.img 2G
qemu -hda win98hd.img -cdrom win98.iso -boot d

For linux host systems, there is a loadable kernel module (called kqemu) that will allow qemu to run at near native speeds. At the time of this writing, there aren't distributed packages available with the module built, so you'll need to download the source from the website and compile it locally.

First download the qemu source and untar it. Then download the kqemu source and untar it within the qemu source directory. Then run ./configure && make && sudo make install. You might also want to install the vgabios package from your package manager.

If you're wanting to run Win98 under qemu, this option is moot because kqemu and Win98 don't get along.