This is the third time that I see this error after updating Ubuntu 22.04 from the software updater (I usually do it on the terminal), and when it asks to reboot. The message says:
/dev/nvme0n1p6: recovering journal
/dev/nvme0n1p6: clean, 386606/15261691 files, 6474386/61035264 blocks
[ 7.217639] snd_hda_intel 0000:17:00.6: no codecs found!
It gets stuck in there and won't boot up.
Software
- Windows 10
- Ubuntu 22.04
Hardware
- AMD Ryzen 9 7900X
- MSI PRO X670-P
- Samsung 970 EVO Plus 1 TB PCIe NVMe M.2
- Gigabyte GeForce GTX 1070Ti
Attempts
So far I have tried:
- run
fsck -f
from the recovery screen on my partitions formatted on EXT4, but I could not as they were mounted and I couldn'tumount
them. - run
fsck -f /dev/nvme0n1pX
(whereX
refers to the same partitions) from a bootable ubuntu, which only got rid of therecovering journal
bit - edit the grub by adding
nouveau.modeset=0
at the end of theLinux
line
None of the above fixed anything. As far as I know this is an issue with the graphic drivers, and I saw in the list of software to update in the updater mentioned at the beginning that were unticked, so they didn't update.
The previous two times it was with different hardware (also a GeForce, but an older one), same version of the OS, and I just decided to ditch the system and reinstall, but this time I'd rather not bother doing it and fix it instead.
Update
I saw another post where there was suggested to set the Linux
entry in the grub to nomodeset
instead of quiet splash
. I did that, and now I can boot Ubuntu. However, now I have no sound and the scroll is not as smooth as it used to be, and I'm not sure if, after turning this off it will boot normally or will just update that entry and come back to the same error.
Update 2
As I suspected, after rebooting it will edit that config and set it back to quiet splash
. I tried to run
sudo apt install nvidia-driver-525 nvidia-dkms-525
But, as said in the installation process, it would ask me for a password after restarting. The problem is that the password didn't match (I typed literally the same, it was just not printing characters).
Can someone please give some advice on how to deal with this?
Thanks!