13

A couple hours ago tried to start my Ubuntu laptop after a few months without using it and I found myself with this:

When I boot Ubuntu I get up to this screenenter image description here

I'm far from understanding what's exactly happening here. Does anyone know how to troubleshoot this?

7
  • 1
    type journalctl -xb and see what it has to say! Nov 23, 2018 at 23:06
  • Added a screenshot of the part where it mentions the same error. Does it help?
    – Pablo
    Nov 23, 2018 at 23:16
  • 3
    run this command fsck /dev/sda2 and accept all options Nov 23, 2018 at 23:25
  • Is it back up ? Nov 23, 2018 at 23:30
  • 1
    It's working! yes!
    – Pablo
    Nov 23, 2018 at 23:32

2 Answers 2

17

My guess for your situation would be that environmental changes have affected you HDD. So from the error message from journalctl -xb which points to file inconsistencies and the instruction to run manual file check. Use the fsck command to correct this error:

fsck /dev/sda2

And simply accept all the options give during the process. Then reboot you system.

3
  • 1
    How to find out which sda or sdb is it in my case? Sep 24, 2019 at 12:53
  • I think the error message should tell you which it is! @sashkolykhenko Sep 24, 2019 at 16:14
  • Well I never found it in the message, I brute-forced through all drives instead :) Sep 25, 2019 at 19:34
2

Similar to the answer before https://askubuntu.com/a/1095536/676490

In my case helped:

sudo fsck /dev/sda1
sudo fsck /dev/sda2
sudo fsck /dev/sda3
sudo fsck /dev/sda4

And I accepted everthing with y (yes)

If you want to accept all automatically you can use ihmo the -y-flag:

sudo fsck -y /dev/sda4

or simmilar

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .