开机出现如下错误:
error found when loading /root/.profile
stdin:is not a tty
...
解决:vim /root/.profile
将 mesg n 改为 tty - s && mesg n
保存退出即可。
修复启动错误教程
本文解决了一个常见的系统启动问题,即加载/root/.profile时出现的错误提示。通过简单修改该文件中的一行代码,即将“mesgn”更改为“tty -s && mesgn”,可以有效地解决这一问题。
开机出现如下错误:
error found when loading /root/.profile
stdin:is not a tty
...
解决:vim /root/.profile
将 mesg n 改为 tty - s && mesg n
保存退出即可。
9629
9885

被折叠的 条评论
为什么被折叠?