The Kernel Newbie Corner: "initrd" and "initramfs"--Some Unfinished Business | Linux Today

The Kernel Newbie Corner: “initrd” and “initramfs”–Some Unfinished Business

Written By
Web Webster
Web Webster
Oct 9, 2009

“So What Do We Know So Far?

“Let’s recap what we discussed last week, just to set the
stage:

* Both the initramfs and initrd features are examples of what
are called “early userspace,” which gives us the opportunity to
create minimal root filesystems with enough kernel modules to allow
the boot process to continue, to the point where the kernel can
eventually mount the real root filesystem.

* To clarify the terminology, I use the phrase “initramfs” to
describe the root filesystem that is internal to the kernel, while
“initrd” is used to refer to the external root filesystem
represented by the “initrd” files in the /boot directory, and which
is passed to the booting kernel by the bootloader.

* The initrd files used to be a filesystem format so they needed
to be mounted in order to examine their contents. These days,
they’re almost always gzipped cpio-format files so, with the right
permissions, you can uncompress them and examine their contents
more conveniently.”


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.