Skip to content
Laszlo Gombos edited this page Jul 16, 2023 · 52 revisions

Welcome to the dracut wiki! Dracut is an event driven initramfs infrastructure.

Documentation

Dracut

dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d.

Unlike existing initramfs's, dracut's framework attempts at having as little as possible hard-coded into the initramfs as possible.

The initramfs has (basically) one purpose in life -- getting the rootfs mounted so that we can transition to the real rootfs.

This is all driven off of device availability.

Therefore, instead of scripts hard-coded to do various things, dracut's initramfs depends on udev to create symbolic links to device nodes and then when the rootfs's device node appears, it is mounted and root is switched to it.

This helps to keep the time required in the initramfs as little as possible so that things like a 5 second boot aren't made impossible as a result of the very existence of an initramfs.

Most of the initramfs generation functionality in dracut is provided by a bunch of generator modules that are sourced by the main dracut tool to install specific functionality into the initramfs.

They live in the modules subdirectory, and use functionality provided by dracut-functions to do their work.

Start by reading the README.

See the News for information about changes in the releases.

Origin and history

dracut ( pronounced: /ˈdreɪkət/ ) was the initial brainchild born out of late night scheme of Farce Majeure, Jeremy Katz and Dave Jones who also did the initial implementation until Harald Hoyer took it under his care in 2009 and continued its development from there on.

The project started and announced in 2008.

Some people inside Red Hat started to name their projects after cities and villages around the developer headquarters of Red Hat in Westford, Massachusetts.

So, dracut is named after the town Dracut, similar to Wayland and Weston.

According to Wikipedia, dracut it is pronounced: /ˈdreɪkət/

Communication

Discussions

Gitter (chat)

Presentations

Plumbers 2009 slides

Talk at FOSDEM 2010

Development

Hacking

Repository

Download

Development wiki

Clone this wiki locally