© Yogesh Babar 2020
Y. BabarHands-on Bootinghttps://doi.org/10.1007/978-1-4842-5890-3_5

5. initramfs

Yogesh Babar1 
(1)
Pune, India
 

In this chapter, we will discuss why we really need initramfs and why it’s important in the booting procedure. We know that initramfs is loaded into memory by the bootloader, but we haven’t discussed yet how initramfs is extracted. This chapter will address that. We will also see the steps to extract, rebuild, and customize initramfs. Later, we will see the structure of initramfs as well as the booting sequence of a system inside initramfs.

Why initramfs?

The aim of the booting procedure is to present the user with their own files that reside in the root filesystem. In other words, it is the kernel’s duty to find, mount, ...

Get Hands-on Booting: Learn the Boot Process of Linux, Windows, and Unix now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.