开机出现如下情况
Finding module dependencies; [OK]
modprobe:modprobe:can't locate module block-major-3
fsck.ext3Possibly non-existent or swap device?
:NO such device or address while trying to open /dev/hdb1
/boot: clena, 41/26104 files. 12679/104391 blocks
[FAILED]
*** AN error occurred during the file system check
*** Dropping you to a shell; the systm will reboot
*** when you leave the shell
Give root password for maintenance
(or type Control-D to continue):
这是由于上次非正常关机引起的,必须用fsck命令修复
在这输入root密码回车以后,系统就让你准备修复文件系统
Login incorrect.
(Repair filesystem) 1 #
输入fsck -t ext3 -r /,直接从根目录下开始修复,如果你想指定修复某个目录,就把/换成你想要修复的目录
然后会遇到很多?,一路回车,直到出现
(Repair filesystem) 2 #
因为我们是从/开始修复的,所以到此就修复完成了。在此输入reboot重启,就OK了。
重启的时候,大概会让你重新配置网卡,也可能不会出现,那就配置一下。
一般经过以上的修复,就可以进系统了。