ubuntu:boot:oh_no_something_has_gone_wrong
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:boot:oh_no_something_has_gone_wrong [2024/09/29 15:37] – peter | ubuntu:boot:oh_no_something_has_gone_wrong [2024/09/29 15:47] (current) – peter | ||
---|---|---|---|
Line 5: | Line 5: | ||
{{: | {{: | ||
+ | ---- | ||
+ | |||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * **sudo apt -f install**: | ||
+ | |||
+ | |||
+ | 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 " | ||
+ | * 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: | ||
+ | |||
+ | <code bash> | ||
+ | sudo amdgpu-install --uninstall | ||
+ | sudo apt purge amdgpu-install | ||
+ | sudo apt autoremove | ||
+ | </ | ||
+ | |||
+ | Then install the last amdgpu-install: | ||
+ | |||
+ | <code bash> | ||
+ | wget https:// | ||
+ | sudo apt install ./ | ||
+ | </ | ||
+ | |||
+ | Then reinstall the cuda toolkit, hip... see: https:// | ||
ubuntu/boot/oh_no_something_has_gone_wrong.1727624253.txt.gz · Last modified: 2024/09/29 15:37 by peter