Hello
apologies if I’m still doing this incorrectly, please bear with me
I put my computer into hibernate during an update and when I tried opening it up it again I got a message saying something to the effect error /boot/vmlinuz-6-x86_64 not found. I followed the instructions I got from this thread. I essentially ran a chroot, pacman syu and a update-grub from an iso.
This solved the error however the system still wouldn’t get passed the loading screen. I ran an fsck on the partition because I got a different error dev/sdb3: UNEXPECTED INCONSISTENCY: RUN fsck manually, picture below.
I’m not sure if these are relevant but this is what I got when I ran a journalctl
Apr 02 17:32:27 manjaro kernel: microcode: microcode updated early to revision 0xa6, date = 2022-06-28
Apr 02 17:32:27 manjaro kernel: Linux version 6.1.1-1-MANJARO (builduser@fv-az191-932) (gcc (GCC) 12.2.0, GNU>
Apr 02 17:32:27 manjaro kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC m>
Apr 02 17:32:27 manjaro kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and >
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
Apr 02 17:32:27 manjaro kernel: x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
Apr 02 17:32:27 manjaro kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Apr 02 17:32:27 manjaro kernel: x86/fpu: xstate_offset[5]: 832, xstate_sizes[5]: 64
Apr 02 17:32:27 manjaro kernel: x86/fpu: xstate_offset[6]: 896, xstate_sizes[6]: 512
Apr 02 17:32:27 manjaro kernel: x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024
Apr 02 17:32:27 manjaro kernel: x86/fpu: xstate_offset[9]: 2432, xstate_sizes[9]: 8
Apr 02 17:32:27 manjaro kernel: x86/fpu: Enabled xstate features 0x2e7, context size is 2440 bytes, using 'co>
Apr 02 17:32:27 manjaro kernel: signal: max sigframe size: 3632
Apr 02 17:32:27 manjaro kernel: BIOS-provided physical RAM map:
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x0000000000100000-0x000000003fd98fff] usable
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x000000003fd99000-0x0000000040698fff] reserved
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x0000000040699000-0x00000000424aefff] usable
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x00000000424af000-0x000000004287efff] type 20
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x000000004287f000-0x00000000442fefff] reserved
Apr 02 17:32:27 manjaro kernel: BIOS-e820: [mem 0x00000000442ff000-0x0000000044b2efff] ACPI NVS
dated early to revision 0xa6, date = 2022-06-28
ANJARO (builduser@fv-az191-932) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP PREEMPT_DYNAMIC Wed D>
E=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=manjaro misolabel=MANJARO_KDE_220 quiet syst>
n: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
VE feature 0x001: 'x87 floating point registers'
VE feature 0x002: 'SSE registers'
VE feature 0x004: 'AVX registers'
VE feature 0x020: 'AVX-512 opmask'
VE feature 0x040: 'AVX-512 Hi256'
VE feature 0x080: 'AVX-512 ZMM_Hi256'
VE feature 0x200: 'Protection Keys User registers'
2]: 576, xstate_sizes[2]: 256
5]: 832, xstate_sizes[5]: 64
6]: 896, xstate_sizes[6]: 512
7]: 1408, xstate_sizes[7]: 1024
9]: 2432, xstate_sizes[9]: 8
features 0x2e7, context size is 2440 bytes, using 'compacted' format.
ze: 3632
RAM map:
00000000000-0x000000000009efff] usable
0000009f000-0x00000000000fffff] reserved
00000100000-0x000000003fd98fff] usable
0003fd99000-0x0000000040698fff] reserved
00040699000-0x00000000424aefff] usable
000424af000-0x000000004287efff] type 20
0004287f000-0x00000000442fefff] reserved
000442ff000-0x0000000044b2efff] ACPI NVS
I would appreciate any help, thanks in advance
Hello,
That is the perfect recipe to sabotage your system. Is equivalent with falling asleep while driving a car.
After finishing the update from chroot-ed system and running the fsck on your installed root partition with it unmounted, you still can’t boot your system?
1 Like
Welcome to the forum!
Don’t Do That™!
That’s because the new kernels and initcpio
s are only installed in /boot
at the end of the update process.
Anyway, see this HowTo below.
Difficulty: ★★☆☆☆
So you couldn’t wait until the update process had completed and you went for the reset/power button, didn’t you? And now you’re getting the message that you don’t have a kernel installed. Well, you’re not the only one — we’re seeing it happen all the time.
So, here’s how to fix it, you impatient n00b.
If you don’t happen to have a recent Manjaro installer USB/DVD/CD handy, direct your browser to this wonderful page , download…
1 Like
No, it hangs on the loading screen
You could boot up any other linux system or use the one you installed from
and run the filesystem check on that drive partition from there
if that is what prevents your machine to boot up.
I think I broke it beyond repairs
[manjaro /]# pacman -Syyu
pacman: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
from chroot run:
pacman -S zstd lib32-zstd --overwrite '*'
then update:
pacman-mirrors --fasttrack 5 && pacman -Syyu
if there were no errors, post output from:
mhwd-kernel -li
Hello,
Thank you for you assistance. My apologies for not being able to respond sooner, so this the output I get
pacman -S zstd lib32-zstd --overwrite '*'
pacman: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
post output from:
pacman -Qm
and do you use manjaro-chroot -a to chroot? if yes post output from it too
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/sdc3]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
--> mount: [/mnt/home]
pacman -Qm
pacman: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
I don’t know if this is of any help
lsblk -l
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 29.7M 1 loop
loop1 7:1 0 896.5M 1 loop
loop2 7:2 0 1.9G 1 loop
loop3 7:3 0 739.3M 1 loop
sda 8:0 0 931.5G 0 disk
sda1 8:1 0 260M 0 part
sda2 8:2 0 16M 0 part
sda3 8:3 0 930.2G 0 part
sda4 8:4 0 1G 0 part
sdb 8:16 1 3.8G 0 disk
sdb1 8:17 1 3.6G 0 part
sdb2 8:18 1 4M 0 part
sdc 8:32 0 1.8T 0 disk
sdc1 8:33 0 512M 0 part /boot/efi
sdc2 8:34 0 9.8G 0 part
sdc3 8:35 0 53.7G 0 part /
sdc4 8:36 0 1.8T 0 part /home
ok so exit chroot:
exit
install this:
sudo pacman -S arch-install-scripts
then mount this:
sudo mount /dev/sdc3 /mnt
and reinstall pacman + zstd:
sudo pacstrap -i /mnt pacman zstd lib32-zstd --overwrite '*'
if there were no errors, unmount:
sudo umount /dev/sdc3 /mnt
chroot again, and rerun update again:
pacman-mirrors --fasttrack 5 && pacman -Syyu
if there are errors post them here, if not, post output from:
mhwd-kernel -li
sudo mount /dev/sdc3/mnt ✔ 3m 49s
mount: /dev/sdc3/mnt: can't find in /etc/fstab.
you have a typo there, the correct command is:
sudo mount /dev/sdc3 /mnt
and not:
sudo mount /dev/sdc3/mnt
[manjaro /]# pacman-mirrors --fasttrack 5 && pacman -Syyu
::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
3.618 Poland : https://repo.skni.umcs.pl/manjaro/
2.528 Germany : https://mirror.netcologne.de/manjaro/
..... Germany : http://ftp.tu-chemnitz.de/pub/linux/manjaro/
2.231 Global : https://mirrors.manjaro.org/repo/
..... Sweden : https://mirror.zetup.net/manjaro/
::INFO Writing mirror list
::Global : https://mirrors.manjaro.org/repo/stable
::Germany : https://mirror.netcologne.de/manjaro/stable
::Poland : https://repo.skni.umcs.pl/manjaro/stable
::Sweden : https://mirror.zetup.net/manjaro/stable
::Germany : http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
pacman: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
so try to reinstall it:
pacman -S krb5 lib32-krb5 --overwrite '*'
if no errors continue with the commands
no errors, and only one kernel. I use to have linux60 and 61
mhwd-kernel -li 127 ✘ 1m 25s
Currently running: 6.1.1-1-MANJARO (linux61)
The following kernels are installed in your system:
* linux61
so reinstall it:
pacman -S linux61
if there were no errors, exit chroot and reboot
Hello again,
apologies for not closing this thread. I am however still stuck, I’ve had a busy week and have not been able to fully focus on fixing the problem.
The “libgssapi_krb5.so.2” is not found when I’m in chroot
[manjaro /]# ldd /usr/bin/pacman
linux-vdso.so.1 (0x00007fff10b67000)
libalpm.so.13 => /usr/lib/libalpm.so.13 (0x00007fca070f2000)
libarchive.so.13 => /usr/lib/libarchive.so.13 (0x00007fca07028000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fca06e41000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fca06800000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007fca06d96000)
libgpgme.so.11 => /usr/lib/libgpgme.so.11 (0x00007fca06d40000)
libacl.so.1 => /usr/lib/libacl.so.1 (0x00007fca06d35000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fca06d0a000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fca06cd7000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007fca06730000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fca06cb5000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fca06ca2000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fca06c86000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fca0717b000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007fca06c5a000)
libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007fca0670e000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007fca066cc000)
libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007fca066b8000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x00007fca06618000)
libgssapi_krb5.so.2 => not found
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007fca0660a000)
libassuan.so.0 => /usr/lib/libassuan.so.0 (0x00007fca065f5000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007fca065cf000)
libunistring.so.5 => /usr/lib/libunistring.so.5 (0x00007fca06415000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007fca063f2000)
which is preventing me from running the needed update.
Thank you for the help so far, I would appreciate anymore if it’s available