make-initrd(1)

MAKE-INITRD(1) User Commands MAKE-INITRD(1)

NAME

make-initrd - creates initial ramdisk images for preloading modules

SYNOPSIS

make-initrd [<option>]
make-initrd guess-modules [<device>|<directory>]
make-initrd guess-config
make-initrd bug-report

DESCRIPTION

make-initrd is a new, uevent-driven initramfs infrastructure based around udev.

Without options, the program generates images for all the configuration files.

bug-report

makes the archive for developers when bug happens;

guess-config

guesses the current configuration and generates the config file;

guess-modules [<device>|<directory>]

shows kernel module needed to mount specified mountpoint or block device;

feature-info [name [name1...]]

shows information about feature;

OPTIONS

-D, --no-depmod
don't recreate a list of module dependencies;
-N, --no-checks
don't check /dev, /proc and the kernel modules directory;
-c, --config=FILE
set custom config file;
-b, --bootdir=DIR
set boot directory (default: /boot);
-k, --kernel=VERSION
set kernel version (default: currently running kernel);
-v, --verbose
print a message for each action;
-V, --version
output version information and exit;
-h, --help
display this help and exit.

ENVIRONMENT

INITRD_WORKDIR - Sets working directory (default: /tmp or $TMPDIR if set);

BLACKLIST_MODULES - List of modules that need to be ignored;

SYSFS_PATH - Sets sysfs placement.

FILES

/etc/initrd.mk - Main configuration file for make-initrd;

/etc/initrd.mk.d - Directory for optional configuration files.

AUTHOR

Written by Alexey Gladkov, Kirill Shutemov.

REPORTING BUGS

Report bugs to authors.

COPYRIGHT

Copyright © 2009,2010 Alexey Gladkov <gladkov.alexey@gmail.com>
Copyright © 2009,2010 Kirill A. Shutemov <kirill@shutemov.name>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

February 2024 make-initrd version 2.31.0