add fedora kernel notes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
10
active/os_fedora/fedora.md
Normal file
10
active/os_fedora/fedora.md
Normal 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
|
||||||
Reference in New Issue
Block a user