我的一个实例是磁盘出现问题。串行控制台戏弄地显示错误和控制台提示:
fsck.ext4: No such file or directory while trying to open /dev/sdbt
Possibly non-existent device?
fsck died with exit status 8
[?25l[?1c7[1G[[31mFAIL[39;49m8[?25h[?0c[31mfailed (code 8).[39;49m
[....] File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. ...[?25l[?1c7[1G[[31mFAIL[39;49m8[?25h[?0c [31mfailed![39;49m
[....] A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot. ...[?25l[?1c7[1G[[33mwarn[39;49m8[?25h[?0c [33m(warning).[39;49m
sulogin: root account is locked, starting shell
root@(none):~#
有没有办法让串行控制台交互?为初学者查看 fstab 文件会很棒,甚至可以按 ctl-D 来启动它。
还有什么办法可以清理控制台上的乱码吗?