TODO

http://plan9.bell-labs.com/wiki/plan9/installing_in_xen_3.0/index.html

This is the shell script I use to start a Qemu instance. This will not work without modification on your system, it will rather wreak havoc on it, you have been warned!

During installation you will need "-cdrom /dev/cdrom -boot d" as additional commandline parameters

cat -> qemu_plan9 <<EOF
#!/bin/sh
brctl delbr br0
ifdown eth0
echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig eth0 0.0.0.0 promisc up
brctl addbr br0
brctl stp br0 on
brctl addif br0 eth0
ifconfig br0 10.0.0.3 netmask 255.255.255.0 broadcast 10.0.0.255
route add default gw 10.0.0.1
modprobe tun
umount /dev/shm
mount -t tmpfs -o size=528m none /dev/shm
device="/dev/kqemu"
rm -f $device
mknod $device c 250 0
chmod 666 $device
modprobe kqemu
/usr/local/bin/qemu -net tap,1 -net nic,1  -hda /plan9/c.img -k de -m 512
EOF