串口输出

lilo.conf

large-memory
serial  = 0,115200n8
—————————————————-
grub v1

add to /boot/grub/grub.conf

serial –unit=0 –speed=115200 –word=8 –parity=no –stop=1
terminal serial console

——

add below to tail of kernel line

console=tty1 console=ttyS0,115200n8

——

echo “c0:2345:respawn:/sbin/agetty 9600 ttyS0 linux” >>/etc/inittab

echo “ttyS0” >>/etc/securetty