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