第一种情况:非正常关机引起的磁盘分区问题 不能正常进入系统
大家好~!ITPUB个人空间y!Mt'`3X(x'E7l
麻烦大家教教我如下问题一般是如何引起和应该怎么样解决呢?ITPUB个人空间 BUu"zC+va1e
Finding module dependencies; [OK]ITPUB个人空间.s W3v:A"|#r$V6I
modprobe:modprobe:can't locate module block-major-3ITPUB个人空间d }*IK2O+mA KU8?{
fsck.ext3Possibly non-existent or swap device?
t"VH~(S"x$gVX"l0:NO such device or address while trying to open /dev/hdb1ITPUB个人空间k;O$V.zO(R T8?-S.Q
/boot: clena, 41/26104 files. 12679/104391 blocksITPUB个人空间vie E)Ge7s0}
[FAILED]ITPUB个人空间3z ~.awO;^@
ITPUB个人空间,[ H-mE/Q8F Z
*** AN error occurred during the file system checkITPUB个人空间ap"h@bPF
*** Dropping you to a shell; the systm will reboot
H7cg;Z!s,R T0*** when you leave the shellITPUB个人空间BZ|3R j%H"Pc
Give root password for maintenanceITPUB个人空间a%TWn&kn-t9\ J
(or type Control-D to continue):
Ul_y:bo0Login incorrect.ITPUB个人空间t"{:V pl R
(Repair filesystem) 1 #
上次非正常关机引起的,用fsck /dev/hdaX后reboot进入,或只用fsck来修复,只管y回车
第二种情况:由于/etc/fstab文件编辑错误 而引起的不能正常进入系统
解决方法就是修改/etc/fstab文件成原来正常格式 删除错误的或者是不存在的挂载目录
操作:根据提示进入修复模式 Login incorrect.ITPUB个人空间"Da1?roe
(Repair filesystem) 1 # vim /etc/fstab
s\~y'y:w;n0但是修复模式下(read-only system) 文件是被保护的不能修改 运行下面命令 把系统文件权限改成可读写(rw)
(Repair filesystem) 1 # mount -o remount,rw /ITPUB个人空间s+A:twtcC
使根目录可写.即可以修复/etc/fstab文件,使之可写.然后就可以vi修改了
R p/]K Y6V6Gf0保存 wq
(Repair filesystem) 1 #reboot
搞定!!! RHLE正常界面又出来了。
















