Skip to main content

How to fix " [FAILED] Failed to start File System Check on Root Device.You're in emergency mode. After logging in, type "journalctl -xb" to view system logs. "

In linux , sometimes you face booting issues and one of the issues i faced was the error "[FAILED] Failed to start File System Check on Root Device.
You're in emergency mode. After logging in, type "journalctl -xb" to view system logs. "


To solve this error, you need to do the following steps.

1. Make a bootable usb for your linux distro.

2. Boot into the live environment and run blkid command and see where ext4 ( or whatever your file system is ) written in the output and see the first word , it would be like /dev/s-- .

3. Run the command

    sudo fsck (output of step 2)



Hope it will fix your problem.

Comments

Popular posts from this blog

How to fix read-only mode in linux

In linux you can anytime break your system and it happens a lot and you have some problems. One of these most common problem is read-only mode in linux. Here is the solution if you are getting this problem. Step 1 : Know the name of your harddisk.                First of all , you should know the name of your hard-disk.               For that , you can use the command given below.           fdisk -l        You can also know the name by opening Gparted.               Just open Gparted and on upper right corner , your harddisk name will be shown. Step 2 : Fix the error.                         Run the following command in order to fix your error.                               sudo fsck (name of harddrive)      Then , just reboot your system and your problem will be solved. Hope, it will fix your system.