3 patch boot/grub/menu.lst <<"_EOF"
8 > serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
9 > terminal --timeout=0 serial console
11 < kernel /boot/bzImage rw root=/dev/sda1
13 > kernel /boot/bzImage rw root=/dev/sda1 console=ttyS0,115200n8
16 patch etc/inittab <<"_EOF"
18 < console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
20 > console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
21 > # ttyS1 to be used by qemu-ga
22 > ttyS2::respawn:/sbin/getty -L ttyS2 0 vt100 # Additional serial