]> git.ipfire.org Git - thirdparty/dracut.git/blame - mkinitrd-suse.8.asc
dracut.8.asc: mention lsinitrd(1) in see also
[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]
21This version of mkinitrd is provided for compability with older
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
32 to _boot_dir_), defaults to _vmlinux_ on ppc/ppc64, _image_ on s390/s390x
33 and _vmlinuz_ for everything else.
34
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_.
38
39**-m** _<module_list>_::
40 Modules to include in initrd, defaults to _INITRD_MODULES_ variable
41 in */etc/sysconfig/kernel*.
42
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.
47
48**-b** _<bootdir>_::
49 Boot directory, defaults to */boot*, where the initrd is created.
50
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
54
55**-s** _<size>_::
56 Add splash animation and bootscreen to initrd.
57
58**-D** _<interface>::
59 Run dhcp on the specified interface (for example "eth0").
60
61**-I** _<interface>::
62 Configure the specified interface statically.
63
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*.
68
69**-M** _<map>::
70 System.map file to use.
71
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.
76
77**-A**::
78 Create a so called "monster initrd" which includes all available
552c37e1
TR
79 features and modules. This calls dracut with --no-hostonly and
80 --no-hostonly-cmdline parameters internally, instead of the default
81 --hostonly and --hostonly-cmdline.
463e13fe
HR
82
83**-v, --verbose**::
84 increase verbosity level
85
86**-L**::
87 Disable logging to _/var/log/YaST2/mkinitrd.log_. This is useful for
88 testing if you don’t want to clutter the system log.
89
463e13fe
HR
90**--help**::
91 print a help message and exit.
92
93AVAILABILITY
94------------
95The mkinitrd command is part of the dracut package and is available from
96link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
97
98AUTHORS
99-------
100Harald Hoyer, Hannes Reinecke
101
102SEE ALSO
103--------
104*dracut*(8)
105*update-bootloader*(8)