Solution to fstab corruption in linux-Linux general technology-Linux technology and application information. For details, refer to the following section. Who knows that the system cannot be entered after the restart and the error "LABLE =/" cannot be explained?
I searched the internet and found an example of the fstab file of FC5.
After careful reading, we can find that there is a small difference between the original RH AS4 and FC5 fstab files:
In AS 4, the root directory is "LABLE = /"
In FC 5, "LABLE =/1" fainted.
Restart the system. After an error occurs, enter the root password and enter rescure mode. Another problem is found:
The file cannot be modified. The fstab file has the read-only permission, and chmod is useless.
Speechless, continue searching.
Find and find the solution:
After permission escalation, reload the file system and grant the read and write permissions:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service