0

On bootup, filesystem check occurs and it stops at 61% and I am redirected to a page with the message you are in the emergency mode. I don't know what to do next.

This is the message that I get at the screen

You are in emergency mode. After logging in, type ....... 
Press Enter for maintenance
(Or press ctrl+D to continue):

But when I press Ctrl+D it again directs me back to the same screen.

Kulfy
  • 18,154
ujjwal gupta
  • 3
  • 1
  • 3

2 Answers2

1

To perform a manual fsck...

For 17.10 or older...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

For 18.04 or newer...

  • boot to a Ubuntu Live DVD/USB
  • open a terminal window
  • type sudo fdisk -l
  • identify the /dev/XXXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Update #1:

Since you have a separate /home, do the following...

  • boot to a Ubuntu Live DVD/USB
  • open a terminal window
  • type the following commands...
    • sudo fsck -f /dev/sda4
    • sudo fsck -f /dev/sda8
heynnema
  • 73,649
0

Reboot your system. From the grub menu, choose the Recovery mode option. From there do a manual fsck. fsck /dev/[root directory]. For example, if your root directory is sda1 , your command should look like : fsck /dev/sda1 If a prompt appears, just press 'y'. Once it completes, resume the normal boot.