我在VMware建了一个CentOS6.5系统,许久不用忘记了密码,只得进入单用户模式修改密码。以下为我修改密码的过程和遇到问题的处理方法:
- [root@localhost /]# touch ss
touch: cannot touch `ss': Read-only file system
[root@localhost /]# mkdir aaa
mkdir: cannot create directory `aaa': Read-only file system
也试了广为流传的解决方法,如下
[root@localhost /]# mount -o remount,rw /
mount: cannot remount block device /dev/mapper/VolGroup-lv_root read-write, is write-protected - 成功解决问题。