You are not logged in.

#1 2022-02-17 20:12:50

Degr
Member
Registered: 2021-08-05
Posts: 23

[SOLVED] Missing vmlinuz led to system half breaking

I just updated my system, saw that there's a new update for the kernel and decided to reboot, now after this happening a couple of weeks ago i have a fear of rebooting in case this thing happens again and it just did. I use the lts kernel and when I tried to boot using it i got a nice vmlinuz file missing error so i went back and tried to boot via the regular kernel, i managed to boot into sddm perfectly fine, but then when I tried to continue to the kde environment it took way longer than expected to boot into and it's almost completely broken, once again.

After downgrading the kernel to the version I was using before and doing

 sudo mkinitcpio -P 

and trying to boot in using the LTS kernel I'd just get stuck on loading initial ramdisk without actually booting in.

output of

 LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' > broken_packages.txt 2>&1 
 
accountsservice: 294 total files, 1 altered file
audit: 199 total files, 8 altered files
bolt: 32 total files, 1 altered file
dbus: 92 total files, 1 altered file
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/hosts (Size mismatch)
backup file: filesystem: /etc/hosts (MD5 checksum mismatch)
backup file: filesystem: /etc/hosts (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
filesystem: 116 total files, 7 altered files
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (MD5 checksum mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
java-runtime-common: 21 total files, 2 altered files
linux: 6695 total files, 10 altered files
linux-lts: 6643 total files, 10 altered files
lsb-release: no mtree file
modemmanager: 283 total files, 3 altered files
openssh: 59 total files, 1 altered file
oxygen: no mtree file
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (MD5 checksum mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (MD5 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
plasma-browser-integration: no mtree file
plasma-desktop: no mtree file
plasma-disks: no mtree file
plasma-firewall: no mtree file
plasma-nm: no mtree file
plasma-pa: no mtree file
plasma-sdk: no mtree file
plasma-systemmonitor: no mtree file
plasma-thunderbolt: no mtree file
plasma-vault: no mtree file
plasma-workspace-wallpapers: no mtree file
polkit: 207 total files, 1 altered file
polkit-kde-agent: no mtree file
powerdevil: no mtree file
ppp: 87 total files, 2 altered files
pulseaudio-alsa: no mtree file
python-requests: no mtree file
sddm-kcm: no mtree file
shadow: 566 total files, 3 altered files
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
sudo: 230 total files, 1 altered file
systemd: 2000 total files, 2 altered files
unzip: no mtree file
xdg-desktop-portal-kde: no mtree file

if I try to reinstall any of the "no mtree file" packages I get already exists in system errors.

system journal for the regular kernel boot:
http://ix.io/3PSX

Last edited by Degr (2022-02-18 10:22:50)

Offline

#2 2022-02-18 10:22:38

Degr
Member
Registered: 2021-08-05
Posts: 23

Re: [SOLVED] Missing vmlinuz led to system half breaking

Fixed the entire system by following multiple threads.
First one: https://www.reddit.com/r/archlinux/comm … h_install/
if that post ever gets deleted here's what it said

     Booted into a live USB

    Mounted partitions, chroot just like during installation

    Pacman complained about its lock, so I deleted it

    # pacman -S $(pacman -Qnq) to reinstall all packages

    That had a bunch of errors about existing files for certain packages. None of the packages looked very worrying, so # pacman -S --overwrite \* foobar to force install those specifics packages, then repeat step 4

after fixing all of the packages I chrooted into the system, reinstalled both kernels, reinstalled grub and then I did

grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --removable
grub-mkconfig -o /boot/grub/grub.cfg

After that I noticed that KDE was acting a bit weird and my taskbar was missing, so I entered TTY and executed these commands

killall plasmashell
$ rm ~/.config/plasma-org.kde.plasma.desktop-appletsrc
$ plasmashell &

and everything went back to normal.

Offline

Board footer

Powered by FluxBB