Repair filesystem模式修复方法
来源:互联网 发布:淘宝互动平台在哪看 编辑:程序博客网 时间:2024/04/30 19:31
linux下Repair filesystem模式修复方法
一、问题描述:
Finding module dependencies; [OK]
modprobe:modprobe:can't locate module block-major-3
fsck.ext3Possibly non-existent or swap device?
:NO such device or address while trying to open /dev/hdb1
/boot: clena, 41/26104 files. 12679/104391 blocks
[FAILED]
*** AN error occurred during the file system check
*** Dropping you to a shell; the systm will reboot
*** when you leave the shell
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
(Repair filesystem) 1 #
第一种情况:非正常关机引起的磁盘分区问题 不能正常进入系统
上次非正常关机引起的,用fsck /dev/hdaX后reboot,或只用fsck来修复,只管y回车,后reboot。
第二种情况:由于/etc/fstab文件编辑错误 而引起的不能正常进入系统
解决方法就是修改/etc/fstab文件成原来正常格式 删除错误的或者是不存在的挂载目录
操作:
根据提示进入修复模式 Login incorrect.
(Repair filesystem) 1 # vim /etc/fstab
但是修复模式下(read-only system) 文件是被保护的不能修改 运行下面命令 把系统文件权限改成可读写(rw)使根目录可写.即可以修复/etc/fstab文件,使之可写.然后就可以vi修改了,保存 wq。
(Repair filesystem) 1 # mount -o remount,rw /
(Repair filesystem) 1 # vi /etc/fstab
:wq 保存
(Repair filesystem) 1 #reboot
或者手动重启。
注:通常2种方法结合使用。一般重复多次。
- Repair filesystem模式修复方法
- linux下repair filesystem模式修复方法
- linux下repair filesystem模式修复方法实践
- linux系统下repair filesystem模式修复方法
- linux设置存储自动挂载后系统无法登录即repair filesystem模式修复方法
- linux系统修复Repair filesystem
- repair filesystem#
- linux repair filesystem
- linux: repair filesystem
- linux repair filesystem
- repair filesystem /etc/fstab readonly
- repair filesystem /etc/fstab readonly
- linux下系统故障:Repair filesystem
- VMware virtual disk needs repair 的修复方法
- linux 下的repair filesystem 问题
- Linux repair filesystem问题的解决办法
- esx linux下出现repair filesystem解决办法
- linux下出现repair filesystem的解决办法
- C/C++ 数组与地址的关系
- 两张表对比并更新操作【求助】
- poj 2762(弱联通:强连通+缩点+拓扑排序)
- 正则表达式符号解释
- linux lcd驱动分析四
- Repair filesystem模式修复方法
- win7与Ubuntu 12.04双系统修改启动项顺序
- 马化腾谈互联网产品创新:灰度法则的七个维度
- How To Kill runaway processes After Terminating Concurrent Request
- C++程序设计原理与实践__记录1
- 在Ubuntu11.04中安装Ubuntu-tweak
- Windows进程间各种通信方式浅谈
- poj 3321
- android:应用、任务、进程、线程