Specialized Search Engines - WombatTechnology - Web Wombat

Specialized Search Engines

Making it work in Qemu

WombatTechnology

Imagine being able to see all your information from a single vantage point ...

Making it work in Qemu

At this point you will need to open up the VM's hard disk and make some changes so the X server will be able to run on the virtualized video hardware. If this is not done the VM gets stuck in a loop trying to start the X server over and over again.

In the terminal, become the root user (or use sudo for the following commands).

# su


Loop mount the VM's disk so we can do the changes.

# mkdir -p /mnt/loop

# mount vm_eee701.disk0 /mnt/loop -o loop,offset=32256

Overwrite the VM's X server config with one that has been modified to work in a Qemu environment. The xorg.conf provided has had the driver set to vesa and the screen resolution set to 800x600.

# cp xorg.conf /mnt/loop/etc/X11/xorg.conf

# chmod 644 /mnt/loop/etc/X11/xorg.conf

While you have the VM's disk mounted, add the network drivers for the virtualized network card. This is necessary because the standard install only has the driver for the eeePC network card. The kernel modules provided were compiled inside a virtualized eeePC with a vanilla 2.6.21.4 kernel.

# cp ne2k-pci.ko /mnt/loop/lib/modules/2.6.21.4-eeepc/kernel/drivers/net/

# cp 8390.ko /mnt/loop/lib/modules/2.6.21.4-eeepc/kernel/drivers/net/
# chmod 744 /mnt/loop/lib/modules/2.6.21.4-eeepc/kernel/drivers/net/ne2k-pci.ko
# chmod 744 /mnt/loop/lib/modules/2.6.21.4-eeepc/kernel/drivers/net/8390.ko
# cat modules.alias.add >> /mnt/loop/lib/modules/2.6.21.4-eeepc/modules.alias
# cat modules.dep.add >> /mnt/loop/lib/modules/2.6.21.4-eeepc/modules.dep
# cat modules.pcimap.add >> /mnt/loop/lib/modules/2.6.21.4-eeepc/modules.pcimap
# echo ne2k-pci >> /mnt/loop/etc/modules

That's all the changes done, so unmount the VM's disk.

# umount /mnt/loop


Being the root user is no longer necessary so exit (or stop using sudo if you are not the root user).

# exit



Making it work in Qemu

<up>

Preparation

Installation

Making it work in Qemu

Ready to run

Login

Username:
Password:
Forgot Details?