Linux启动时出现 an error occurred during the file system check错误
来源:互联网 发布:linux grub引导 stage 编辑:程序博客网 时间:2024/06/05 03:55
启动linux时,出现:
an error occurred during the file system check.
dropping you to a shell; the system will reboot
when you leave the shellwarning security enforcement for system recovery
run'setenforce 1'to reenable
give root password for maintenance
(or type Control-D to continue):
这时候可以简单的输入root密码,然后执行fsck进行文件系统修复,最后重启即可。
但有时候你没有root密码怎么办?可以进入Single User mode来获得root权限,但前提是你必须在物理电脑面前。
Press 'ESC' at the boot prompt.
In a RHEL5 guest OS on Ubuntu, you'll have to select the Linux Client and press 'e' to edit.
Press 'e' to edit the currently selected boot entry.
Use the arrow keys to select the 'kernel' line, then press 'e' to edit the line.
Add space to the end of the line and then append ' init=/bin/sh' to the line. (without quotes)
Press 'enter' to leave the editing screen, then 'b' to boot.
This doesn't run init, so you won't have anything mounted aside from the root partition, and that will be read-only. You must correct these things manually.
然后你就进入了sh,是root权限:
/sbin/fdisk -l
然后就可以执行fsck了:
/sbin/fsck /dev/sda1
/sbin/fsck /dev/sdb1
reboot
If 'reboot' command gives error : "/dev/initctl no such file or directory",
then do "mkfifo /dev/initctl; reboot -f"
ok了。
原文:http://blog.csdn.net/hongchangfirst/article/details/52044797
作者:hongchangfirst
hongchangfirst的主页:http://blog.csdn.net/hongchangfirst
0 0
- Linux启动时出现 an error occurred during the file system check错误
- 启动时出现错误an error occurred during the file system check dropping you to a shell
- 启动Linux系统时,提示An error occurred during the file system check
- 突然断电,出现'an error occurred during the file system check'错误解决办法
- Centos 6.5启动 an error occurred during the file system check错误的解决
- Centos 6.5启动 an error occurred during the file system check错误的解决
- linux挂载硬盘重启后出现an error occurred during the file system check错误最有效的解决办法
- linux挂载硬盘重启后出现an error occurred during the file system check错误最有效的解决办法
- linux系统中:an error occurred during the file system check 错误解决方法
- Linux系统:an error occurred during the file system check 错误解决方法
- linux an error occurred during the file system check错误的解决
- Linux Boot出现 an error occurred during the file system
- an error occurred during the file system check
- An error occurred during the file system check
- 虚拟机an error occurred during the file system check解决办法
- an error occurred during the file system check错误的解决
- an error occurred during the file system check错误的解决
- linux系统启动报错:An error occurred during the file system check(linux学习记录)
- hdu5753
- [树状数组] poj 3321 Apple Tree
- Self Summary: C++函数返回引用和指针的问题,局部对象与new对象的问题
- 正则表达式匹配中英文_,并控制长度
- 无论是玩游戏还是交女朋友都需要预热
- Linux启动时出现 an error occurred during the file system check错误
- Maven本地资源库
- abp构建Web API服务
- Maven根据不同环境打包不同配置文件
- poj 2007
- eclipse环境搭建ssh(Struts2+Spring2.5+Hibernate3)框架小谈(上)
- 服务器端技术概述
- Mysql自学笔记四
- 测试