====== Ubuntu - Boot - Oh no! Something has gone wrong ======
When booting, this error messages is shown on a white screen.
{{:ubuntu:dkms:linux_-_boot_-_problem.png?400|}}
----
To Fix
Hit **Ctrl+Alt+F3** to switch to another Virtual Terminal, and try to fix any broken packages.
sudo apt -f install
sudo dpkg --configure -a
sudo apt upgrade
**NOTE:**
* **sudo apt -f install**: Attempt to fix a system with broken dependencies.
If CTRL-ALT-F3 does not work then boot into root shell from Grub:
* Hold down shift key when booting up.
* This should show the Grub boot menu.
* Select one of the "Recovery" options.
* Then select Networking, to enable networking.
* Then select root, to log into a root shell.
* Then install the AMD GPU Drivers...
----
===== AMD GPU Drivers =====
If running an AMD GPU, then reinstall the AMD drivers with **amdgpu-install**.
reinstall amdgpu-install first:
sudo amdgpu-install --uninstall
sudo apt purge amdgpu-install
sudo apt autoremove
Then install the last amdgpu-install:
wget https://repo.radeon.com/amdgpu-install/6.2/ubuntu/jammy/amdgpu-install_6.2.60200-1_all.deb
sudo apt install ./amdgpu-install_6.2.60200-1_all.deb sudo apt update
Then reinstall the cuda toolkit, hip... see: https://github.com/ROCm/HIP/issues/3521