At first, you need to enable serial ports in your BIOS and wire them up to the case front (if they aren’t allready).
Make sure you have the following in your /boot/grub/menu.lst:
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console
# kopt=root=ro console=tty0 console=ttyS0,115200n8
Check that “ttyS0″ is in /etc/securetty, remove /etc/ioctl.save, if its there.
Last change goes to /etc/inittab, add there:
T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
Now you can use a terminal program like minicom with 115200 baud, 8n1 and no flow control set.
Have fun and much luck on recovering your machine!

The Enable serial console on Debian ‘sarge’ GNU/Linux by Cyconet Blog, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Terms and conditions beyond the scope of this license may be available at blog.waja.info.
Brunner Bäcker
Aldi
Städtischer Kinderspielplatz
Kindergarten Am Storchennest
Volksfestplatz Bayreuth
0 Responses to “Enable serial console on Debian ‘sarge’ GNU/Linux”