mkinitrd(8)

NAME
mkinitrd, mk_initrd - create initrd disk image

SYNOPSIS
mkinitrd [options] [root_dir]

DESCRIPTION
mkinitrd creates initial ramdisk images for booting linux
         with enviroments which need loading modules
         before mounting the root device (e.g SCSI
         controller)

OPTIONS

-h  This Text.

-k  "kernel list"
    list of kernel images for which initrd files are created (relative to boot_dir), defaults to "vmlinuz vmlinuz.shipped"

-i "initrd list"
    list of file names (relativ to boot_dir) for the initrd; positions have to match the "kernel list", defaults to "initrd initrd.shipped"

-m "module list"
    modules to include in initrd, defaults to INITRD_MODULES variable in /etc/sysconfig/kernel

-b boot_dir
    boot dir, defaults to "/boot", where the initrd is created.

-d root_device
    root device, defaults to the device from which the root_dir is mounted; overwrites the rootdev enviroment variable if set

-s size
    Add splash animation and bootscreen to initrd.

-D interface
    Run dhcp on the specified interface.

-I interface
    Configure the specified interface statically.

-a acpi_dsdt
    Attach compiled ACPI DSDT (Differentiated System Description Table) to initrd. This replaces the DSDT of the BIOS. Defaults to the ACPI_DSDT variable in /etc/sysconfig/kernel.

-t tmp_dir
    tmp dir, defaults to "/tmp"

-R  Use initrd instead of initramfs.

-g  Use glibc binaries instead of klibc ones.

-u  Do not use udev for device discovery.

-S  Load policy file for SELinux if exists.

-V script
    Vendor specific script to run in linuxrc.

root_dir
    the directory the root partition is mounted to defaults to "/"

NOTE
mk_initrd is now a symbolic link to mkinitrd.

ENVIRONMENT VARIABLES
You can specify the root device via the environment variable rootdev (e.g. "rootdev=/dev/hda mk_initrd").

SEE ALSO
initrd(4)

AUTHOR
Steffen Winterfeldt <wfeldt@suse.de>, Susanne Oberhauser <froh@suse.de>