Main Menu
Home
Search
Support
How To's
OpenWiki
Contact Us
Users Blogs
User HowTo's
Announcements
Google Translation

 

 

 

 

Installing Linux inside Windows XP using QEMU PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Paul Matthews   

This How-To is explaining how to install an operating system inside of another operating system. For example in this how-to were going setup a virtual machine running CentOS inside a windows XP operating system using QEMU.


Name: QEMU

HomePage: http://fabrice.bellard.free.fr/qemu/

Function: QEMU is a generic and open source machine emulator and virtualizer

 

1. First lets download and install the windows version of Qemu.

 

http://www.h7.dion.ne.jp/~qemu-win/

 

2. Next step is to unzip qemu-0.9.0-windows.zip and install it.

 

Installing Windows98 inside Windows XP using QEMU

 

3. Now open up the command line and navigate to were Qemu was installed.

 

Installing Windows98 inside Windows XP using QEMU

 

4. Next step is to setup a virtual harddrive file. 

 

qemu-img create -f raw harddisk.img 1000M

 

Installing Windows98 inside Windows XP using QEMU

 

5. Now insert the CentOS CD into your CD drive and run the following command

 

qemu.exe -L .  -hda harddisk.img -cdrom //./f: -boot d

 

6. From now on just follow the setup steps like you would any normal installation of CentOS installation.

 

Installing Windows98 inside Windows XP using QEMU

 

7.  Once CentOs setup has run and CentOS is installed run the following command to start it.

 

qemu.exe -L . -m 128 -hda harddisk.img -cdrom //./f: -boot c -M pc

 

8. I like to make it into a batch file in the qemu directory and create a shortcut on the desktop.


Code:
REM Start CentOS in Qemu.
@ECHO OFF

REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard cannot work well.
SET SDL_VIDEODRIVER=windib

REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl.
SET SDL_AUDIODRIVER=dsound

REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help.
SET QEMU_AUDIO_DRV=dsound

REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor.
SET QEMU_AUDIO_LOG_TO_MONITOR=0

REM PCI-based PC(default) -M pc
REM ISA-based PC          -M isapc
REM -M isapc is added for NE2000 ISA card.

qemu -L . -m 128 -hda harddisk.img -soundhw all -localtime -cdrom //./f: -boot c -M pc

BookMarking:

 

cell1

cell3 Submit to del.icio.us
cell4
AddThis Social Bookmark Button


Trouble Shooting:


Go to the wiki page

Go to the 'Contact Us ' Forum

Go to the how-to's 'Support ' Forum


External Links:


http://fabrice.bellard.free.fr/qemu/qemu-doc.html


http://wiki.archlinux.org/index.php/Qemu

Last Updated ( Sunday, 03 June 2007 )
 
< Prev   Next >