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)
***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 socket 初步
- android wifi 无线调试
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- 动态清空 nohup 输出文件
- install scrapy with pip and easy_install
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- 基于 Linux 集群环境上 GPFS 的问题诊断
- 谁是桌面王者?Win PK Linux三大镇山之宝