分页: 1 / 1
[问题]编译内核时运行了一个命令,结果在编译失败后不能进入系统!
发表于 : 2007-03-19 1:14
由 eos
rm -f /bin/sh
ln -s /bin/bash /bin/sh
执行了这个,还有的救吗?
怎样恢复啊?拯救模式也不能进入了。
发表于 : 2007-03-19 7:28
由 drongh
这个没关系的,只不过是建立另一个连接而且,你可是:
代码: 全选
rm -f /bin/sh
ln -s /bin/dash /bin/sh
上面的是ubuntu6.10默认建立的连接
你可以用老的内核进,看看可不可以
发表于 : 2007-03-19 20:31
由 eos
不行啊!老内核也无效了
系统报错
init:unable to execute "/bin/sh" for rcS:no such file or directory
init:rcs process(1835) terminatec with status 1
init:unable to execute "/bin/sh" for rc-default:no such file or dircetory
init:rc-default process(1836) terminated with status 1
难道要重装系统?