Warning! Installing a broken kernel can render your Raspberry Pi unusable. Please backup your SD card before continuing.

The easiest way to copy the resulting .tar.gz archive on to your Raspberry Pi is to mount a FAT32 formatted USB flash drive on your computer and copy the archive to that. The build process will output the archive to the Kernel-o-Matic folder with a name that starts with custom_kernel.

You can also use the latest version of the Adafruit Pi Finder to copy the archive to your Pi over the local network.

Now that you have the .tar.gz archive copied to your Raspberry Pi, you can extract the archive using tar. In this example, the archive we will be using is called custom_kernel_1.20150207-1.tar.gz. Replace the name of the example archive with the name of your custom kernel
tar.gz archive.

$ tar xf custom_kernel_1.20150207-1.tar.gz

Next, we can use the bundled install script to install the package on your Raspberry Pi. cd into the extracted folder and run sudo ./install.sh to start the installation.

If you don't see any errors from the install process, you can answer "y" to the reboot prompt to apply the changes.

Finally, after the reboot, we can check to make sure that the package installed with dpkg -s raspberrypi-bootloader.

As you can see above, the custom build is the currently installed version on the Raspberry Pi.

That's all there is to building your own kernel! If you notice any bugs, please use the link below to file an issue on GitHub.

This guide was first published on Jan 30, 2015. It was last updated on Jan 30, 2015.

This page (Install the Kernel) was last updated on May 04, 2021.

Text editor powered by tinymce.