# Run gettys in standard runlevels
co:2345:respawn:/sbin/agetty -h -L 19200 ttyS0 vt100
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
如下编辑文件 /etc/securetty:
添加新行,为 COM1 使用串行 tty 名称:
ttyS0