Solve the Problem of FSTAB file read-only in Linux, and the linuxfstab file is read-only.

Source: Internet
Author: User

Solve the Problem of FSTAB file read-only in Linux, and the linuxfstab file is read-only.

Fault Cause:

After modifying/etc/fstab, mount a swap partition as ext3, so the machine cannot start normally.


Solution:

Enter the root password as prompted to go to the Repair filesystem prompt interface.

Vi/etc/fstab prompt, read-only, that is, no permission to modify.
InputMount-o remount, rw/no space before the comma, must have/This

Remount to read/write mode.

Then vi/etc/fstab finds that it can be modified. After modification is completed, restart and the system is normal.

Mengmeng IT people

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.