dracut (software)
You can help expand this article with text translated from the corresponding article in German. (October 2012) Click [show] for important translation instructions.
|
Original author(s) | Harald Hoyer and others |
---|---|
Initial release | July 2009 |
Stable release | 101
/ 7 April 2024 |
Repository | |
Written in | initramfs |
License | GPLv2+, LGPLv2+ |
Website | github |
Dracut is a set of tools that provide enhanced functionality for automating the
initramfs
) by copying tools and files from an installed system and combining it with the Dracut framework, which is usually found in /usr/lib/dracut/modules.d.
Unlike existing Linux
device nodes. When the root file system's device node appears, Dracut mounts it as the new root file system. This helps to minimize the time required in initramfs so that things like a 5-second boot are now made possible.[1]
Most of the initramfs generation functionality in Dracut is provided by generator modules that are sourced by the main dracut tool to install specific functionality into the initramfs.subdirectory, and use functionality provided by dracut-functions to do their work.[1]
Currently, dracut supports booting from
Adoption
Red Hat is the original author of dracut. Red Hat-derived Linux distributions use dracut for initramfs creation.
- Fedora Linux since version 12, Constantine[3]
- Red Hat Enterprise Linux since version 6[4]
- openSUSE since version 13.2, when it became the default initramfs creation tool[5]
- SUSE Linux Enterprise Serversince version 12
- Void Linux[6]
- OpenMandriva Lx, since it was Mandriva Linux in 2011[7][8]
- Mageia since Mageia 2[9]
- Gentoo for distribution kernels since 2020,[10] for custom kernels possible since 2010 [11]
- KaOS
- EndeavourOS
- Azure_Linux
Distributions which include dracut, but do not use it by default for initramfs creation:
- Debian since version 6 (Squeeze)[12]
- Arch Linux in extra repository[13]
- Ubuntu since version 18.04[14]
- Alpine Linux in community repository[15]
Most other distributions have made dracut available as an optional package to replace the distribution's default initramfs generator.
See also
References
- ^ a b c d e f dracut Wiki, kernel.org, retrieved 2012-10-10
- ^ dracut documentation, kernel.org, retrieved 2012-10-10
- ^ Features/Dracut, FedoraProject, retrieved 2012-10-10
- ^ RHEL6 SRPMS FTP, redhat.com, retrieved 2012-10-10
- ^ openSUSE 13.2 Major features, openSUSE project, retrieved 2014-11-04
- ^ Kernel - Void Linux Handbook, voidlinux.org, retrieved 2022-12-14
- ^ dracut-010-6-mdv2011.0.noarch.rpm, pkgs.org, retrieved 2012-10-10
- ^ Kernel[permanent dead link]
- ^ Mageia App Db, mageia.madb.org, retrieved 2012-10-10
- ^ kernel-install.eclass: Install logic for dist-kernels, Gentoo Foundation, retrieved 2022-11-06
- ^ Dracut - Gentoo Wiki, wiki.gentoo.org, retrieved 2012-10-10
- ^ Package: dracut (005-1), debian.org, retrieved 2012-10-10
- ^ "Arch Linux - dracut 049-2 (x86_64)", www.archlinux.org, retrieved 2019-05-21
- ^ Package: dracut (047-2) [universe], ubuntu.com, retrieved 2022-02-27
- ^ "Alpine - dracut", www.alpinelinux.org, retrieved 2022-02-27