add fedora kernel notes

This commit is contained in:
2026-02-25 12:21:01 -05:00
parent ba66c47719
commit 2c5af8507c
2 changed files with 13 additions and 2 deletions

View File

@@ -854,11 +854,12 @@ sudo dnf install -y koji
# Search for the desired kernel version # Search for the desired kernel version
koji search build kernel-6.18.3* koji search build kernel-6.18.3*
export KERNEL_VERSION=6.18.12
# Create a temporary directory to store the donwloaded kernel packages # Create a temporary directory to store the donwloaded kernel packages
sudo -i sudo -i
mkdir /root/kernel-download-6.18.3 mkdir /tmp/kernel-download-${KERNEL_VERSION}
cd /root/kernel-download-6.18.3 cd /tmp/kernel-download-${KERNEL_VERSION}
# Download the kernel packages # Download the kernel packages
koji download-build --arch=x86_64 kernel-6.18.3-200.fc43 koji download-build --arch=x86_64 kernel-6.18.3-200.fc43

View File

@@ -0,0 +1,10 @@
# Fedora
## Kernel Rescue
1. Check that `/boot` and `/boot/efi` aren't full
2. `mkdir -p /boot/efi/loader/entries`
3. `mkdir -p /boot/efi/$(cat /etc/machine-id)`
4. Check for other missing directories and create as needed
5. `dracut -f --regenerate-all` to regenerate missing kernels
6. `dnf reinstall kernel*` to rerun kernel installation scripts