Installing
-
1. Downloading Kernel
So Download Kernel Packages
Download Kernel for Fedora 39 GNU/LinuxGet Kernel .rpm PackagesFor the current Linux Kernel Release look in: Fedora 39 Repo.
Or possibly find out the newest Releases in: Fedora 39 Updates.Grab kernel, kernel-core, kernel-devel, and kernel-modules Rpm Packages.
-
2. Launching Terminal
Open a Shell Session
(Press “Enter” to Execute Commands)How to QuickStart with Command Line on Fedora
-
3. Installing Kernel Offline
Then to Set up the Linux Kernel Offline on Fedora
First, access the Target USB Driver or Location:cd /[path/2/kernel]
To Check the Package is there:
ls | grep kernel
The grep Command Refine the output List showing only the entries Matching the Keyword.
Then simply play:sudo dnf install ./kernel*.rpm
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
4. Verifying Kernel Setup
Then to check the New Kernel Installation
First, check if the New Initramfs is generated:ls /boot/ | grep initramfs
Output like:
initramfs-0-rescue-e081bda4db2745d1bcf604550154b534.img/ninitramfs-5.6.0-0.rc5.git0.2.fc34.x86_64.img/ninitramfs-5.6.0-340.fc34.x86_64.img/ninitramfs-5.7.9-200.fc34.x86_64.img
The grep Command refine the output List showing only the Entries matching the Keyword.
Again examine the GRUB Bootloader Entries with:sudo ls /boot/loader/entries
In the Output you should find Trace of the New Setup like:
e081bda4db2745d1bcf604550154b534-0-rescue.conf/ne081bda4db2745d1bcf604550154b534-5.6.0-0.rc5.git0.2.fc34.x86_64.conf/ne081bda4db2745d1bcf604550154b534-5.6.0-340.fc34.x86_64.conf/ne081bda4db2745d1bcf604550154b534-5.7.9-200.fc34.x86_64.conf
-
5. Making GRUB Config File
Finally, to make a New GRUB Configuration File
Simply play:grub2-mkconfig -o "$(readlink -e /etc/grub2.cfg)"
And to reboot the System:
sudo reboot
So Now I’m truly Happy if My Guide could Help you to Install Kernel Offline on Fedora 39!
Contents