Qemu with KQemu accelerator and Win4LinPro in Hoary
..I have made a complete howto for running Windows on Qemu with KQemu. If you are not specifically intrested in trying Win4LinPro, I suggest you try this first. Unlike Win4LinPro, the Qemu and KQemu accelerator is completly free, and from my experience it's even a better solution.
You can find this Howto here: http://www.ubuntuforums.org/showthre...357#post200357
READ THIS!!! Before you start installing Win4LinPro[/B]
I don't know if I did something wrong, I hope I did.. because.. this is bad!!!
*The performance is so horrible that I don't understand how they have the gutz to charge for it.
*The installation support and documentation from Win4LinPro is very poor, I spent 1 hour on the net trying to find out how to start it in full screen and did'nt find out. It's not the same as in earlier WIn4Lin
*Be sure (If you're not a guru in hacking) that you need a bootable CD of win2000 or XP sp1 or sp2. WIn98 /95/ millenium / home edition will not work in Win4LinPro.
OK.. Let's start...
step 1. RUNNING QEMU WITH KQEMU ACCELERATOR To boost performence of win4lin
(It helps, insted of taking 20sec to open a window, it's down to 10sec).
This information is mostly ripped from: Nano Florestan (which should have most of the credit) at http://oui.com.br/n/content.php?article.21
I will mostly just write the commands here:
First we need to remove Qemu and compile it with Kqemu
$ sudo apt-get remove qemu
Go to: http://fabrice.bellard.free.fr/qemu/download.html
...and download these 2 files:
1) QEMU source code (Not the binary for i386 which I took the first time, silly me)
2) QEMU Accelerator Module
0.7.0 is the current version.
$ tar zxvf qemu-0.7.0.tar.gz
The Kqemu shall be unpacked into a subdirectory of the new qemu-0.7.0 directory
$ cd qemu-0.7.0
$ tar zxvf /location of downloaded files/kqemu-0.6.2-1.tar.gz
You now need to make sure you have some extra packets. First make sure you have the kernel headers installed by:
$ uname -a
..this will output the kernal version
Open Synaptic package manager and search for packages called "linux-headers". Several packages start with this name. Install the one that corresponds to your processor and your kernel version.
Still in Synaptic, choose the package you have just installed, click Properties and go to the "Installed Files" tab. Write down the directory where the files were copied. In my case, they were copied to: /usr/src/linux-headers-2.6.10-5-386/
$ gedit configure
change the: kernel_path="/usr/src/linux-headers-2.6.10-5-386"
$ sudo apt-get install libsdl1.2-dev
$ sudo apt-get install zlib1g-dev
Then check that everything is correct with:
$ ./configure
If everything is correct, proceed with:
$ make
Correct output to make will go on and on and output a lot of text...
If you did'nt get any errors you are now ready to install. If you get any errors or this does'nt work at all, make sure you have a gcc compiler in your system.
Now we are ready to install:
$ sudo make install
If everything went ok, you can now start the qemu with the command
$ modprobe kqemu
Then we need to make this start when the computer boots
$ sudo gedit /etc/init.d/bootmisc.sh
Add these lines to the end just before "exit;"
# Start Qemu with KQemu accelerator
/sbin/modprobe kqemu
mknod /dev/kqemu c 250 0 # Create the KQEMU device
chmod 666 /dev/kqemu # Make it accessible to all users
Step 2. INSTALLING WIN4LINPRO
Go to: http://www.win4lin.com/index.php?opt...ry&filecatid=2
Download the .deb packet and install with:
$sudo dpkg -i win4linpro_6.1.1-03_i386.deb
There we go, now you are ready to install win2000 or XP... this you do with the command:
$ loadwinproCD
This will load the installation cd into your disk before installation. Do this as your user, not root or sudo. If you want to use a .iso you specify this with:
loadwinproCD -r /location/of/your/file.iso
After the CD or .iso is loaded into your drive you start the installation process by:
$ installwinpro
Still as your user.. not root or sudo
For more configuration go to the User-guide at: http://www.netraverse.com/support/docs/pro6_guide.html
Congratulations.. or more like good luck! I really wish that you can figure out why it's stilll so slow and can reply here how you did it.
Bookmarks