linux


Configure GRUB for a new kernel

For those of you who didn’t use make install, you still have to configure your bootloader to include the new kernel. GRUB comes with a set of tools for this, and the command we need is the following. grub-mkconfig -o /boot/grub/grub.cfg And that’s it. Really! Reboot now, and use the […]


Creating an initramfs

A lot of the code that your machine needs in order to boot will be built as kernel modules, and so won’t be immediately available to the kernel at boot-time. For the modules that drive your printer, sound-card, USB devices, etc., this isn’t a problem, but a lot of critical […]


Kernel installation

If you’ve been following along, you should now have configured and compiled the kernel. The next step is to install all the files you just created into the correct place. That’s what we will do here. When you configured the kernel, there is likely (almost definitely) to be a lot […]


Compile the kernel

This is the easiest part of the entire process to describe (although it may well be the longest to execute. The kernel now needs to be compiled according to the configuration your just gave it. For that we use make, and I add the -j option to take advantage of […]