Slackware HowTo

Configure a serial console on Slackware

Prepare serial access for headless servers, remote troubleshooting, and faster recovery.

1. Goal

Prepare serial access for headless servers, remote troubleshooting, and faster recovery.

2. Files and components involved

/etc/inittab
/etc/lilo.conf oppure GRUB
ttyS0

3. Operational flow

add agetty for ttyS0 in inittab
add console=ttyS0 to the bootloader
reload init and bootloader

4. Operational verification

grep ttyS0 /etc/inittab
dmesg
grep -i console
test login over serial

5. Practical notes

Document every persistent change and keep a copy of the original files, especially when working on remote servers.

Operational procedures matter as much as commands: if they are not repeatable and documented, you will waste time on the next intervention.

Quick checklist

[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented

Back to the Linux HowTo section