1

Ubuntu 20.04 I did a hard reboot after a Ubuntu hang.

Now the boot does not complete. After the Ubuntu splash screen, it displays:

/dev/nvme0n1p3: clean, 715244/15253504 files, 50064173/61004032 blocks

and a blinking cursor. The cursor continues blinking regardless of how long the computer sits. How can I fix this?

moo
  • 966
ymp
  • 11
  • 2

3 Answers3

0

If you can access GRUB at the start of the boot by pressing Escape or Shift multiple times, then try to boot Ubuntu in recovery mode under Advanced settings. See if that has any change.

If you can't access GRUB, then perhaps consider a fresh install of Ubuntu.

NotTheDr01ds
  • 22,082
0

If this is a laptop or a desktop which you have next to you then follow these steps.

  1. Shut down the device.

  2. Start it again. When you see GRUB menu, press the ‘e’ key on the keyboard before the system starts booting.

  3. In the GRUB boot options, scroll down and locate the line that begins with ‘linux’. In this line move the cursor to the end, right after ‘ro quiet’. Delete everything after that. Change 'ro' to 'rw'. Append the parameter init=/bin/bash

  4. Press Ctrl+x, or F10, to boot.

  5. You will see a root prompt.

:#

then run:

fsck -y /dev/mapper/ubuntu-vg-root

petep
  • 316
0

Restart your PC, this can be done mostly by holding down the Power button for a time. Press Esc, Shift or F10 at startup. If this doesn't work, then: Ctrl - Alt - F2, login and: startx. If this doesn't work, if you still have your Live USB, check if you have "Boot Repair" in Apps. If not, Ctrl-Alt-T and: sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt update sudo apt install -y boot-repair. Start Boot Repair and generate a report, don't need to upload to a pastebin. Read the last lines. They should say what a repair will perform. If you are OK with that, start a "Recommended Repair", which solves a lot of problems. Top right, Power, Reboot. Remove the live USB and Enter. Try again, the blinking cursor should be gone.

Developer
  • 70
  • 9