天天看点

redhat磁盘错误处理

这段时间机房管理混乱,不知道那头猪将服务器非法关机。系统无法进入提示

“checking filesystems

fsck.ext3:Unable to resolve 'label=/boot'          [FAILED]

An error occurred during the file system check

Dropping you to a shell;the system will reboot

When you leave the shell

Warning——SELinux is active

Disabling security enforcement for system recovery

Run 'setenforce 1' to reenable

——看来是非法关机引起文件错误,只能进入修复模式修复。

用启动光盘,在BOOT输入“linux resuce”

进入修复模式,输入命令“chroot /mnt/sysimage”,使用原安装系统文件。

直接命令“fsck”,所有提示修复的地方都键入“y”,运气好的话,这样可以解决。

重启~~~~~,OK!

redhat磁盘错误处理

继续阅读