Borked my Kernel
I got an error modprobing v4l2loopback-dkms (im not exactly sure of the error anymore but it was something like "lib/modules/xxx not found".
I then was at kernel 5.6.10 because 5.6.13 didnt boot for me and i downgraded.
Then i tried to deinstall v4l2loopback-dkms and reinstall it, which resulted in a lib/modules error that i also can not exactly remember.
I upgraded my system to 5.6.13. in hopes of the v4l2 module working again.
Now i get a boot loop saying
"Loading ../vmlinuz-linux... EDD: Error 0100 reading sector xxxxx
Loading ../initramfs-linux.img... EDD: Error 0100 reading sector xxxxx
Booting Kernel failed: invalid argument"
When i run mkinitcpio -p linux in chroot everything works well, but if i run just "mkinitcpio" it gives me this error: "lib/modules/5.6.13-arch is not a valid kernel directory"
If i downgrade again i get a black screen after my syslinux menu.
I have no idea whats broken. I tried different kernel parameters, went over my syslinux.cfg, rolling back all my packages to a few days ago.
I suspect it has something to do with me borking kernel stuff while reinstalling v4l2loopback-dkms.
I would love any direction because ive been trying to fix this for hours now.
Edited 21 May 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 50% up
- Kind
- Text
- ID
- gnu2s3
15 comments
You didn't reboot after a kernel upgrade, then you downgraded your kernel but left updated kernel headers.
Deleted before we saved it.
Thanks. How do i fix that? My linux-headers are on the same version as the kernel right now.
uname -r; pacman -Q linux
Also get and post the exact errors and your syslinux config.
uname -r: 5.3.13
pacman -Q linux: 5.6.13.arch1-1
syslinux.cfg: https://pastebin.com/YUAguayn
The boot error from the post is exact, it returns to automatic boot and repeats.
mkinitcpio: Error: lib/modules/5.6.13-arch is not a valid kernel directory
It seems as though ive solved the problem for myself, because while backing up files to a usb drive and being in a hurry, i deleted /bin. I dont think theres any way out of this except reinstalling anymore.Ive been able to recover gladly.downgrade the linux and linux headers packages or switch to lts.