3

My ubuntu system hangs on the startup. It hangs on [OK] items like usual on boot. Interestingly, I am able to ssh onto this machine, but the boot never finishes and login screen doesn't appear. What should I do to debug the problem?

1 Answers1

4

Since you can log in to the system, you can use systemctl to find any units that are hanging or failed to start correctly. For example:

systemctl list-units --state activating,reloading,failed

What you do next depends on the specific units that are having a problem. In general you would look at their journal entries/logs to see if a problem is obvious.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972