#[SOLVED] EndeavorOS Kernel Panic

203 messages · Page 1 of 1 (latest)

next sparrow
#

Hey, so after applying updates and rebooting, I’m met with this, what do I do?

#

Found this little error message

fleet nexus
#

that doesn't look good, i assume the file got removed
you'll have to fix it from chroot, i'm unsure if endeavour has arch-chroot and whether linux-zen is what they use is configured or not
if you want to chroot manually, mount root and boot partitions and then;
cd /mnt
mount -t proc /proc proc/
mount -R /dev dev/
mount -R /sys sys/
chroot .

dreamy valve
#

arch-chroot does that
you can install it throught arch-install-scripts

fleet nexus
#

oh i thought you needed to mount, thanks for clearing that up

next sparrow
#

This is the result from Fdisk -l

dreamy valve
#

mount your root and esp and arch-chroot into your root then mkinitcpio -P

dreamy valve
next sparrow
dreamy valve
#

oh wait i thought you were in a live environment

#

aight just mkinticpio -P to regen all initrds

fleet nexus
next sparrow
dreamy valve
next sparrow
#

Or am I being dumb

#

Sorry, I’m still a newb at this

dreamy valve
next sparrow
#

Hmm

dreamy valve
#

it's most likely the nvme drives one

#

idk which of those partitions are your root tho

next sparrow
#

Do I check Fdisk-l

dreamy valve
#

are you multibooting?

next sparrow
#

No, but yes?

dreamy valve
#

if not try mounting each partitions and check if it has directories like home etc root ....

dreamy valve
next sparrow
#

I have my main system that’s not working, and im booting off of the installer that has a live desktop environment that I can interact with

next sparrow
dreamy valve
next sparrow
#

I do believe it’s my 2 tb nvme

#

Cuz it’s fast and I’m my mobo, it ain’t the 1tb nvme cuz that’s dead, I’m just waiting to upgrade my hardware to take it out since it’s behind my Gpu, and I don’t feel like draining my loop for a nvme

dreamy valve
next sparrow
dreamy valve
#

probably p3 or p4 since p5 is your steam library

next sparrow
#

Dis one, since it’s efi, no?

#

Yee, cuz the fat32 has a boot and esp tag

dreamy valve
next sparrow
#

No?

dreamy valve
#

let's just try mounting p3 for now

next sparrow
#

Ok

dreamy valve
#

mount /dev/nvme0n1p3 /mnt

#

ls /mnt

next sparrow
#

But it won’t delete any data, will it

dreamy valve
#

it wont

#

it's just mounting

next sparrow
#

Or I just run that

dreamy valve
#

show me its output after mount

next sparrow
dreamy valve
#

oh wait

#

nvme1n1p3

next sparrow
#

I

dreamy valve
#

mount /dev/nvme1n1p3 /mnt

next sparrow
#

K

#

Done

dreamy valve
#

now show me the output of ls /mnt

next sparrow
#

Sudo or no

dreamy valve
#

no need

next sparrow
dreamy valve
#

jackpot

#

cat /mnt/etc/fstab

next sparrow
dreamy valve
next sparrow
#

So why are we mounting boot now?

#

Just curious, I wanna know what we’re doing so I learn 😛

#

But done

dreamy valve
# next sparrow So why are we mounting boot now?

actually we dont really need to since yours is mounted on /boot/efi instead of /boot
it's just practice, everytime you have to do something to the kernel and initrds and/or the bootloader youll have to mount it

next sparrow
#

Ok

dreamy valve
#

arch-chroot /mnt
now you have to choice
mkinitcpio -P
or
pacman -S linux-zen
mkinitcpio -P regenerates the initrd
and pacman -S linux-zen reinstalls the kernel and regenerates the initrd also
the latter is the safer option

next sparrow
#

Ok

#

Did pacman, now do I reboot, or nah

#

Wait

#

Says fatal library error

dreamy valve
#

ok uh your pacman local library might be fucked

next sparrow
#

Elaborate

dreamy valve
#

did you perhaps did an update and closed the system without letting it finish?

next sparrow
#

Ya

#

I thought it was done updating and rebooted

#

So what can I do?

dreamy valve
#

let's try reinstalling all broken packages
pacman -Qk 2>/dev/null | grep -v ' 0 missing files' | cut -d: -f1 | pacman -S -
-Qk queries all broken packages
2>/dev/null sends stderr to /dev/null
grep -v ... removes outputs with 0 missing files
cut only gets the first column so it's just the package names
and the last is just piping everything and making pacman install everything that was listed

#

use sudo for both pacmans

#

actually nvm youre in root cus chroot

next sparrow
#

I’ll send what I have typed out before sending so ik it’s trumped right

dreamy valve
#

👍

next sparrow
#

Hopefully it’s clear

dreamy valve
#

yep

next sparrow
dreamy valve
#

huh wait

#
╰───❯ sudo pacman -Qk 2>/dev/null | grep -v '0 missing files' | cut -d: -f1 | sudo pacman -S - 
warning: discord-0.0.29-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) discord-0.0.29-1

Total Installed Size:  220.54 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] n
╭─[i0bz@arch]-[~]
╰───❯```
idk but work's fine for me
#

try sudo

next sparrow
#

Same result

dreamy valve
#

oh wait nvm

#

that just means there were no broken packages

#

weird

next sparrow
#

Hmm

dreamy valve
#

try rebooting ig

#

i mean the initrd was regenerated with dracut

next sparrow
#

Ok

#

Rebooting

#

Lit

#

Awesome

#

Progress I think

#

It’s just stuck here now

dreamy valve
#

are you able to switch tty?

next sparrow
#

Tty?

dreamy valve
#

probably something to do with gpu drivers if so

dreamy valve
#

rn youre on tty1

next sparrow
#

It’s telling me wrong login

#

Wtf

dreamy valve
#

💀

#

try logging in as root

next sparrow
#

Wtf

next sparrow
dreamy valve
#

root

next sparrow
#

How

#

Ah

#

Done

dreamy valve
#

username root
and whatever you set during install

next sparrow
#

Like this?

dreamy valve
next sparrow
#

Nah, I’m good on that now, I just needed root

#

So I’m good on logging in, but now what?

dreamy valve
#

ok so this is tricky

#

do you use nvidia?

next sparrow
#

Unfortunately

dreamy valve
#

create this file
vim /etc/dracut.conf.d/nvidia.conf

#

you know how to use vim right?

next sparrow
#

No

#

But im gonna

dreamy valve
#

it's fine ill show you how

next sparrow
dreamy valve
#

after than press esc then :wq to save and quit vim

#

oh wait, could you pacman -Qs nvidia-dkms after this
i wanna check if you even have it installed for the zen kernel

next sparrow
#

I should have dkms intalled as I game

dreamy valve
next sparrow
#

Reboot now or nah?

dreamy valve
#

ok,
now because idk how to regenerate dracut images
let's just pacman -S linux-zen again 💀

next sparrow
#

Done

dreamy valve
#

now try rebooting

next sparrow
#

No fatal errors

#

And stuck here

dreamy valve
#

can you switch tty again

#

login and show me
lsmod | grep nvidia

#

this shows if nvidia is loaded

next sparrow
#

No

#

It ain’t

dreamy valve
#

weird

next sparrow
dreamy valve
#

modprobe nvidia

next sparrow
dreamy valve
#

ok yep dkms didnt build it

#

dkms autoinstall

#

then dracut --regenerate-all

next sparrow
#

But nothing was found, or do I continue with the regeneration?

dreamy valve
#

to reinstall it

next sparrow
#

Then I do the regeneration?

dreamy valve
#

yes

next sparrow
#

K bet

#

Hopefully that should solve my issues?

dreamy valve
#

hopefully

dreamy valve
next sparrow
#

No

dreamy valve
#

b4 rebooting do it

#

and regenrate

next sparrow
#

I did auto, pacman, now regen

#

In that order

dreamy valve
#

do auto then regen

next sparrow
#

Still doesn’t exist

#

Did regen, and git this

#

During the dkms install I saw a bunch of would not install due to not finding file

#

@dreamy valve

dreamy valve
#

ok wtf

next sparrow
#

Installing mkinitcpio

dreamy valve
#

actually nvm those modules arent needed

next sparrow
#

But it’s still gives me this when I auto install

dreamy valve
dreamy valve
# next sparrow

idk why it does that even after reinstalling nvidia-dkms perhaps the latest package doesnt come with that

next sparrow
#

Should I try a reboot?

dreamy valve
#

wait

#

dkms install nvidia

#

if it still says that just ignore it

#

then
dracut /boot/initramfs-linux-zen.img

next sparrow
#

Done

dreamy valve
#

try rebooting

#

now

next sparrow
#

Same thing

dreamy valve
#

yeah, cant help you
try making a new support thread with this problem now