Stuck on boot after update and TTY no longer working

Before I start I will specify that I am running a Ryzen 9 5900 and an RTX 3070 ti with Manjaro gnome.

I was recently working on my computer and saw that I had updates pending (default update indicator). In “Add/Remove Software” I just hit apply to all updates and after the update had started I saw something along the lines of a conflict with two versions of my NVIDIA drivers (I use proprietary drivers). I quickly restarted the system and it hung trying to boot for a while. I realised that I should probably roll back the update so I switched to VTY and following linuxconfig (can’t include links in post because this is a brand new account) , I did. Rebooted and nothing changed so I simply undid that with a “sudo pacman -Syu”. I read through the log files (/var/log/*.log) and noticed that under NVIDIA it had “failed to initialise the NVIDIA kernel module” I was reading through the log files and looking around online as to what to do and after making no noticeable changes ctr + alt + Fx stopped working. I have set up a bootable usb of Manjaro and can’t really figure out what to do from here because the vast majority of solutions rely on TTY. Any help would be greatly appreciated.

reboot with USB iso manjaro
open a terminal and browser on this topic

sudo manjaro-chroot -a
mhwd-kernel -li
mhwd -li
inxi -Fza
mkinitcpio -P
exit ( end chroot ) 

give all results please , also if errors occurs on mkinitcpio command

When using manjaro it is suggested to look into update announcements BEFORE you update.

Solutions for temporal restrictions to new community members with rejecting to post clickable links and screenshots/pictures:

can be found in the [HowTo] Provide System Information tutorial.

sudo manjaro-chroot -a:
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/nvme0n1p6]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 mhwd-kernel -li:
 Currently running: 5.15.12-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux513
mhwd -li:
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.12.18               false            PCI


Warning: No installed USB configs!
inxi -Fza:
12System:
  12Kernel 5.15.12-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 11.1.0
    12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=manjaro
    misolabel=MANJARO_GNOME_2121 quiet systemd.show_status=1 driver=free nouveau.modeset=1
    i915.modeset=1 radeon.modeset=1
  12Console N/A 12wm gnome-shell 12Distro Manjaro Linux 12base Arch Linux
12Machine:
  12Type Desktop 12Mobo Micro-Star 12model MAG X570 TOMAHAWK WIFI (MS-7C84) 12v 1.0 12serial <filter>
    12UEFI American Megatrends LLC. 12v 1.70 12date 06/23/2021
12CPU:
  12Info 12model AMD Ryzen 9 5900X 12socket AM4 12bits 64 12type MT MCP 12arch Zen 3 12family 0x19 (25)
    12model-id 0x21 (33) 12stepping 0 12microcode 0xA201016
  12Topology 12cpus 1x 12cores 12 12tpc 2 12threads 24 12smt enabled 12cache 12L1 768 KiB
    12desc d-12x32 KiB; i-12x32 KiB 12L2 6 MiB 12desc 12x512 KiB 12L3 64 MiB 12desc 2x32 MiB
  12Speed (MHz) 12avg 2262 12high 3700 12min/max 2200/4950 12boost enabled 12base/boost 3700/4950 12scaling
    12driver acpi-cpufreq 12governor schedutil 12volts 1.1 V 12ext-clock 100 MHz 12cores 121 2200 122 2200 123 2200
    124 2200 125 2200 126 2200 127 2200 128 2200 129 2200 1210 2200 1211 2200 1212 2200 1213 2200 1214 2200 1215 3700
    1216 2200 1217 2200 1218 2200 1219 2200 1220 2200 1221 2200 1222 2200 1223 2200 1224 2200 12bogomips 177672
  12Flags avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  12Vulnerabilities
  12Type itlb_multihit 12status Not affected
  12Type l1tf 12status Not affected
  12Type mds 12status Not affected
  12Type meltdown 12status Not affected
  12Type spec_store_bypass 12mitigation Speculative Store Bypass disabled via prctl and seccomp
  12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization
  12Type spectre_v2
    12mitigation Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling
  12Type srbds 12status Not affected
  12Type tsx_async_abort 12status Not affected
12Graphics:
  12Device-1 NVIDIA GA104 [GeForce RTX 3070 Ti] 12vendor Palit Microsystems 12driver nouveau 12v kernel
    12bus-ID 2d:00.0 12chip-ID 10de:2482 12class-ID 0300
  12Display 12server X.org 1.21.1.3 12compositor gnome-shell 12driver 12loaded nouveau
    12note n/a (using device driver) 12failed nvidia 12resolution <missing: xdpyinfo>
  12Message Unable to show advanced data. Required tool glxinfo missing.
12Audio:
  12Device-1 NVIDIA GA104 High Definition Audio 12vendor Palit Microsystems 12driver snd_hda_intel
    12v kernel 12bus-ID 2d:00.1 12chip-ID 10de:228b 12class-ID 0403
  12Device-2 AMD Starship/Matisse HD Audio 12vendor Micro-Star MSI 12driver snd_hda_intel 12v kernel
    12bus-ID 2f:00.4 12chip-ID 1022:1487 12class-ID 0403
  12Sound Server-1 ALSA 12v k5.15.12-1-MANJARO 12running yes
  12Sound Server-2 JACK 12v 1.9.20 12running no
  12Sound Server-3 PulseAudio 12v 15.0 12running yes
  12Sound Server-4 PipeWire 12v 0.3.43 12running no
12Network:
  12Device-1 Realtek RTL8125 2.5GbE 12vendor Micro-Star MSI 12driver r8169 12v kernel 12port f000
    12bus-ID 26:00.0 12chip-ID 10ec:8125 12class-ID 0200
  12IF enp38s0 12state down 12mac <filter>
  12Device-2 Intel Wi-Fi 6 AX200 12driver iwlwifi 12v kernel 12bus-ID 28:00.0 12chip-ID 8086:2723
    12class-ID 0280
  12IF wlo1 12state up 12mac <filter>
12Bluetooth:
  12Device-1 Intel AX200 Bluetooth 12type USB 12driver btusb 12v 0.8 12bus-ID 1-4:2 12chip-ID 8087:0029
    12class-ID e001
  12Report rfkill 12ID hci0 12rfk-id 0 12state up 12address see --recommends
12Drives:
  12Local Storage 12total 1.82 TiB 12used 50.17 GiB (2.7%)
  12SMART Message Required tool smartctl not installed. Check --recommends
  12ID-1 /dev/nvme0n1 12maj-min 259:0 12vendor Addlink 12model M.2 PCIE G4x4 NVMe 12size 1.82 TiB
    12block-size 12physical 512 B 12logical 512 B 12speed 63.2 Gb/s 12lanes 4 12type SSD 12serial <filter>
    12rev EGFM13.1 12temp 33.9 C
  12ID-2 /dev/sda 12maj-min 8:0 12type USB 12vendor Generic 12model Flash Disk 12size 3.75 GiB 12block-size
    12physical 512 B 12logical 512 B 12type SSD 12serial <filter> 12rev 8.07
12Partition:
  12ID-1 / 12raw-size 255.5 GiB 12size 250.42 GiB (98.01%) 12used 50.17 GiB (20.0%) 12fs ext4
    12block-size 4096 B 12dev /dev/nvme0n1p6 12maj-min 259:6
  12ID-2 /boot/efi 12raw-size 512 MiB 12size 511 MiB (99.80%) 12used 288 KiB (0.1%) 12fs vfat
    12block-size 512 B 12dev /dev/nvme0n1p5 12maj-min 259:5
12Swap:
  12Alert No swap data was found.
12Sensors:
  12Message No sensor data found. Is lm-sensors configured?
12Info:
  12Processes 467 12Uptime 12m 12wakeups 0 12Memory 31.34 GiB 12used 2.91 GiB (9.3%) 12Init systemd 12v 250
  12tool systemctl 12Compilers 12gcc 11.1.0 12clang 13.0.0 12Packages 1486 12pacman 1481 12lib 354 12flatpak 5
  12Client Unknown Client: systemd 12inxi 3.3.12
mkinitcpio -P:
==> Building image from preset: /etc/mkinitcpio.d/linux513.preset: 'default'
  -> -k /boot/vmlinuz-5.13-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.13-x86_64.img
==> Starting build: 5.13.19-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.13-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux513.preset: 'fallback'
  -> -k /boot/vmlinuz-5.13-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.13-x86_64-fallback.img -S autodetect
==> Starting build: 5.13.19-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.13-x86_64-fallback.img
==> Image generation successful

This kernel has been dropped from all repository’s. Please upgrade to a LTS (Long Term Support) kernel such as 5.15 or 5.10.
These commands should change the kernel to 5.10. (Run from Live USB Stick)

sudo manjaro-chroot -a
mhwd-kernel -i linux510
mhwd-kernel -r linux513
exit

Reboot and you should be running 5.10 and the updates should work again. Next time maybe wait until an update post has been posted and check it.

Things have gotten slightly worse.

After trying to install kernel version 5.15 it gave me the message that it could not reinstall the current kernel. So I downloaded 5.10 and didn’t notice that there was an error saying no targets specified (I took a picture of all output and saw it afterwards, massive oversight on my part). Removed kernel 5.13, rebooted, and then grub refused to started. Now listing the kernel says none are installed but 5.15 is my current kernel. Booted straight into the USB and managed to get grub back up and running (despite only having my motherboard settings as an option and seeing windows and a couple other entries when listing them but that’s the least of my worried right now).

Any way to get around the no targets specified error?

reboot on USB iso manjaro

sudo manjaro-chroot -a
mhwd-kernel -i linux515
mkinitcpio -P
pacman -Syyu
exit ( end-chroot )

after exit , then reboot and press Esc to get Grub ,
and choose 5.15 or 5.10 kernels

Problem is trying to install Linux kernel 5.15 it says you can’t reinstall your current kernel and with 5.10 it starts downloading before throwing “error: no targets specified (use -h for help)”

so we check

sudo manjaro-chroot -a
mhwd-kernel -li
pacman -Syy ( check internet is on )
exit ( end-chroot )

Finally got it working:

MHWD-kernel -i doesn’t work from a chroot environment, apparently, so I had to install it from the live boot in chroot using: sudo pacman -S linux515
That meant grub started working properly and I could boot up into the TTY using ctr+shift+F2
I also installed the linux 5.10 kernel from here using the preferred: sudo mhwd-kernel -i linux 510 so that I could boot up using that kernel remove the 5.15 kernel that I installed using pacman and reinstall it using sudo mhwd-kernel -i linux 515 later.
After that within the TTY I just tried uninstalling and reinstalling the video-nvidia drivers using:
sudo mhwd -r pci video-nvidia and then
sudo mhwd -i pci video-nvidia
It chugged on in the background for a while before finally booting straight into the login page.
Thank you so much to @stephane @ThommoMC and @andreas85 for contributing.

I’ll make sure to keep my kernel up to date and stable and make sure to wait for information to come out on an update before I do apply it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.