#[SOLVED] EndeavorOS Kernel Panic
203 messages · Page 1 of 1 (latest)
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 .
no need to do those mounts
arch-chroot does that
you can install it throught arch-install-scripts
oh i thought you needed to mount, thanks for clearing that up
So I got a second set boot for the terminal, what command do I put in?
This is the result from Fdisk -l
mount your root and esp and arch-chroot into your root then mkinitcpio -P
to clear most stuff up
endeavour uses the same repos as arch so they basically give the same packages
so linux-zen is the same
Wdym? Isn’t where to boot is already where it’s supposed to be?
oh wait i thought you were in a live environment
aight just mkinticpio -P to regen all initrds
i thought they used a configured kernel from their own repo, thanks again
So rn I’m booting off of a flash drive, I’m trying to not have my data be wiped
oh then youll have to mount your root to somewhere else like /mnt and your esp to where it was relative to where your root is mounted
so if it was mounted on /boot then /mnt/boot
Like here in the highlighted?
Or am I being dumb
Sorry, I’m still a newb at this
doesnt look like that's your root
Hmm
it's most likely the nvme drives one
idk which of those partitions are your root tho
Do I check Fdisk-l
are you multibooting?
No, but yes?
if not try mounting each partitions and check if it has directories like home etc root ....
like do you have multiple linux installations on each partitions?
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
No, just one boot in the system
oh ok then try this to pinpoint which is root
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
yeah it's the nvme drive but we dont know which partition tho there's 5 of them here
Gotta be one of these top two
probably p3 or p4 since p5 is your steam library
efi is your esp
not your root
let's just try mounting p3 for now
Ok
But it won’t delete any data, will it
And ls /mnt? Do I add that to this?
Or I just run that
show me its output after mount
I
mount /dev/nvme1n1p3 /mnt
now show me the output of ls /mnt
Sudo or no
no need
ok
now
mount /dev/nvme1n1p1 /mnt/boot/efi
So why are we mounting boot now?
Just curious, I wanna know what we’re doing so I learn 😛
But done
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
Ok
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
ok uh your pacman local library might be fucked
Elaborate
did you perhaps did an update and closed the system without letting it finish?
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
I’ll send what I have typed out before sending so ik it’s trumped right
👍
Hopefully it’s clear
yep
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
Same result
Hmm
are you able to switch tty?
Tty?
probably something to do with gpu drivers if so
Wdym
root
username root
and whatever you set during install
now reset your user password
passwd yourusername
Nah, I’m good on that now, I just needed root
So I’m good on logging in, but now what?
Unfortunately
it's fine ill show you how
do that
after youre in vim
then enter in this
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
to insert in characters, press i then you can just type anything you want
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
I should have dkms intalled as I game
ok now this
ok,
now because idk how to regenerate dracut images
let's just pacman -S linux-zen again 💀
Done
now try rebooting
can you switch tty again
login and show me
lsmod | grep nvidia
this shows if nvidia is loaded
weird
modprobe nvidia
Then I do the regeneration?
yes
hopefully
btw did you do dkms autoinstall after this?
No
do auto then regen
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
ok wtf
Installing mkinitcpio
actually nvm those modules arent needed
But it’s still gives me this when I auto install
yeah it's best to do that
i know barely know anything about dracut 💀
idk why it does that even after reinstalling nvidia-dkms perhaps the latest package doesnt come with that
wait
dkms install nvidia
if it still says that just ignore it
then
dracut /boot/initramfs-linux-zen.img
Done
Same thing
yeah, cant help you
try making a new support thread with this problem now