linux 故障修复
debian机器,开机遇到类似下面的错误
checking drive/dev/sda3: 92%(stage 4/5,25/85) fail
Fliesystemcheckfalid
Alogisbeingsavedin/var/log/fsck/cherksifthatlocationiswritable.Pleaserepairthefilewillnowbestarted.
A maintenace shell will now be started Control-D will terminate this shew and resume system boot.----
fsck died with exit status 4
这里描述的是磁盘检测错误,网上说是异常关机导致的。
然后尝试用下面命令执行,重启后系统正常了
先mount -no remount,ro /
再fsck.ext3 -y /dev/sda3
然后重启ok!
注意:网上说,不要直接执行fsck,这样会有危险,要在把设备unmount后执行。
相关推荐
comeonxueRong 2020-06-18
nuligannima 2020-06-01
zhongzhiwei 2020-03-26
kevinli 2020-01-08
ourtimes 2013-07-29
minggehenhao 2019-12-29
iphilo 2019-12-28
zhongcanw 2019-12-11
Jesus0 2019-12-02
xuxujing 2015-03-26
LUOPING0 2019-11-10
lovexiaoqiqi 2015-07-29
GeorgeTH 2019-10-21
SIstvan 2017-02-09
wangrui0 2017-02-19
leeagle 2017-07-13
lfjjia 2018-05-02