> I'm using debian's FAI (Fully Automatic
> Installation) to install a lenny guest on a lenny
> host. I'm having some problems in the installation
> process and I would like to log the console
> messages that appear on the guest console to a
> file on the host. 

Setup a uart on the guest and configure it to send
to a domain socket:

$ VBoxManage modifyvm foobox -uart1 0x3F8 4 -uartmode1 client /tmp/foobox.sock

Tell the FAI nfsroot kernel to send output to the
console:

$ cat /opt/tftpboot/pxelinux.cfg/default
DEFAULT fai
LABEL fai
   kernel fai/vmlinuz-2.6.26-2-486
   append [blablabla] console=ttyS0

Open the socket in listen mode on the host:

$ socat UNIX-LISTEN:/tmp/foobox.sock,ignoreeof - | tee dmesg.guest

In another terminal, start the vm:

$ VBoxManage startvm foobox

-- 
JR [talking to himself]

_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to