Powering on your desktop or laptop running Ubuntu only to be greeted by a completely frozen, blank purple screen (the default GRUB/Plymouth background) without a login prompt or desktop interface indicates a boot stall. When Ubuntu freezes at the purple screen, the Linux kernel has loaded, but the system has encountered a critical failure when initialising display drivers, mounting root partitions, or starting the display manager (GDM3 or LightDM). This issue frequently strikes after running system updates, installing proprietary NVIDIA graphics drivers, or configuring dual-boot partitions.
Why Does Ubuntu Freeze on the Purple Screen?
During the transition from the GRUB bootloader to the user graphical session, several subsystems must initialise cleanly:
- Graphics Driver and Kernel Mode Setting (KMS) Conflicts: Incompatibilities between the open-source Nouveau driver and NVIDIA graphics hardware, or outdated AMDGPU kernel modules.
- Corrupted Display Manager (GDM3 / LightDM): Crashes in GNOME Display Manager preventing the graphical greeter from launching.
- File System Inconsistencies: Unclean shutdowns leaving root partitions (
/) in a dirty state requiring manual filesystem checks. - Insufficient Disk Space: A full root partition (100% disk usage) preventing X11 or Wayland from creating temporary socket files in
/tmp. - ACPI and Power Management Mismatches: Incompatible ACPI power states on modern laptop motherboards causing kernel hangs during hardware initialization.
Step 1: Boot Using the nomodeset Parameter
The nomodeset parameter instructs the Linux kernel not to load video drivers until X is running, bypassing early graphics initialization hangs.
- Reboot your computer. If you have a single operating system, press and hold the Shift key (or repeatedly tap Esc on UEFI systems) immediately after the manufacturer logo appears to reveal the GRUB menu.
- Highlight the default Ubuntu entry and press the e key to edit boot parameters.
- Use the arrow keys to locate the line starting with
linux(usually ending withquiet splash). - Add
nomodesetimmediately afterquiet splash:linux /boot/vmlinuz-... root=UUID=... ro quiet splash nomodeset - Press Ctrl + X (or F10) to boot with the temporary parameter.
- If Ubuntu boots successfully to the desktop, proceed to Step 3 to install stable proprietary graphics drivers.
Step 2: Access Recovery Mode and Run Root Maintenance
If nomodeset does not bypass the hang, Ubuntu’s built-in Recovery Mode provides low-level maintenance utilities.
- In the GRUB menu, select Advanced options for Ubuntu.
- Choose the entry ending with (recovery mode).
- From the Recovery Menu, use the arrow keys to select fsck and press Enter. This will check and repair all mounted file systems.
- Select clean to free up disk space by clearing accumulated APT packages.
- Select root to drop to a root shell prompt. Remount the filesystem with write permissions:
mount -o remount,rw /
Step 3: Purge and Reinstall Proprietary NVIDIA Drivers
NVIDIA kernel module mismatches following Ubuntu kernel updates are the leading cause of purple screen lockups.
- In the root recovery shell (or after booting with
nomodeset), purge all existing NVIDIA packages:sudo apt-get purge "*nvidia*" - Update your package lists:
sudo apt update - Query the system for recommended certified driver packages:
ubuntu-drivers devices - Automatically install the recommended driver branch:
sudo ubuntu-drivers autoinstall - Reboot your computer:
sudo reboot
Step 4: Reconfigure the Display Manager (GDM3 / LightDM)
If the display manager daemon is corrupted, reconfiguring it restores the graphical login greeter.
- Open a virtual terminal by pressing
Ctrl + Alt + F3(or from recovery shell). - Log in with your Ubuntu username and password.
- Reinstall and reconfigure the GNOME Display Manager:
sudo apt install --reinstall gdm3 sudo dpkg-reconfigure gdm3 - Restart the display service:
sudo systemctl restart gdm3
Step 5: Verify Disk Space and Free Up Root Storage
If your disk is completely full, the graphical session will fail to start.
- Check available disk space in the terminal:
df -h / - If Use% shows 100%, remove old kernels and system journal logs:
sudo apt autoremove --purge sudo journalctl --vacuum-size=100M sudo rm -rf /tmp/* - Reboot to enjoy a clean, reliable graphical desktop startup.
Using GRUB boot parameters and repairing display managers eliminates purple screen lockups and ensures Ubuntu boots reliably to your desktop.