User Tools

Site Tools


ubuntu:boot:oh_no_something_has_gone_wrong

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntu:boot:oh_no_something_has_gone_wrong [2024/09/29 15:37] peterubuntu:boot:oh_no_something_has_gone_wrong [2024/09/29 15:47] (current) peter
Line 5: Line 5:
 {{:ubuntu:dkms:linux_-_boot_-_problem.png?400|}} {{: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.
 +
 +<code bash>
 +sudo apt -f install
 +sudo dpkg --configure -a
 +sudo apt upgrade
 +</code>
 +
 +<WRAP info>
 +**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...
 +
 +</WRAP>
 +
 +----
 +
 +===== AMD GPU Drivers =====
 +
 +If running an AMD GPU, then reinstall the AMD drivers with **amdgpu-install**.
 +
 +reinstall amdgpu-install first:
 +
 +<code bash>
 +sudo amdgpu-install --uninstall 
 +sudo apt purge amdgpu-install 
 +sudo apt autoremove
 +</code>
 +
 +Then install the last amdgpu-install:
 +
 +<code bash>
 +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
 +</code>
 +
 +Then reinstall the cuda toolkit, hip... see: https://github.com/ROCm/HIP/issues/3521
  
  
ubuntu/boot/oh_no_something_has_gone_wrong.txt · Last modified: 2024/09/29 15:47 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki