awesome-initramfs icon indicating copy to clipboard operation
awesome-initramfs copied to clipboard

awesome initramfs

Awesome

Usual flow

fw -> bootloader -> kernel -> initramfs -> rootfs

In its simplest form (no separate initramfs, init included in the kernel)

fw -> kernel (init included)

No initramfs, separate rootfs

fw -> kernel -> rootfs 

A curated list of awesome initramfs resources.

Contents

  • Projects
  • Documentation
  • Resources

Projects

Documentation

How to avoid having a need for initramfs

  • build-in all kernel modules that needed to mount rootfs
  • use root=/dev/sda (avoid using UUID)

Build initramfs into the kernel

Minimal rootfs

Dracut wikis/docs

Notable Dracut packages/patches/forks

Projects with out-of-tree dracut modules

OSS search

Other notable projects using dracut

(without an out-of-tree dracut modules)

How to avoid the need for initramfs

  • build-in kernel modules into the kernel that is needed to mount rootfs (e.g. CONFIG_EXT4_FS=y)
  • set root= kernel command line argument (see https://www.kernel.org/doc/html/v6.4/admin-guide/kernel-parameters.html)

Resources