$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Kernel 5.16 From Source on Fedora 33

November 29, 2021 | By the+gnu+linux+evangelist.

Configuring

  1. 3. Downloading Linux Kernel

    Download Linux Kernel 5.16 Source Code for Fedora GNU/Linux

    Linux Kernel 5.16 tar.xz Archive

    Grab the tar.xz or tar.gz Archive from the List.
    If uncertain about what is a safe choice then opt for the latest Longterm release.

  2. 4. Extracting Linux Kernel Archive

    Then Extract Linux Kernel into the target Directory
    First, access it:

    cd ~/kernel

    Then to untar the downloaded Kernel Source into the current Folder run:

    tar -xafv ~/Downloads/linux*.tar.xz

    Or in case of a tar.gz Archive use instead:

    tar -xvzf ~/Downloads/linux*.tar.gz
  3. 5. Configuring Kernel

    So now to Configure Fedora Linux Custom Kernel
    First, access the Kernel Source with:

    cd linux*

    Then copy the current Configuration File into the New Kernel Source:

    sudo find /boot/ \( -iname "*config*" -a -iname "*`uname -r`*" \) -exec cp -i -t ./ {} \;
    mv *`uname -r`* .config

    This mystics because the default Configuration File may have a variable composition including “config” and the Kernel Version.
    In case of a Chrooted System instead you may look up the available Kernels with:

    ls /boot | grep config

    The grep Command refine the output List showing only the entries Matching the Keyword.
    Again fix the Configuration File editing it with nano and commenting out like:

    sudo nano .config

    Again if needed then fix the Configuration File editing it with nano and commenting out the Line like:

    #CONFIG_SYSTEM_TRUSTED_KEYS

    Ctrl+x to Save & Exit.
    Else to make a Custom one then reconfigure the Kernel (Only for advanced Users) with:

    sudo make menuconfig

    For instructions see: How to Configure a Build Kernel.

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,