Linux fstab file modification causes the system to fail to start.

Source: Internet
Author: User

Linux fstab file modification causes the system to fail to start.

It is intended to modify the automatic Mount/dev/sda5 to/u01 in Linux and change it to/dev/sda5/weblogic.

Therefore, the fstab file/u01 was modified to/weblogic, so the tragedy occurred. The Mount error cannot be found at startup. after entering the repair filesystem mode, you want to modify/etc/fstab, the results file is read only, and the process of solving the problem is beginning.

Solution:

1. An error occurred while starting linux. Enter the root account password and enter repair filesystem #. Note that the fstab file cannot be saved and modified when it is fixed.

2. Privilege Escalation to root

3. mount/-o remount

At this time,/etc/fstab can be modified. This step is the core content.

4. Modify the fstab file vi/etc/fstab

If the fstab file breaks down, you can restore it if you have a backup. If not, you can write a copy on your own. The key is to know the partition information and the previous information.

Restoration of Linux fstab file loss

Linux Fstab file recovery

Linux fstab Parameters

Linux boot self-check configuration file fstab becomes read-only and cannot be modified

This article permanently updates the link address:

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.