Is it possible to enable serial console on the fly?

Gilboa Davara gilboad at gmail.com
Mon Apr 17 13:18:49 UTC 2006


On Thu, 2006-04-13 at 14:34 -0700, Aleksey Tsalolikhin wrote:
> Hi.  FC4 on x86.  Is it possible to enable serial console on the fly,
> without reboot?  Need to capture SysRq kernel dump on a production
> server.
>  
> Best,
> -at
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Add the following line to your inittab.
s1:12345:respawn:/sbin/agetty -L <serial port> <speed> <terminal
emulation)
E.g. s1:12345:respawn:/sbin/agetty -L ttyS0 57600 vt100

When you're done, just issue "init q" as root. It'll start the serial
port.

Gilboa




More information about the users mailing list