Chinaunix

标题: linux 启动时出错老是自动重启.请大虾指教 [打印本页]

作者: 博客沁    时间: 2005-12-12 17:53
标题: linux 启动时出错老是自动重启.请大虾指教
Sample Text我是刚学linux, 所以有可能说的不太明确请大家谅解!
主要问题我red hat enteprise linux  as (2.6.9-5.el) 启动的当中老是自动重启,我不知道root 密码,那我没有修复盘的情况下怎么才能修复系统呢?

启动详细信息中这样  contains a file system with erres ,check forced .2005 [ok]   提示不到3~4秒就重启.

小弟用以下方法试了,可是那个shadow 文件的只读属性不会改,

grub 启动后,移动键盘到Linux的启动项;按e键;然后再移动键盘到类似下面的一行,也就是kernel的那行:

kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/1 rhgb quiet linux init=/bin/bash

结束编辑,按回车返回;
接着我们要启动系统,按一下b键启动;

可能系统是只读的;要运行下面的命令;


#mount -o remount,rw /




之后就提示 :
mount:could not open /proc/partitions, so UUID and LAGEL conversion cannot be done.


谢谢!

作者: rainloftty    时间: 2005-12-12 17:59
按crontrol+D好像就直接进入单用户模式了吧
还是要继续输入root密码,我有点忘了
作者: 博客沁    时间: 2005-12-12 20:58
标题: 提示 kernel panic - not syncing :attempted to kill init
提示 kernel panic - not syncing :attempted  to kill init
作者: 博客沁    时间: 2005-12-12 21:02
标题: 原因!
就是把root 用户删了,后来就启不来了。

好像只能用系统盘修复,没别的办法吧??

谢谢!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2