PC shut down during an update now the kernel is not present

it seems to have updated, I have not rebooted and here is the terminal session

 sudo su -                                                                                      ✔ 
[manjaro ~]# manjaro-chroot -a
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.
==> Mounting (ManjaroLinux) [/dev/sda1]
 --> mount: [/mnt]
[manjaro /]# pacman-mirrors -f 5 && pacman -Syyu --overwrite '*'
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  1.021 France         : http://ftp.free.org/mirrors/repo.manjaro.org/repos/
  ..... Taiwan         : http://free.nchc.org.tw/manjaro/
  1.979 Taiwan         : https://mirror.archlinux.tw/Manjaro/
  1.772 Russia         : https://mirror.truenetwork.ru/manjaro/
  0.409 Colombia       : https://edgeuno-bog2.mm.fcix.net/manjaro/
::INFO Writing mirror list
::Colombia        : https://edgeuno-bog2.mm.fcix.net/manjaro/stable
::France          : http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable
::Russia          : https://mirror.truenetwork.ru/manjaro/stable
::Taiwan          : https://mirror.archlinux.tw/Manjaro/stable
::Taiwan          : http://free.nchc.org.tw/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases...
 core                                  164.9 KiB   416 KiB/s 00:00 [####################################] 100%
 extra                                1855.0 KiB  4.24 MiB/s 00:00 [####################################] 100%
 community                               7.6 MiB  8.85 MiB/s 00:01 [####################################] 100%
 multilib                              170.0 KiB  2.27 MiB/s 00:00 [####################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (40) firefox-110.0-0.1  libwpe-1.14.1-1  manjaro-release-22.0.3-1  memtest86+-6.10-1
              mesa-vdpau-22.3.5-1  obs-studio-29.0.2-1  okular-22.12.2-1  openssh-9.2p1-1  pamac-cli-10.4.3-3
              pamac-gtk-10.4.3-3  partitionmanager-22.12.2-1  print-manager-22.12.2-1  python-cairo-1.23.0-3
              python-cryptography-39.0.1-1  python-jaraco.context-4.3.0-1  python-jaraco.text-3.11.1-1
              python-packaging-23.0-1  python-pyqt5-5.15.9-1  python-setuptools-1:67.2.0-1
              python-tenacity-8.2.1-1  python-trove-classifiers-2023.2.8-1  python-websocket-client-1.5.1-1
              python-zipp-3.13.0-1  sdl2_image-2.6.3-1  signal-desktop-6.5.0-1  skanlite-22.12.2-1
              spectacle-22.12.2-1  suitesparse-7.0.1-2  texinfo-7.0.2-2  thunderbird-102.7.2-1
              vulkan-intel-22.3.5-1  webkit2gtk-2.38.4-1  webkit2gtk-4.1-2.38.4-1  wine-8.1-1
              wxwidgets-common-3.2.2-1  wxwidgets-gtk3-3.2.2-1  xf86-video-intel-1:2.99.917+923+gb74b67f0-1
              yakuake-22.12.2-1  zsh-5.9-3  zvbi-0.2.40-1

Total Download Size:     82.92 MiB
Total Installed Size:  1885.22 MiB
Net Upgrade Size:         5.38 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 firefox-110.0-0.1-x86_64               82.9 MiB  9.56 MiB/s 00:09 [####################################] 100%
(40/40) checking keys in keyring                                   [####################################] 100%
(40/40) checking package integrity                                 [####################################] 100%
(40/40) loading package files                                      [####################################] 100%
(40/40) checking for file conflicts                                [####################################] 100%
(40/40) checking available disk space                              [####################################] 100%
warning: could not get file information for usr/lib/thunderbird/distribution/distribution.ini
:: 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 Firefox Distribution Settings
(3/3) Remove Thunderbird Distribution Settings
:: Processing package changes...
( 1/40) upgrading firefox                                          [####################################] 100%
( 2/40) upgrading manjaro-release                                  [####################################] 100%
( 3/40) upgrading memtest86+                                       [####################################] 100%
( 4/40) upgrading mesa-vdpau                                       [####################################] 100%
( 5/40) upgrading obs-studio                                       [####################################] 100%
( 6/40) upgrading okular                                           [####################################] 100%
( 7/40) upgrading openssh                                          [####################################] 100%
( 8/40) upgrading pamac-cli                                        [####################################] 100%
( 9/40) upgrading pamac-gtk                                        [####################################] 100%
(10/40) upgrading partitionmanager                                 [####################################] 100%
(11/40) upgrading print-manager                                    [####################################] 100%
(12/40) upgrading python-cairo                                     [####################################] 100%
(13/40) upgrading python-cryptography                              [####################################] 100%
(14/40) upgrading python-jaraco.context                            [####################################] 100%
(15/40) upgrading python-jaraco.text                               [####################################] 100%
(16/40) upgrading python-packaging                                 [####################################] 100%
(17/40) upgrading python-pyqt5                                     [####################################] 100%
(18/40) upgrading python-trove-classifiers                         [####################################] 100%
(19/40) upgrading python-setuptools                                [####################################] 100%
(20/40) upgrading python-tenacity                                  [####################################] 100%
(21/40) upgrading python-websocket-client                          [####################################] 100%
(22/40) upgrading python-zipp                                      [####################################] 100%
(23/40) upgrading sdl2_image                                       [####################################] 100%
(24/40) upgrading signal-desktop                                   [####################################] 100%
(25/40) upgrading skanlite                                         [####################################] 100%
(26/40) upgrading spectacle                                        [####################################] 100%
(27/40) upgrading suitesparse                                      [####################################] 100%
(28/40) upgrading texinfo                                          [####################################] 100%
(29/40) upgrading thunderbird                                      [####################################] 100%
(30/40) upgrading vulkan-intel                                     [####################################] 100%
(31/40) reinstalling libwpe                                        [####################################] 100%
(32/40) upgrading webkit2gtk                                       [####################################] 100%
(33/40) upgrading webkit2gtk-4.1                                   [####################################] 100%
(34/40) upgrading wine                                             [####################################] 100%
(35/40) upgrading wxwidgets-common                                 [####################################] 100%
(36/40) upgrading wxwidgets-gtk3                                   [####################################] 100%
(37/40) upgrading xf86-video-intel                                 [####################################] 100%
(38/40) upgrading yakuake                                          [####################################] 100%
(39/40) upgrading zsh                                              [####################################] 100%
(40/40) upgrading zvbi                                             [####################################] 100%
ldconfig: file /usr/lib32/libnvidia-glcore.so.390.157 is truncated

ldconfig: file /usr/lib32/libnvidia-glcore.so is truncated

:: Running post-transaction hooks...
( 1/12) Registering binary formats...
  Skipped: Running in chroot.
( 2/12) Reloading system manager configuration...
  Skipped: Running in chroot.
( 3/12) Creating temporary files...
Failed to open file "/sys/devices/system/cpu/microcode/reload": Read-only file system
error: command failed to execute correctly
( 4/12) Arming ConditionNeedsUpdate...
( 5/12) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
( 6/12) Copy Firefox Distribution Settings
( 7/12) Updating fontconfig cache...
( 8/12) Updating 32-bit fontconfig cache...
( 9/12) Updating icon theme caches...
(10/12) Updating the info directory file...
(11/12) Copy Thunderbird Distribution Settings
(12/12) Updating the desktop file MIME type cache...
[manjaro /]# 

ok post also output from:
ldconfig

here it is

[manjaro /]# ldconfig
ldconfig: file /usr/lib32/libnvidia-glcore.so.390.157 is truncated

ldconfig: file /usr/lib32/libnvidia-glcore.so is truncated

[manjaro /]# 

ok, output from:
pacman -Qo /usr/lib32/libnvidia-glcore.so
mhwd -l -li
pacman -Qs nvidia

1 Like
[manjaro /]# pacman -Qo /usr/lib32/libnvidia-glcore.so
mhwd -l -li
pacman -Qs nvidia
/usr/lib32/libnvidia-glcore.so is owned by lib32-nvidia-390xx-utils 390.157-3
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-390xx            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:0ffc) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-390xx            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


local/egl-wayland 2:1.1.11-3
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/lib32-nvidia-390xx-utils 390.157-3
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl-390xx 390.157-1
    NVIDIA NV-CONTROL X extension
local/linux419-nvidia-390xx 390.157-8
    
local/linux515-nvidia-390xx 390.157-16
    
local/mhwd-nvidia 525.89.02-1
    MHWD module-ids for nvidia 525.89.02
local/mhwd-nvidia-390xx 390.157-1
    MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.161.03-2
    MHWD module-ids for nvidia 470.161.03
local/nvidia-390xx-utils 390.157-2
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

reinstall these:

pacman -S lib32-nvidia-390xx-utils nvidia-390xx-utils linux515-nvidia-390xx linux419-nvidia-390xx --overwrite '*'

then rerun this:
mkinitcpio -P && update-grub
and post output from it

1 Like
[manjaro /]# pacman -S lib32-nvidia-390xx-utils nvidia-390xx-utils linux515-nvidia-390xx linux419-nvidia-390xx --overwrite '*'
warning: lib32-nvidia-390xx-utils-390.157-3 is up to date -- reinstalling
warning: nvidia-390xx-utils-390.157-2 is up to date -- reinstalling
warning: linux515-nvidia-390xx-390.157-16 is up to date -- reinstalling
warning: linux419-nvidia-390xx-390.157-8 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (4) lib32-nvidia-390xx-utils-390.157-3  linux419-nvidia-390xx-390.157-8
             linux515-nvidia-390xx-390.157-16  nvidia-390xx-utils-390.157-2

Total Installed Size:  219.01 MiB
Net Upgrade Size:       24.73 MiB

:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring                                     [####################################] 100%
(4/4) checking package integrity                                   [####################################] 100%
(4/4) loading package files                                        [####################################] 100%
(4/4) checking for file conflicts                                  [####################################] 100%
(4/4) checking available disk space                                [####################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/4) reinstalling nvidia-390xx-utils                              [####################################] 100%
xorg configuration symlink valid...
==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.
(2/4) reinstalling lib32-nvidia-390xx-utils                        [####################################] 100%
xorg configuration symlink valid...
(3/4) reinstalling linux515-nvidia-390xx                           [####################################] 100%
depmod: ERROR: failed to load symbols from /lib/modules/5.15.93-1-MANJARO/extramodules/vboxnetflt.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.93-1-MANJARO/extramodules/vboxnetadp.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.93-1-MANJARO/extramodules/vboxdrv.ko.xz: Invalid argument
(4/4) reinstalling linux419-nvidia-390xx                           [####################################] 100%
depmod: ERROR: failed to load symbols from /lib/modules/4.19.272-1-MANJARO/extramodules/vboxnetflt.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/4.19.272-1-MANJARO/extramodules/vboxnetadp.ko.xz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/4.19.272-1-MANJARO/extramodules/vboxdrv.ko.xz: Invalid argument
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
  Skipped: Running in chroot.
(3/7) Reloading device manager configuration...
  Skipped: Running in chroot.
(4/7) Arming ConditionNeedsUpdate...
(5/7) Updating module dependencies...
(6/7) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(7/7) Updating the desktop file MIME type cache...
[manjaro /]# 

also output from:

1 Like
[manjaro /]# mkinitcpio -P && update-grub
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'default'
  -> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64.img
==> Starting build: 4.19.272-1-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: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'fallback'
  -> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64-fallback.img -S autodetect
==> Starting build: 4.19.272-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19-x86_64-fallback.img
==> Image generation successful
==> 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.93-1-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: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> 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.93-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful
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
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-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
[manjaro /]# 

ok, so exit chroot, reboot and see

1 Like

It WORKED it booted up and ITS WORKING. THANKS SO MUCH!

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