Tue Feb 24 11:56:16 CET 2009

xenomai + qemu

Create a harddisk image:

 qemu-img create -f qcow2 xenumu.qcow2 1G

Run qemu using this installation image:


  qemu xenomu.qcow2 -cdrom <ISO> -boot d

Then configure it so it has ssh + access on console.  Console access
needs to be defined on 4 places:

  - qemu command line: "-serial stdio" or "-nographic"
  - /boot/grub/menu.lst the lines "serial" and "console serial"
  - kernel command line: "console=serial"
  - /etc/inittab: uncomment the T0 line

It's also convenient to add autologin with /sbin/autologin:

  /bin/login -f root

And inittab:

  T0:23:respawn:/sbin/getty -L ttyS0 -n -l /sbin/autologin 9600 vt100