Skip to main content

Fix Unbootable System

·2 mins· loading · loading · ·
Boot Kernel Grub Guide Linux
DarkXero
Author
DarkXero
I create content about Linux & FOSS software. You’ll find me rocking ArchLinux with KDE Plasma, probably helping somebody with a question. 😎
Table of Contents

Preface

Are you having an issue after updating your system with the message vmlinuz-linux not found? Watch the video below by Erik Dubois, should help you get out of that predicament …

Disclaimer :

Below guide covers EXT4/XFS/Unencrypted Filesystems, for Encrypted Drives, you will have to “Google it” lol,

Anyway here’s what to do…

Mount your system to work in..

First of all boot using your XeroLinux Live boot USB and follow the steps below…

The device or partition with your Linux system on it will need to be mounted. To discover the kernel name of the storage device name, type:

sudo fdisk -l

Mount the device or partition : (replace “sdXn” with your actual partition name)

[Image: SZO4qw0.png]

For EXT4 & XFS

mount /dev/sdXn /mnt (Linux Filesystem)
mount /dev/sdXn /mnt/boot/efi (EFI System)

Chroot into your system :

With this information, you are able to arch-chroot, and to be able to do that you need to have root permissions, so type the following command:

arch-chroot /mnt

Reinstall missing Kernel :

Now it’s time to get the Kernel back in order to get the system to boot once again.. Do this now…

pacman -S linux linux-headers

Finally update the system if needed…

pacman -Syyu

Exit arch-chroot via exit command then unmount your system

umount /mnt/boot/efi
umount /mnt

Now reboot all should be good…

Hope this helps

Related

How To Downgrade Packages
·2 mins· loading · loading
Downgrade ArchLinux Guide Linux
Enable Snaps on Arch
·2 mins· loading · loading
Snaps SnapCraft Arch Guide Linux
Pacman R7.0 Update
·4 mins· loading · loading
Pacman AUR Arch Guide Linux