mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-12-23 18:03:31 +00:00
23 lines
703 B
Markdown
23 lines
703 B
Markdown
---
|
|
title: "Rebuild Kernel Modules with Akmods"
|
|
date: 2022-02-04T19:37:04-05:00
|
|
draft: false
|
|
tags: []
|
|
math: false
|
|
---
|
|
|
|
Akmods is the Fedora/Red Hat way of managing kernel modules. In Ubuntu, this is `dkms`. If you're like me and reboot shortly after performing an update, then you might have not given akmods enough time to compile any extra kernel modules (for example: Nvidia). This meant that I had to boot into an older kernel to try to fix the problem....
|
|
|
|
Once in the older kernel, you can check the kernel versions by:
|
|
|
|
```bash
|
|
ls /usr/src/kernels/
|
|
```
|
|
|
|
Then select the kernel which you failed to build and run:
|
|
|
|
```bash
|
|
sudo akmods --kernels 5.15.18-200.fc35.x86_64
|
|
```
|
|
|
|
to trigger the rebuild.
|