Ubuntu 24.04 Black Screen Blinking Underscore [Solved]

Immediate Fix: Regaining Access via TTY

When Ubuntu 24.04 boots to a black screen with a blinking underscore, it usually means the graphical user interface (GUI) failed to load, but the underlying system is running. You can often fix this by accessing the Teletype (TTY) interface.

Press Ctrl + Alt + F3 (or F2 through F6) on your keyboard. This will switch you from the frozen graphical interface to a command-line login prompt.

# Log in with your username and password, then run:
sudo apt update
sudo apt upgrade -y
sudo ubuntu-drivers autoinstall
sudo reboot

If the issue is related to a half-configured package, run this command to repair the installation database:

sudo dpkg --configure -a
sudo apt install -f

Technical Explanation: Why the Blinking Underscore Occurs

The blinking underscore indicates that the GRUB bootloader has successfully handed off control to the Linux kernel, but the kernel cannot initialize the display server (Xorg or Wayland).

In Ubuntu 24.04, this is most commonly caused by a mismatch between the Kernel version and the NVIDIA proprietary drivers, or a failure in the “Kernel Mode Setting” (KMS).

Common Cause Technical Detail
GPU Driver Conflict Incompatible NVIDIA or AMD drivers preventing the GUI from starting.
Full Disk Space The system cannot create temporary files required for the desktop session.
Display Manager Failure GDM3 (Gnome Display Manager) failing to initialize on Wayland.

Troubleshooting Ubuntu 24.04 black screen with blinking underscore.

Alternative Methods: GRUB Recovery and Nomodeset

If you cannot reach the TTY screen, you may need to boot into Recovery Mode or use the “nomodeset” parameter to bypass driver issues temporarily.

Method 1: Using Nomodeset

Restart your computer and hold Shift or tap Esc to bring up the GRUB menu. Highlight ‘Ubuntu’, press ‘e’ to edit, and find the line starting with linux.

Add the word nomodeset after quiet splash. Press Ctrl + X to boot. This forces Ubuntu to use generic video drivers, allowing you to reach the desktop and install the correct drivers.

Method 2: Reinstalling the Desktop Environment

If the system files are corrupted, you might need to force a reinstallation of the Ubuntu desktop package via TTY:

sudo apt install --reinstall ubuntu-desktop
sudo systemctl restart gdm3

Finally, check if your disk is full, which is a frequent “silent” killer of the graphical boot process:

df -h
sudo apt clean