Repair Ubuntu File System using fsck manually

Anupama Sinha
2 min readJan 23, 2021

While booting up your Ubuntu or any other Linux OS, you may end up with below screen.

There are n-number of reasons for the same. Let me share a few:

  1. The reason I faced. I have a dual OS — Windows & Ubuntu. Windows took an update and restarted. But, during the boot Ubuntu takes precedence if choice is not provided which one to boot first. So, that’s the reason for error.
  2. Sometimes, multiple hard re-boots also crashes the filesystem.

Fear not, you have an easy way to tide through this. Just use fsck(File System Check) manually. This helps you check the consistency of file system and repair it if possible.

So, the command would be : fsck /dev/nvme0n1p6 [Root errored filesystem place]. Then enter y/yes/a(yes to all) a few times accordingly. And then you would see something like below.

Once, this is complete, hard re-boot your OS. And back to happy world again with below screen.

Enjoy guys!!! Will be back with another post yet another time.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Anupama Sinha
Anupama Sinha

Written by Anupama Sinha

0 Followers

Coder, Writer & Traveler

No responses yet

Write a response