BSD下Enter full pathname of shell or RETURN for /bin/sh 解决办法

来源:互联网 发布:淘宝美即面膜牛奶白滑 编辑:程序博客网 时间:2024/06/05 04:30

直接关闭系统电源,重启后出现:

Enter full pathname of shell or RETURN for /bin/sh:

错误信息

解决办法 一:

Enter full pathname of shell or RETURN for /bin/sh

按回车(括号内属说明文字)

#fsck -p / && mount -uw / ( you can read and write /etc/rc.conf)
#fsck -p /usr && mount /usr (mount /usr because you need /usr/bin/vi)
reboot

在使用这个方法后,重启系统错误信息依旧。


解决办法 二:

Enter full pathname of shell or RETURN for /bin/sh:

按回车:
# fsck -y
# mount -u /
# mount -a -t ufs
# swapon -a
# exit

系统启动成功,但是如果再reboot的话,在启动的时候又会停住,还是上面的提示。


URL:http://hi.baidu.com/stringtop/blog/item/92dd5f10e63499cda7ef3f8d.html