How can I recover a system which fails to reboot following a mistake editing /etc/fstab?

Solution Unverified - Updated -

Issue

How can I recovery /etc/fstab if I made some mistake when editing it and system can not boot up?

For example, I modify /etc/fstab, after system reboot, it can not mount some of the filesystems successfully and enter in "repair mode" like below:

linux err.JPG

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.