ubuntu文件系统只读 /etc/mtab is not writable
2012-11-16 11:15
507 查看
今天出现个怪现象,ubuntu开机后无法进入图形界面,远程登录后发现系统成了只读文件系统。mount命令之后出现如下信息
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
查看/etc/fstab文件时发现
UUID=xxxx / ext4 errors=remount-ro 0 1
这个说明ubuntu文件系统成了只读文件系统。
解决办法:
用ubuntu光盘引导系统,进入命令行终端,输入如下命令修复磁盘信息
sudo fsck /dev/sdxy #sdxy为系统dev/sdxy is your ubuntu root partition 或者为出现问题的分区。
一路yes fix之后,重启电脑,至此ubuntu工作正常!
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
查看/etc/fstab文件时发现
UUID=xxxx / ext4 errors=remount-ro 0 1
这个说明ubuntu文件系统成了只读文件系统。
解决办法:
用ubuntu光盘引导系统,进入命令行终端,输入如下命令修复磁盘信息
sudo fsck /dev/sdxy #sdxy为系统dev/sdxy is your ubuntu root partition 或者为出现问题的分区。
一路yes fix之后,重启电脑,至此ubuntu工作正常!
相关文章推荐
- ubuntu 出错 /etc/sudoers is world writable
- 在/etc/profile文件错误,导致ubuntu系统进入登陆界面输入正确密码又回到原来登陆界面。
- nested exception is java.io.FileNotFoundException: config.xml (系统找不到指定的文件。)
- ubuntu系统 /etc目录下配置文件的作用
- Ubuntu中的由于修改/etc/profile文件而进入不了系统
- Ubuntu 12.04LTS 系统 /etc/default/grub文件详解
- Ubuntu下U盘变成只读,提示“只读文件系统”或“只读文件系统”的问题
- ubuntu chmod 无法更改 文件夹权限 系统提示“不允许的操作 2、linux 如何修改只读文件 3、ubuntu安装
- Ubuntu修改etc/environment文件后无法登陆系统的问题解决办法
- JZ2440 mount主机上的nfs文件系统出现提示:nfs:server is not responding, still trying
- Ubuntu下U盘只读文件系统,图标上锁,提示无法修改
- ubuntu: An upgrade from 'precise' to 'oneiric' is not supported with this tool;更新未完成; 系统字体颜色无法辨识
- 解决Ubuntu自动挂载U盘/SD Card被识别为只读文件系统
- linux(ubuntu) 系统修改/etc/fstab文件后无法进入系统的解决方法
- 挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)
- 今天在虚拟机上用vi 修改 /etc/sudoers 文件,结果 文件系统变为只读!同时sudo 命今不可用
- rman在nfs文件系统上备份报错(NFS file system where the file is created or resides is not mounted with correct )
- 转:Ubuntu 12.04LTS 系统 /etc/default/grub文件详解
- 挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)
- Spring配置文件加载时出现Bean property 'newscontentDAO' is not writable or has an invalid setter method错误的解决