# Kernel completely removed after recent update- Nvidia DKMS to blame?

**URL:** <https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759>\
**Category:** Kernel, boot, graphics & hardware\
**Created:** [July 7, 2024, 3:16pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759 "2024-07-07T15:16:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 3:16pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/1 "2024-07-07T15:16:27Z")

</div>

Hi all! So my steam games were behaving weird, which I posted about on here and one suggested fix was to install nvidia-dkms. I updated my PC today and it acted weird around the nvidia dkms files including saying “removing kernel”, and then when I rebooted to complete the update, my kernels are all gone. Wiped.

I’ve lost absolutely everything. I’m currently trying to load debian to see if there’s any files left to access for a backup. Has anybody had the same issue, what was your fix and generally what should I do from here?

Thanks!

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 3:19pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/2 "2024-07-07T15:19:05Z")

</div>

If we can see your pacman log we could perhaps give you a better idea of what happened.

That being said, it shouldn’t be hard to fix. Just enter an arch-chroot [as described in the wiki](https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/) and reinstall your kernels.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 3:45pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/4 "2024-07-07T15:45:15Z")

</div>

Did you read the article I linked that describes what to do, step by step?

It you hit any specific issues following the instructions, stop and post the errors here.

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:00pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/5 "2024-07-07T16:00:05Z")

</div>

I did but I didn’t scroll enough at first because I’m really bad at thinking right now. I’m in chroot. How do I reinstall my kernel, there’s no instructions on that, and I don’t know how to do that

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 4:00pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/6 "2024-07-07T16:00:36Z")

</div>

```t
pacman -Syu linux linux-headers

```

Make sure there are no errors when you run that command.

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:02pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/7 "2024-07-07T16:02:52Z")

</div>

what happens when there are errors?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 4:04pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/8 "2024-07-07T16:04:13Z")

</div>

Post the errors here so we can see what they are.

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:09pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/9 "2024-07-07T16:09:02Z")

</div>

It had an error and did the DKMS thing again.

DKMS thing:

 ![IMG_3718](https://forum.endeavouros.com/uploads/default/original/3X/9/c/9c9a9719ff97070ea7fafcb3832c775c23d770e9.jpeg)

Error:

 ![IMG_3719](https://forum.endeavouros.com/uploads/default/original/3X/7/2/7267c9ce55d3c9530ae3845f5620cccb1377528e.jpeg)

idk why it says there’s no space on the device. There should be, it’s 2TB and 1.5 are free…

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 4:11pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/10 "2024-07-07T16:11:08Z")

</div>

Can you share the output of `df -h` and `find /efi`

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:21pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/11 "2024-07-07T16:21:40Z")

</div>

df -h

 ![IMG_3721](https://forum.endeavouros.com/uploads/default/original/3X/7/8/783d487689a0202bfb37a1574a47ac831643d966.jpeg)

find /efi

 ![IMG_3722](https://forum.endeavouros.com/uploads/default/original/3X/d/4/d4bf0076df5d596019fc66631d94c75c09f89cc3.jpeg)

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 4:24pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/12 "2024-07-07T16:24:36Z")

</div>

OK, I understand what happened now.

When you installed `nvidia-dkms` that made your initrams much larger. The initramfs for two kernels no longer fit in your 500MB EFI partition.

For now, try this to get you up and running:

```t
pacman -R linux-lts linux-lts-headers
pacman -S linux linux-headers

```

After you reboot and are back in your system, we can discuss your options for more long-term fixes.

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:30pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/13 "2024-07-07T16:30:15Z")

</div>

“fatal library error, lookup self”

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 4:41pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/14 "2024-07-07T16:41:07Z")

</div>

You need to share the whole output, not just the error

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:44pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/15 "2024-07-07T16:44:54Z")

</div>

Sorry, not much else out of the norm seemed to happen in the output. Here’s pics of the full output:

 ![IMG_3726](https://forum.endeavouros.com/uploads/default/original/3X/9/4/943db021f99b27cfa5eb5f7151e4ccd728178342.jpeg)  
 ![IMG_3727](https://forum.endeavouros.com/uploads/default/original/3X/7/f/7fa4e37e62f66f7a3e676fcd5eeb036dc1eb130f.jpeg)

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 7, 2024, 4:51pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/16 "2024-07-07T16:51:08Z")

</div>

That error can be ignored. That is just because you are in a chroot.

Try rebooting

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 7, 2024, 4:59pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/17 "2024-07-07T16:59:50Z")

</div>

SHE LIVES. THANK YOU SO MUCH OMG. Seriously thanks for tolerating my stress induced dumbness and lack of skill, I really need to go hunting for courses on this, I’m new to endeavor (and having nvidia).

It’d be cool if this debacle also fixed steam but I’m not holding my breath

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 9, 2024, 5:17pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/18 "2024-07-09T17:17:12Z")

</div>

Hey I know we’ve finished this but new updates have happened and it mentioned the dkms thing again in the updates and is asking me to reboot as usual. Did reinstalling the kernel fix the initram size problem or will I have to chroot again? If the initram thing happens again, is there a way to fix it so I don’t have to keep reinstalling my kernel?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 9, 2024, 5:42pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/19 "2024-07-09T17:42:46Z")

</div>

Removing the second kernel should have fixed it.

To be sure, when you update, read the output and make sure you don’t get an out of space error.

---

<div class="post-metadata">

**Author:** ![banaarceus](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/banaarceus/32/95044_2.png) [@banaarceus](https://forum.endeavouros.com/u/banaarceus)\
**Post date:** [July 9, 2024, 5:44pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/20 "2024-07-09T17:44:55Z")

</div>

What would that error look like? Just “Out of space?” or does it have some specific term I should look for?

Thanks for the reply!!

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [July 9, 2024, 5:47pm UTC](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759/21 "2024-07-09T17:47:29Z")

</div>

You can see the error in your pic here:

 ![IMG_3719](https://forum.endeavouros.com/uploads/default/original/3X/7/2/7267c9ce55d3c9530ae3845f5620cccb1377528e.jpeg)

“No space left on device”

[Next page](https://forum.endeavouros.com/t/kernel-completely-removed-after-recent-update-nvidia-dkms-to-blame/57759.md?page=2)
