Update Fedora kernel to the newest firmware mod

Michael

Administrator
Staff member
Feb 11, 2022
126
4
18

Update Fedora kernel to the newest firmware mod​


#!/bin/bash

# Install Snapper and git (timeshift will not work on fedora as it does not make the @ and @home subvolumes by default, instead it makes root and home)
sudo dnf install snapper git

#create a Snapper snapshot

cd /tmp

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

cd linux-firmware/

sudo cp -va * /lib/firmware/

sudo dracut -f -v --kver $(uname -r)

sudo reboot
 

Michael

Administrator
Staff member
Feb 11, 2022
126
4
18
Ideally if user knows btrfs they can skip the snapper step and use btrfs directly to snapshot.

Yes, it's a large download. But when you are stuck and need to make newer hardware work, this could help.

Lastly, Thank you HikariKnight.