PDA

View Full Version : HowTo: Ubuntu installation on windows xp [Qemu+Kqemu]


pe3no
February 26th, 2007, 08:17 AM
Hi,

This is my first post here - I'm Piotr from Poland :-)
Sometimes we do not have the possibility to install Ubuntu,
for example at work, where the companies usually use m$ :-(
I had this problem and would like to share with the others my HowTo.
It describes the installation of Qemu + Kqemu on xp.
Having such a virtual machine, we can install and run our favourite Ubuntu :-)
This also gave me the possibility of presenting Ubuntu to my colleagues.
I tested this Guide several times and it worked without any problem.

Best regards~~Piotrek~~pe3no.

__________________________________________________ _________________


To install Ubuntu in m$ windows xp environment, using virtual machine Qemu + Kqemu (accelerator module), you need to follow the instructions below.
Generally, you need to copy+paste the code (without "C:\q>" of course) into the "cmd" windows terminal and press {enter} :-)



1. Run "cmd" windows terminal session:
Start > Run... > cmd > OK


2. Create a directory for Qemu+Kqemu installation:
c:\Documents...\...> mkdir c:\q

3. Go to this directory:
c:\Documents...\...> cd c:\q


4. Click the link below and save wget into c:\q or in case of problems find wget.exe somere else, using Google:
http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe


5. Download free unzip, using one of the locations below (or find with Google) - into c:\q directory:
c:\q> wget -c ftp://tug.ctan.org/pub/tex-archive/tools/zip/info-zip/WIN32/unz552xN.exe
c:\q> wget -c http://mirror.switch.ch/ftp/mirror/infozip/WIN32/unz552xN.exe

6. Unpack "unzip" program into c:\q directory:
c:\q> unz552xN.exe

7. Download Qemu from one of the locations or find with Google, using file name:
c:\q> wget -c http://www.arte.unipi.it/Public/Win32/qemu-0.9.0-windows.zip
c:\q> wget -c http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.9.0-windows.zip

8. Unzip Qemu into c:\q directory, which will create a subfolder:
c:\q> unzip qemu-0.9.0-windows.zip

9. Download tar into c:\q directory:
c:\q> wget -c http://heanet.dl.sourceforge.net/sourceforge/gnuwin32/tar-1.13-1-bin.zip

10. Download package needed for tar:
c:\q> wget -c http://heanet.dl.sourceforge.net/sourceforge/gnuwin32/tar-1.13-1-dep.zip

11. Unzip tar and its dependencies:
c:\q> unzip tar-1.13-1-bin.zip
c:\q> unzip tar-1.13-1-dep.zip

12. Download Kqemu - accelerator module:
c:\q> wget -c http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre11.tar.gz

13. Change tarball's name to simplify your tasks :-)
c:\q> move kqemu-1.3.0pre11.tar.gz kqemu.tgz

14. Download free gzip/gunzip:
c:\q> wget -c ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/MSDOS/gzip124.exe

15. Change the name of README to avoid the overwriting:
c:\q> move README README_01.txt

16. Unpack gzip:
c:\q> gzip124.exe

17. Create gunzip command:
c:\q> copy gzip.exe gunzip.exe

18. Uncompress Kqemu – kqemu.tar will be created:
c:\q> gunzip kqemu.tgz

19. Unpack kqemu.tar, which was created in bin subdirectory:
c:\q> c:\q\bin\tar xvf kqemu.tar

20. Using m$ file manager rightclick the file below:
c:\q\kqemu-1.3.0pre11\kqemu.inf


21. Choose "install".


22. Come back to cmd and run Kqemu device, using command:
c:\q\> net start kqemu

23. Create a virtual Qemu hard drive - with a size of a DVD disk for example:
c:\q> c:\q\qemu-0.9.0-windows\qemu-img create c:\q\hdd.img 4450M

24. Run installation process of Ubuntu (with 768 MB of RAM) on Qemu + Kqemu, using a virtual CD/DVD installation disk.
You need to download it from Ubuntu home page - e.g. from http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/6.10/release/ubuntu-6.10-dvd-i386.iso
Modify running parameters if you need – look into documentation or use Google - most of the parameters are intuitive:
c:\q\> c:\q\qemu-0.9.0-windows\qemu -boot d –nics 1 –user-net -localtime –enable-audio -cdrom c:\ubuntu-6.10-dvd-i386.iso -hda c:\q\hdd.img -m 768 -L c:\q\qemu-0.9.0-windows


25. Install Ubuntu - there's a nice guide here with screenshots:
http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html


26. Run the sistem after installation process has finished and enjoy your Ubuntu on windows :-) :-) :-)
c:\q\> c:\q\qemu-0.9.0-windows\qemu -boot c –nics 1 –user-net -localtime –enable-audio -cdrom c:\ubuntu-6.10-dvd-i386.iso -hda c:\q\hdd.img -m 768 -L c:\q\qemu-0.9.0-windows

26. For your convenience put Kqemu startup string into autostart:
Start > Programs > Autostart > (Rightclick)… Create shortcut...> (Rightclick the shortcut created)… properties > target:
c:\windows\system32\net.exe start kqemu


USEFUL LINKS:

http://www.debianadmin.com/ubuntu-edgy-eft-desktop-installation-with-screenshots.html
http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/6.10/release/ubuntu-6.10-dvd-i386.iso
http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/6.10/release/MD5SUMS
http://fabrice.bellard.free.fr/qemu/about.html
http://fabrice.bellard.free.fr/qemu/qemu-doc.html
http://fabrice.bellard.free.fr/qemu/kqemu-doc.html
http://qemu-forum.ipi.fi/