How to Fix “failed to mount /etc/fstab” Error in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. Brian Brian says:

    Your tutorial makes sense, however I as hoping to see you address the issue, what if your system says “cannot cd into /etc/fstab no such directory or file“?

    It is an Ubuntu 14.04 with an ubuntu3.13-107 generic kernel.

    We were having frequent power brownouts.

    • Aaron Kili says:

      @Brian

      This was a practical problem that i faced before, that is why i came up with the solution. Most times you’ll encounter the failed to mount /etc/fstab or Cannot read /etc/fstab: file not found; these are the two most common errors with /etc/fstab file.

      If the file is missing(say accidentally deleted), then you need to recover it, in case you have a backup you can restore the it or else manually add all the necessary auto-mount entries.

  2. Michael says:

    Thanks, I had typed some characters without knowing at the beginning of that file. This happens more often when you’re demoted in from a mobile device, cause you’re unsure of where the cursor is, etc.

    THANK YOU.

  3. newbieTOlinux says:

    Thanks for this, one issue that i had encountered was that /var directory was moved to a different locations thus the system created a new /var directory making the fstab failed.

    • Aaron Kili says:

      @newbieTOlinux

      Yes, i tested /var, and encountered a few errors as well. You probably do not have to delete it, simply mount it into new partition and ensure that every thing works well before deleting.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *