====== Controlling Grub through serial link ======

With this configuration of Grub I can boot my box and control the boot menu, make choice's, and see the output from the boot sequence.


===== /boot/grub/menu.lst =====

<file>
#color white/blue black/light-gray
default 0
timeout 3
#gfxmenu (hd0,0)/message

serial --unit=0 --speed=9600
terminal --timeout=15 console serial

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.3
#    kernel (hd0,0)/vmlinuz root=/dev/hda2 vga=0x31a selinux=0  splash=silent resume=/dev/hda3  showopts
    kernel (hd0,0)/vmlinuz root=/dev/hda2 vga=0x31a selinux=0  splash=silent noresume  showopts console=ttyS0 console=tty0
    initrd (hd0,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.3
    kernel (hd0,0)/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
    initrd (hd0,0)/initrd

title SUSE LINUX 9.3 Serial
    kernel (hd0,0)/vmlinuz root=/dev/hda2 vga=0x31a selinux=0  noresume  showopts console=tty0 console=ttyS0
    initrd (hd0,0)/initrd
</file>


===== Ubuntu Hardy Heron =====
When system has booted.

/etc/event.d/ttyS0

<file>
# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
respawn
exec /sbin/getty 9600 ttyS0
</file>
