You are not logged in.

#1 2024-06-03 20:36:23

AndreyFrantsevich
Member
Registered: 2023-10-30
Posts: 30

Recovery kernel

Hi everyone !
How it all started...
I Rebooted the computer during the update, got ‘error: file /vmlinuz-linux-g14’ not found'.
As I understood it, something happened to the kernel.
Okay, I took a bootable USB flash drive from a dusty shelf, booted up, mounted the partition.

arch-chroot /mnt

crashed with the error ‘mount point doesn't exist'.
After a quick googling, I found a similar problem and made a

‘pacstrap /mnt base linux linux-firmware'

After that, arch-chroot turned out. But, since I read the instructions after the build, the pacstrap command, if I understood correctly, created a new shell and now when I call chroot, it has nothing to do with my current system.
And rebuilding the kernel doesn't help. I had a custom kernel from the asus repository. But when trying to rebuild it, it says that the target was not found. grab commands doesn't work either.
In general, help me pls, what to do now (

Offline

#2 2024-06-04 13:53:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,153

Re: Recovery kernel

You need to mount your root partiition (of your actual system) to /mnt (as well as any others under that, so if you have a boot partition you'd mount that to /mnt/boot after mounting your root to /mnt) before you're able to arch-chroot into your actual installation in oder to reinstall the kernel.

Offline

#3 2024-06-04 13:55:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: Recovery kernel

I Rebooted the computer during the update, got ‘error: file /vmlinuz-linux-g14’ not found'.

There's probaly more damage than just the missing kernel, therefore you cannot chroot.
Also don't use pacstrap.

pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg/ …

Start with an integrity check:

LC_ALL=C pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg/ -Qkk | grep -v ', 0 altered files'

from a dusty shelf

Your hygienic habits don't matter, but if you meant to say that this is a really old install iso, you'll rather not be able to use it to fix the system offline - get a new install iso first.

Offline

Board footer

Powered by FluxBB