Today, the Ubuntu9.10 system suddenly prompts that the file cannot be written. At first, I thought it was a permission issue. I thought it was possible that I accidentally copied and pasted a command to correct the permission. As a result, the home directory is still not touch, and the permission is clearly writable. Sudo cannot write data either. Run mount and find/is mounted as read-only. So try to restart. After restart, you will find that you cannot access the graphic interface. If a DMA error is prompted, you can only open the diagnostic SHELL. Run the mount command again and find/still mounted.
When it is used today, the Ubuntu 9.10 system suddenly prompts that the file cannot be written.
At first, I thought it was a permission issue. I thought it was possible that I accidentally copied and pasted a command to correct the permission. As a result, the home directory is still not touch, and the permission is clearly writable. Sudo cannot write data either.
Run mount and find/is mounted as read-only. So try to restart.
After restart, you will find that you cannot access the graphic interface. If a DMA error is prompted, you can only open the diagnostic SHELL.
Run mount again and find that/is still mounted as read-only. Modify/etc/fstab and prompt the read-only file system, w! Also failed.
Run:
Mount/dev/sda1/-o rw, remount
Finally, you can write it, modify/etc/fstab, change-error = remount-ro in the row of the mounted/to rw, and restart.
After the restart, the graphic interface still cannot be started, and the file system is still read-only.
At this time, the brain opened a small gap, input exit, and then a bunch of error prompts. There is an fsck error. I want to execute fsck again to see if the error can be repeated. So:
Fsck/
Many inode errors are prompted soon. Select y to fix the problem. Finally, the system prompts you to restart. So:
Reboot
The system is successfully started. Then I changed the content of/etc/fstab to the original one, and everything went back to normal.
Then, I found that some people had the same error, but it was an old post of 01 years... Orz