The Kernel Newbie Corner: "initrd" and "initramfs"--What's Up With That? | Linux Today

The Kernel Newbie Corner: “initrd” and “initramfs”–What’s Up With That?

Written By
Web Webster
Web Webster
Oct 1, 2009

“So… What Are They?

“If we can be a little sloppy for a minute or two, both of those
concepts refer to a simple idea — that of an “early userspace”
root filesystem that can be used to get at least the minimum
functionality loaded in order to let the boot process continue.
There’s a lengthy explanation in the kernel source tree in the file
Documentation/filesystems/ramfs-rootfs-initramfs.txt, but I’ll try
to simplify that just a bit.

“In a nutshell, when your bootloader (GRUB?) loads your Linux
kernel, it is of course the kernel’s job to finish the boot
process. But to do so, it might require particular drivers to be
able to work with, say, hardware RAID controllers, or a network,
and so on. And depending on where those critically important
drivers are, the kernel might not have the ability to load them;
hence, the creation of a preliminary root file system that would
contain just enough in the way of loadable modules to give the
kernel access to the rest of the hardware.

“Quite simply, it’s the bootloader’s job to pass control to the
kernel, hand it the “initrd” (initial ram disk), let the kernel
mount it and get what it needs, whereupon the kernel can toss the
initrd and replace it with the real root filesystem. With me so
far?”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.