linux系统开机报错,linux开机报错故障

以下是机房里的小兄弟整理的文章,首先感谢余义林的细心的发现问题解决问题,并整理问题。

1744eaf198b740c1a5e07b2542fc9e62.png

错误信息:

checking filesystems

/contians a file system wite errors, check forced

Error reading block 145817602(Attempt to read block from filesystem short read)while geting mext inode from scan.

/:UNEXPECTED INCONSISTRENCY;  RUN fsck MANUALLY.

(i.e,withiout -a or -p options)

[FAILED]

*** An error occurred during the file system check

*** Dropping you to a shell; the system will reboot

*** when you leave the shell,

Give root password for maintenance (or type Control-D to continue)

导致的原因:

当Linux系统被强行关闭或重新启动,电脑的档案系统便有可能受损,系统会自动检查并修复档案系统;但当档案系统未能自动修复,画面便会出现上述讯息。需要手动修复

修复步骤:

一.当出现上述错误后,首先看的提示“Give root password”,首先想到的是输入超级用户的密码。

二.输入fsck -A –V,提示找不到/etc/fstab,用ls /etc/fstab查看是存在的。

三.输入#e2fsck /dev/sda3(sda3是你的磁盘名)命令,用df –T命令可以查看。

四.输入#e2fsck /dev/sda3命令,系统会显示如下信息

e2fsck 1.32 (09-Nov-2002)

/boot was not cleanly unmounted, check forced

Pass1: Checking inodes, blocks, and sizes(pass1检测完,有的会需要你输入Y,按照输入就行)

Pass2: Checking directory structure

Pass3: Checking directory connectivity

Pass4: Checking reference counts

Pass5: Checking group summary information

/boot: *****FILE SYSTEM WAS MODIFIED*****

/boot: 53/26104 files (13.2% non-contiguous), 27316/104391 blocks五.输入reboot命令,重启系统,正常进入系统,问题解决.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值