Home | Info | Community | Development | myReactOS

  1. Home
  2. Info
  3. Community
  4. Development
  5. myReactOS

  1. Main Page
  2. Recent changes
  3. Random page

  1. What links here
  2. Related changes
  3. Permanent link
  4. Upload file
  5. Special pages

  1. Login
  2. Register

ReactOS Community > ReactOS Wiki

HOWTO/setup win32 QEMU with the KQEMU accelerator module

From ReactOS

Contents

Overview

Alot of people test out ReactOS in Qemu on Windows, but with a little bit more effort, you can get the KQEMU accelerator module (virtualization module) setup.

This will not involve having something running on your computer all the time.

You need Windows NT/2000/XP/2003 for this, and at least around 192 megs of memory.

I don't feel like explaining the whole idea behind virtualization/emulation but basically it's a way to simulate a computer within an application, and virtualization is a faster method of doing so than emulation. QEMU is a free (GPL) emulator, and there is a freeware module to turn it into a virtual machine called KQEMU (as well as a free (GPL one) called qvm86, however that is more dififcult to setup I believe.).

Qemu fully supports ReactOS. ReactOS .2.8 and later have the virtual network card driver on the CD which is automatically installed during setup, and there are instructions for loading up the VGA driver in the wiki. The only major downside to using QEMU with KQEMU is that it is not as fast as VMware or Virtual PC.

The instructions here are only guaranteed to work with the build of QEMU that I link to and the versions of QEMU and KQEMU that I link to. I will update this as new versions become available.

Installation

1. Download and install the Free OS Zoo build of QEMU. http://free.oszoo.org/ftp/qemu/win32/release/QemuInstall-0.7.2.exe This build in particular is important because it is compiled with support for KQEMU.

2. If you already have 7-zip, winrar, or any other archiver that supports gzip tarballs (.tar.gz files) great, skip to step 3. If not, download and install 7-zip (the regular, not the beta version unless you know what you're doing.) http://www.7-zip.org/

3. Download KQEMU and extract it to a folder you can go to in a second. http://www.h6.dion.ne.jp/~kazuw/qemu-win/Kqemu-1.3.0pre11-install.exe

4. Go to that folder, then the kqemu folder within it, and right click on kqemu.inf, and select install.

Now kqemu and a compatible build of qemu is installed. If you prefer to use your own command line options with qemu, do that and skip to the next section, but make sure you run the step below when you want to run QEMU. If you prefer to use the menu that comes with this build of QEMU, read on.

5. Open up your start menu, programs, qemu (or whatever folder you decided to put the qemu start menu shortcuts in), then qemumenu...

6. Create a image file (qemu hard drive backup) hit C for create hard drive, enter a name like "ReactOS". You can make the drive as big as you want pretty much because the image won't use up the space on your hard drive until you use up that space in the QEMU machine. 4096 megs (4 gigs) is a safe bet if you must have a number. select the q-cow format.

7. We now need to determine how much memory to give ReactOS in QEMU. If you have 256 megs of memory, you would want 64 to 128 megs or so. If you have 384 megs or so, 192 will be good for most stuff you throw at ReactOS. You can always give ReactOS more, but in general you should give it 256 megs less or so than what your machine has. If you decided on 64 megs, you don't have to do anything. if you decided on more, select the amount of memory for ReactOS by hitting m at the main menu and then entering the amount.

8. Finally, hit I and either spell out the location of the reactOS ISO cd image (boot CD or live CD) or drag and drop the file from windows explorer.

You are now done setting up QEMU and KQEMU for ReactOS. You can quit out of the QEMU menu if you're still in it, or leave it open to run QEMU.

Running it

1. Open up the start menu, and go to run, then enter "net start kqemu". You will not have to do this again until you reboot or if you disable kqemu.

You can now start QEMU with your own command line options, or follow the step below using the menu.

2. Open up the QEMU menu from your start menu, and select 1 (or whatever number for the ReactOS qemu Image.)

You are now ready to start installing or running ReactOS.

Verification (optional)

While you are in QEMU, hit ctrl +alt + 2 to open up the QEMU monitor, and enter "info kqemu". It will then tell you if kqemu is enabled or not. Hit ctrl + alt + 1 to go back to regular QEMU usage.

Disabling it (optional)

Open up the start menu, go to run, and enter "net stop kqemu".


ReactOS is a trademark of ReactOS Foundation in the United States and other countries.