by m0nty · 17y ago · 0 comments
stty sane ^j
(That's Ctrl-j there.)
You might be flying blind, but just do it and you might get your screen back.
You probably know this, but to rescue a hosed system with Knoppix or similar live-cd:
- Boot from CD.
- Open root console.
- Mount your usual root partition: mount -t somefs /dev/hda1 /mnt/oldsys
- chroot /mnt/odlsys /bin/bash
Showed that to another admin who'd lost a production box, and his chin kind of hit the floor :) I gifted him the Knoppix disk... You can also use that to reset passwords (as per the article), by editing /etc/shadow or /etc/passwd in the /mnt/oldssys directory.
How Knoppix saved the day