TEST-15-BTRFSRAID: install /etc/os-release
[dracut.git] / mkinitrd-suse.8.asc
blob9eb8fc907b2780574f3b2da1d3f3f0c99719c1a9
1 MKINITRD(8)
2 ===========
3 :doctype: manpage
4 :man source:   dracut
5 :man manual:   dracut
7 NAME
8 ----
9 mkinitrd-suse - is a compat wrapper, which calls dracut to generate an initramfs
11 SYNOPSIS
12 --------
13 *mkinitrd* ['OPTION...']
15 DESCRIPTION
16 -----------
17 *mkinitrd* creates an initramfs image <initrd-image> for the kernel with
18 version <kernel-version> by calling *dracut*.
20 [IMPORTANT]
21 This version of mkinitrd is provided for compability with older
22 versions of mkinitrd. If a more fine grained control over the
23 resulting image is needed, *dracut* should be called directly.
25 OPTIONS
26 -------
27 **-R, --version**::
28     print info about the version
30 **-k** _<kernel_list>_::
31     List of kernel images for which initrd files are created (relative
32     to _boot_dir_), defaults to _vmlinux_ on ppc/ppc64, _image_ on s390/s390x
33     and _vmlinuz_ for everything else.
35 **-i** _<initrd_list>_::
36     List of file names (relative to _boot_dir_) for the initrd; positions
37     have to match the _kernel_list_. Defaults to _initrd_.
39 **-m** _<module_list>_::
40     Modules to include in initrd, defaults to _INITRD_MODULES_ variable
41     in */etc/sysconfig/kernel*.
43 **-f** _<feature_list>_::
44     Features to be enabled for the initrd. In general mkinitrd
45     configures the initrd for the root device it is started from. With
46     this option additional feature can be enabled.
48 **-b** _<bootdir>_::
49     Boot directory, defaults to */boot*, where the initrd is created.
51 **-d** _<root_device>_::
52     Root device, defaults to the device from which the root_dir is
53     mounted; overwrites the rootdev enviroment variable if set
55 **-s** _<size>_::
56     Add splash animation and bootscreen to initrd.
58 **-D** _<interface>::
59     Run dhcp on the specified interface (for example "eth0").
61 **-I** _<interface>::
62     Configure the specified interface statically.
64 **-a** _<acpi_dsdt>::
65     Attach compiled ACPI DSDT (Differentiated System Description Table)
66     to initrd. This replaces the DSDT of the BIOS. Defaults to the
67     _ACPI_DSDT_ variable in */etc/sysconfig/kernel*.
69 **-M** _<map>::
70     System.map file to use.
72 **-B**::
73     Don’t run the *update-bootloader(8)* script after the initrd(s) have
74     been created. This is useful if you call mkinitrd(8) for anything
75     else than the running system.
77 **-A**::
78     Create a so called "monster initrd" which includes all available
79     features and modules.
81 **-v, --verbose**::
82     increase verbosity level
84 **-L**::
85     Disable logging to _/var/log/YaST2/mkinitrd.log_. This is useful for
86     testing if you don’t want to clutter the system log.
88 **--force**::
89     overwrite existing initramfs file.
91 **--help**::
92     print a help message and exit.
94 AVAILABILITY
95 ------------
96 The mkinitrd command is part of the dracut package and is available from
97 link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
99 AUTHORS
100 -------
101 Harald Hoyer, Hannes Reinecke
103 SEE ALSO
104 --------
105 *dracut*(8)
106 *update-bootloader*(8)