您的位置:首页 > 运维架构 > Linux

Linux 无法开机 显示 an error occurred during the file&nb

2015-08-03 20:34 1216 查看
Linux 启动发生磁盘错误, 磁盘扫描进度完成后光标停留在

***An error occured during the filesystem check

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

***when you leave the shell.

Give root password for maintainence

(or type Controll-D to continue)

解决方法: 

root密码 执行 fdisk -l    查看磁盘 

发现只有/dev/sda1  /dev/sda2

(Repair filesystem)# fdisk -l   根据看到的磁盘依次修复 ,例如:

(Repair filesystem)#fsck -y /dev/sda1


(Repair filesystem)#fsck -y /dev/sda2


遇到如下提示:

fsck.ext3:Device or resource busy while trying to open /dev/sda2

File system mounted or opened exclusively by another program?

百度后发现是分区错误,只能修改/etc/fstab来修改挂载点。

/etc/fstab 默认为只读模式,只能用单用户模式来进行修改。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux shell