]>
Commit | Line | Data |
---|---|---|
463e13fe HR |
1 | MKINITRD(8) |
2 | =========== | |
3 | :doctype: manpage | |
4 | :man source: dracut | |
5 | :man manual: dracut | |
6 | ||
7 | NAME | |
8 | ---- | |
9 | mkinitrd-suse - is a compat wrapper, which calls dracut to generate an initramfs | |
10 | ||
11 | SYNOPSIS | |
12 | -------- | |
13 | *mkinitrd* ['OPTION...'] | |
14 | ||
15 | DESCRIPTION | |
16 | ----------- | |
17 | *mkinitrd* creates an initramfs image <initrd-image> for the kernel with | |
18 | version <kernel-version> by calling *dracut*. | |
19 | ||
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. | |
24 | ||
25 | OPTIONS | |
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 LZ |
32 | to _boot_dir_), Image name should begin with the following string, |
33 | defaults to _vmlinux_ on ppc/ppc64, _image_ on s390/s390x and _vmlinuz_ | |
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 | |
54 | mounted; overwrites the rootdev enviroment variable if set | |
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 | ||
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] | |
98 | ||
99 | AUTHORS | |
100 | ------- | |
101 | Harald Hoyer, Hannes Reinecke | |
102 | ||
103 | SEE ALSO | |
104 | -------- | |
105 | *dracut*(8) | |
106 | *update-bootloader*(8) |