The Yocto Project allows users to create custom Linux distributions for emedded and IoT software. It is an open source project, calloborated on by the Linux foundation and other big names in the tech industry. Its big advantage is that it can work on a variety of architectures including some that are not as mainstream or widespread, like ARM, MIPS, PowerPC, x86, and x86-64.
The Linux kernel sits at the core of all Linux systems, including thousands of GNU/Linux distributions, the Android mobile operating system, and tons of embedded systems, networking devices, etc. Its popuarity and ubiquity can be credited to the fact that it is free and open source. Anyone can download the Linux kernel, make changes to it if they wish, and compile it for their own commercial or private use.
Every time a Linux system is booted, there are a number of kernel modules that will be loaded by the system and used to provide additional support for filesystems, new hardware, and many other things. Obtaining information about particular kernel modules may a be an important troubleshooting skill. In this tutorial, we will explain how to obtain module information such as description, dependency, author or relevant object file name using the
modinfo command and its various options.
The kernel of a Linux system is the core that everything else in the operating system relies on. The functionality of the kernel can be extended by adding modules to it by use of a specific Linux kernel commands. As such, a user can fine tune their kernel settings by enabling or disabling modules. This level of granular control is one of the many reasons why users love Linux in the first place.
The purpose of this tutorial is to show how to set kernel boot parameters in Linux. When a user boots their Linux system, the GRUB boot loader can set various parameters as it loads the Linux kernel. You can think of these parameters as arguments, the same type you are probably accustomed to using with commands in your terminal.
In a previous article we talked about listening and extracting the content of an initramfs image using standard, simple tools like gzip, dd and cpio or with dedicated scripts like lsinitramfs, lsinitrd and unmkinitramfs. In this tutorial we learn how to (re)build an initramfs on Linux using dracut.
There may be a time when you need to disable some kernel modules from being loaded during your Linux system’s boot time. In this guide, we will discuss a few different ways to blacklist a module, including its dependencies, on Ubuntu and any other Debian based distros. This will effectively permanently disable a module from loading during the boot time.
In this tutorial you will learn:
- How to blacklist a kernel module on Ubuntu/Debian-based Linux distros