Manjaro KDE not able to boot - Stuck on loading screen

Ok, so with the first command, everything went well and now the

ldconfig

returns nothing.

But, both

mhwd-kernel -i linux515 --force

and

mhwd-kernel -i linux60 --force

return this,

Error: Invalid argument.
Please choose one of the available kernels:
   * linux419
   * linux510
   * linux515
   * linux54
   * linux60
   * linux61
   * linux515-rt
   * linux60-rt

it should work, so try this instead:
mhwd-kernel -f -i linux515
still getting the invalid error?

1 Like

Now it says,

Error: Invalid argument (use -h for help).

i dont know how to use the mhwd tool for reinstalling, it just doesnt work… so lets use pacman:
pacman -S linux515 linux60
if there are no errors, exit chroot:
exit
reboot

This kind of worked, but returned a bunch of errors…

warning: linux515-5.15.85-1 is up to date -- reinstalling
warning: linux60-6.0.15-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) linux515-5.15.85-1  linux60-6.0.15-1

Total Installed Size:  274.28 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                                                                      [#####################################################################] 100%
(2/2) checking package integrity                                                                                    [#####################################################################] 100%
(2/2) loading package files                                                                                         [#####################################################################] 100%
(2/2) checking for file conflicts                                                                                   [#####################################################################] 100%
(2/2) checking available disk space                                                                                 [#####################################################################] 100%
:: Running pre-transaction hooks...
(1/3) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/3) Remove upgraded DKMS modules
(3/3) Save Linux kernel modules
:: Processing package changes...
(1/2) reinstalling linux515                                                                                         [#####################################################################] 100%
(2/2) reinstalling linux60                                                                                          [#####################################################################] 100%
:: Running post-transaction hooks...
(1/7) Updating module dependencies...
depmod: ERROR: failed to load symbols from /lib/modules/5.15.85-1-MANJARO/extramodules/nvidia-peermem.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.85-1-MANJARO/extramodules/nvidia-drm.ko.xz: Invalid argument
(2/7) Install DKMS modules
==> ERROR: Missing 6.0.15-1-MANJARO kernel headers for module deepin-anything/5.0.18.
==> ERROR: Missing 5.15.85-1-MANJARO kernel headers for module deepin-anything/5.0.18.
(3/7) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.85-1-MANJARO
  -> Running build hook: [base]
==> ERROR: Hook /usr/lib/initcpio/install/udev has no build function
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [bootsplash-arch]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.85-1-MANJARO
  -> Running build hook: [base]
==> ERROR: Hook /usr/lib/initcpio/install/udev has no build function
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [bootsplash-arch]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> Starting build: 6.0.15-1-MANJARO
  -> Running build hook: [base]
==> ERROR: Hook /usr/lib/initcpio/install/udev has no build function
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [bootsplash-arch]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.0-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> Starting build: 6.0.15-1-MANJARO
  -> Running build hook: [base]
==> ERROR: Hook /usr/lib/initcpio/install/udev has no build function
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [bootsplash-arch]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.0-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(4/7) Updating Kernel initcpios for Nvidia-DRM...
(5/7) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(6/7) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.0-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.0-x86_64.img
Found initrd fallback image: /boot/initramfs-6.0-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
(7/7) Restore Linux kernel modules

==> Warning:
         -> This computer hasn't been restarted for a while.
         -> You are running an old kernel. In order to use a
         -> new version of the kernel, please restart your
         -> computer as soon as possible.

it looks like pacman didnt pull all the dependencies like the mhwd tool would… just to be sure, lets uninstall the kernels, and install them again using the mhwd:
mhwd-kernel -r linux515
mhwd-kernel -r linux60
install them again:
mhwd-kernel -i linux515
mhwd-kernel -i linux60

1 Like

Removing linux515 returned some errors,

checking dependencies...
:: base optionally requires linux: bare metal support

Packages (3) linux515-5.15.85-1  linux515-nvidia-525.60.11-6  linux515-r8168-8.050.03-33

Total Removed Size:  106.89 MiB

:: Do you want to remove these packages? [Y/n] y
:: Running pre-transaction hooks...
(1/2) Removing linux initcpios...
(2/2) Remove DKMS modules
:: Processing package changes...
(1/3) removing linux515-r8168                                                                                       [#####################################################################] 100%
depmod: ERROR: failed to load symbols from /lib/modules/5.15.85-1-MANJARO/extramodules/nvidia-peermem.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.85-1-MANJARO/extramodules/nvidia-drm.ko.xz: Invalid argument
(2/3) removing linux515-nvidia                                                                                      [#####################################################################] 100%
depmod: ERROR: failed to load symbols from /lib/modules/5.15.85-1-MANJARO/extramodules/nvidia-peermem.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.85-1-MANJARO/extramodules/nvidia-drm.ko.xz: Invalid argument
(3/3) removing linux515                                                                                             [#####################################################################] 100%
:: Running post-transaction hooks...
(1/4) Updating module dependencies...
(2/4) Updating Kernel initcpios for Nvidia-DRM...
(3/4) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.0-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.0-x86_64.img
Found initrd fallback image: /boot/initramfs-6.0-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Should I ignore them and proceed with the rest?

yes proceed, then post output from:
pacman -Qs 'nvidia|dkms'
mhwd -l -li

Running,

mhwd-kernel -i linux515

returned this,

: Synchronizing package databases...
 core                                                                                   160.3 KiB   255 KiB/s 00:01 [#####################################################################] 100%
 extra                                                                                 1829.0 KiB  2.12 MiB/s 00:01 [#####################################################################] 100%
 community                                                                                7.5 MiB  4.10 MiB/s 00:02 [#####################################################################] 100%
 multilib                                                                               166.4 KiB  1513 KiB/s 00:00 [#####################################################################] 100%
error: no targets specified (use -h for help)

Did you mean to skip theese,

mhwd-kernel -i linux515
mhwd-kernel -i linux60

and run theese directly?

pacman -Qs 'nvidia|dkms'
mhwd -l -li

and installing linux60 went without any issues?

Nope, same result.

manjaro should do something with their mhwd tool, this is not the first time im seeing these issues using mhwd-kernel in chroot…
install only the 5.15:
pacman -S linux515 linux515-nvidia
then post output from the 2 commands

I really have to thank you though for trying… I really appreciate it.

The command returned this,

:: Synchronizing package databases...
 core                                                                                   160.3 KiB   270 KiB/s 00:01 [#####################################################################] 100%
 extra                                                                                 1829.0 KiB  2.14 MiB/s 00:01 [#####################################################################] 100%
 community                                                                                7.5 MiB  4.20 MiB/s 00:02 [#####################################################################] 100%
 multilib                                                                               166.4 KiB  1555 KiB/s 00:00 [#####################################################################] 100%
error: no targets specified (use -h for help)
sh-5.1# pacman -S linux515 linux515-nvidia
resolving dependencies...
looking for conflicting packages...

Packages (2) linux515-5.15.85-1  linux515-nvidia-525.60.11-6

Total Installed Size:  155.89 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                                                                      [#####################################################################] 100%
(2/2) checking package integrity                                                                                    [#####################################################################] 100%
(2/2) loading package files                                                                                         [#####################################################################] 100%
(2/2) checking for file conflicts                                                                                   [#####################################################################] 100%
error: failed to commit transaction (conflicting files)
linux515-nvidia: /usr/lib/modules/extramodules-5.15-MANJARO/nvidia-drm.ko.xz exists in filesystem
linux515-nvidia: /usr/lib/modules/extramodules-5.15-MANJARO/nvidia-modeset.ko.xz exists in filesystem
linux515-nvidia: /usr/lib/modules/extramodules-5.15-MANJARO/nvidia-peermem.ko.xz exists in filesystem
linux515-nvidia: /usr/lib/modules/extramodules-5.15-MANJARO/nvidia-uvm.ko.xz exists in filesystem
linux515-nvidia: /usr/lib/modules/extramodules-5.15-MANJARO/nvidia.ko.xz exists in filesystem
linux515-nvidia: /usr/share/licenses/linux515-nvidia/LICENSE exists in filesystem
Errors occurred, no packages were upgraded.

you have also these errors: exists in filesystem - use overwrite:
pacman -S linux515 linux515-nvidia --overwrite '*'
maybe the exist in file system errors are causing the mhwd not working properly :thinking:

So now things seem to have moved a bit forward, but still a couple of errors,

resolving dependencies...
looking for conflicting packages...

Packages (2) linux515-5.15.85-1  linux515-nvidia-525.60.11-6

Total Installed Size:  155.89 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                                                                                      [#####################################################################] 100%
(2/2) checking package integrity                                                                                    [#####################################################################] 100%
(2/2) loading package files                                                                                         [#####################################################################] 100%
(2/2) checking for file conflicts                                                                                   [#####################################################################] 100%
(2/2) checking available disk space                                                                                 [#####################################################################] 100%
:: Processing package changes...
(1/2) installing linux515                                                                                           [#####################################################################] 100%
Optional dependencies for linux515
    wireless-regdb: to set the correct wireless channels of your country [installed]
(2/2) installing linux515-nvidia                                                                                    [#####################################################################] 100%
:: Running post-transaction hooks...
(1/6) Updating module dependencies...
(2/6) Install DKMS modules
==> ERROR: Missing 5.15.85-1-MANJARO kernel headers for module deepin-anything/5.0.18.
(3/6) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.85-1-MANJARO
  -> Running build hook: [base]
==> ERROR: Hook /usr/lib/initcpio/install/udev has no build function
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [bootsplash-arch]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.85-1-MANJARO
  -> Running build hook: [base]
==> ERROR: Hook /usr/lib/initcpio/install/udev has no build function
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [bootsplash-arch]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(4/6) Updating Kernel initcpios for Nvidia-DRM...
(5/6) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(6/6) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

post the outputs from the 2 commands + output from this:
cat /etc/mkinitcpio.conf

You mean these two?

pacman -S linux515 linux515-nvidia --overwrite '*'

it’s the above mentioned output.

This,

cat /etc/mkinitcpio.conf

returned this,

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=""

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES="/crypto_keyfile.bin"

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap consolefont encrypt openswap resume filesystems fsck bootsplash-arch"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
#COMPRESSION="zstd"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

no these:

The first one returned this,

local/deepin-anything-dkms 5.0.18-1
    Deepin Anything file search tool
local/dkms 3.0.9-1
    Dynamic Kernel Modules System
local/egl-wayland 2:1.1.11-2
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/lib32-nvidia-utils 525.60.11-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 525.60.11-4
    NVIDIA NV-CONTROL X extension
local/linux515-nvidia 525.60.11-6 (linux515-extramodules)
    NVIDIA drivers for linux
local/mhwd-nvidia 525.60.11-2
    MHWD module-ids for nvidia 525.60.11
local/mhwd-nvidia-390xx 390.157-1
    MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.161.03-1
    MHWD module-ids for nvidia 470.161.03
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-utils 525.60.11-2
    NVIDIA drivers utilities

and the second one,

Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
         network-r8168            2016.04.20                true            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!
> 0000:04:00.1 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0302:10de:139a) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2021.11.26               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
    video-nvidia-390xx            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:00:02.0 (0300:8086:0416) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


looks ok to me, so exit chroot, reboot and see if you can boot normally