Debian Codegraph @

templates/man8/mkinitcpio.8.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux
21 #, no-wrap
22 msgid "MKINITCPIO"
23 msgstr ""
24
25 #. type: TH
26 #: archlinux
27 #, no-wrap
28 msgid "2026-04-29"
29 msgstr ""
30
31 #. type: TH
32 #: archlinux
33 #, no-wrap
34 msgid "mkinitcpio 41"
35 msgstr ""
36
37 #. type: TH
38 #: archlinux
39 #, no-wrap
40 msgid "mkinitcpio manual"
41 msgstr ""
42
43 #. type: SH
44 #: archlinux
45 #, no-wrap
46 msgid "NAME"
47 msgstr ""
48
49 #. type: Plain text
50 #: archlinux
51 msgid "mkinitcpio - Create an initial ramdisk environment"
52 msgstr ""
53
54 #. type: SH
55 #: archlinux
56 #, no-wrap
57 msgid "SYNOPSIS"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux
62 msgid "I<mkinitcpio> [options]"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux
67 #, no-wrap
68 msgid "DESCRIPTION"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux
73 msgid ""
74 "Creates an initial ramdisk environment for booting the Linux kernel. The "
75 "initial ramdisk is in essence a very small environment (early userspace) "
76 "which loads various kernel modules and sets up necessary things before "
77 "handing over control to init. This makes it possible to have, for example, "
78 "encrypted root file systems and root file systems on a software RAID array. "
79 "mkinitcpio allows for easy extension with custom hooks, has autodetection at "
80 "runtime, and many other features."
81 msgstr ""
82
83 #. type: SH
84 #: archlinux
85 #, no-wrap
86 msgid "OPTIONS"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux
91 msgid "B<-A>, B<--addhooks> I<hooks>"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux
96 msgid ""
97 "Add the additional I<hooks> to the image. These will be processed in order "
98 "after all other hooks from the config file. Multiple hooks should be comma-"
99 "separated. This option can be specified multiple times."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux
104 msgid "B<-c>, B<--config> I<config>"
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux
109 msgid ""
110 "Use I<config> file to generate the ramdisk. Default: I</etc/"
111 "mkinitcpio.conf>. If specified, drop-in files in I</etc/mkinitcpio.conf.d> "
112 "will be ignored."
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux
117 msgid "B<-d>, B<--generatedir> I<directory>"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux
122 msgid ""
123 "Set I<directory> as the location where the initramfs is built. This might be "
124 "useful to generate a shutdown ramfs in I</run/initramfs/>."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux
129 msgid "B<-D>, B<--hookdir> I<directory>"
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux
134 msgid ""
135 "Set I<directory> as the location where hooks will be searched for when "
136 "generating the image."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux
141 msgid "B<-I>, B<--include> I<path>"
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux
146 msgid ""
147 "Add additional I<files> or I<directories> to the image. These will be "
148 "processed in order after all other files have been included into the image."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux
153 msgid ""
154 "If the path is a file, you can comma separate the source and the destination "
155 "on the image. Example: I<source:destination:mode>."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux
160 msgid ""
161 "If the path is a directory, it will only accept the full directory and "
162 "include the directory from the root of the image."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux
167 msgid ""
168 "Multiple paths should be comma-separated. This option can be specified "
169 "multiple times."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux
174 msgid "B<-g>, B<--generate> I<filename>"
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux
179 msgid ""
180 "Generate a CPIO image as I<filename>. Default: no; this means nothing will "
181 "be written to the file system unless this option is specified."
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux
186 msgid "B<-H>, B<--hookhelp> I<hookname>"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux
191 msgid "Output help for hookname I<hookname>."
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux
196 msgid "B<-h>, B<--help>"
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux
201 msgid "Output a short overview of available command-line switches."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux
206 msgid "B<-k>, B<--kernel> I<kernelversion>"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux
211 msgid ""
212 "Use I<kernelversion>, instead of the current running kernel. This may be a "
213 "path to a kernel image (only supported for x86-based architectures), a "
214 "specific kernel version or the special keyword I<none>. In the latter case, "
215 "no kernel modules are added to the image."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux
220 msgid "B<-L>, B<--listhooks>"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux
225 msgid "List all available hooks."
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux
230 msgid "B<-M>, B<--automods>"
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux
235 msgid ""
236 "Display modules found via autodetection. mkinitcpio will automatically try "
237 "to determine which kernel modules are needed to start your computer. This "
238 "option lists which modules were detected."
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux
243 msgid "B<-n>, B<--nocolor>"
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux
248 msgid "Disable color output."
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux
253 msgid "B<--nopost>"
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux
258 msgid "Do not run post hooks."
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux
263 msgid "B<-U>, B<--uki> I<filename>"
264 msgstr ""
265
266 #. type: Plain text
267 #: archlinux
268 msgid ""
269 "Generate a unified kernel image as I<filename>. If a CPIO image is "
270 "successfully built, it will be used to generate a unified kernel image for "
271 "UEFI booting. This combines the initramfs, the kernel, and the kernel "
272 "cmdline into one executable. This is useful for boot chain integrity where "
273 "the file is signed. Default: no. For a list of relevant options see "
274 "I<Options for unified kernel image> below."
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux
279 msgid "B<-P>, B<--allpresets>"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux
284 msgid ""
285 "Process all presets contained in I</etc/mkinitcpio.d>. See the B<-p> option "
286 "for more detail about presets."
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux
291 msgid "B<-p>, B<--preset> I<preset>"
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux
296 msgid ""
297 "Build initramfs image(s) according to specified I<preset>. This may be a "
298 "file in I</etc/mkinitcpio.d> (without the .preset extension) or a full, "
299 "absolute path to a file. This option may be specified multiple times to "
300 "process multiple presets."
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux
305 msgid "B<-R>, B<--remove>"
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux
310 msgid ""
311 "Remove initramfs image(s) generated by the specified preset(s). If used in "
312 "combination with B<-P>|B<--allpresets>, removes the images for all presets. "
313 "This option can only be used with either B<-p>|B<--presets> or B<-P>|B<--"
314 "allpresets>."
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux
319 msgid "B<-r>, B<--moduleroot> I<root>"
320 msgstr ""
321
322 #. type: Plain text
323 #: archlinux
324 msgid "Specifies the root directory to find modules in, defaulting to I</>."
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux
329 msgid "B<-S>, B<--skiphooks> I<hooks>"
330 msgstr ""
331
332 #. type: Plain text
333 #: archlinux
334 msgid ""
335 "Skip I<hooks> when generating the image. Multiple hooks should be comma-"
336 "separated. This option can be specified multiple times."
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux
341 msgid "B<-s>, B<--save>"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux
346 msgid ""
347 "Saves the build directory for the initial ramdisk. Default: no; This means "
348 "the directory will not be retained if this option is not specified. Useful "
349 "for debugging purposes."
350 msgstr ""
351
352 #. type: Plain text
353 #: archlinux
354 msgid "B<-t>, B<--builddir> I<tmpdir>"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux
359 msgid ""
360 "Use I<tmpdir> as the temporary build directory instead of I</tmp>. I<tmpdir> "
361 "must exist. The I<TMPDIR> environment variable is also honored to set this "
362 "location, but the command line option will take precedence."
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux
367 msgid "B<-V>, B<--version>"
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux
372 msgid "Display version information."
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux
377 msgid "B<-v>, B<--verbose>"
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux
382 msgid ""
383 "Verbose output. Outputs more information about what is happening during "
384 "creation of the ramdisk."
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux
389 msgid "B<-z>, B<--compress> I<compress>"
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux
394 msgid "Override the compression method with the I<compress> program."
395 msgstr ""
396
397 #. type: SH
398 #: archlinux
399 #, no-wrap
400 msgid "OPTIONS FOR UNIFIED KERNEL IMAGE"
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux
405 msgid "B<--cmdline> I<filename>"
406 msgstr ""
407
408 #. type: Plain text
409 #: archlinux
410 msgid ""
411 "Use kernel command line with unified kernel image. If a directory is given, "
412 "all files matching I<*.conf> in that directory are used. If none is "
413 "specified, try one of the files I</etc/kernel/cmdline>, I</usr/lib/kernel/"
414 "cmdline>, I</etc/cmdline.d/*.conf>, I</proc/cmdline>."
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux
419 msgid "B<--no-cmdline>"
420 msgstr ""
421
422 #. type: Plain text
423 #: archlinux
424 msgid ""
425 "Omit embedding a kernel command line string in the unified kernel image. "
426 "Kernel command line options will need to be passed via the kernel command "
427 "line. Overrides the B<--cmdline> option."
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux
432 msgid "B<--splash> I<filename>"
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux
437 msgid "UEFI executables can show a bitmap file on boot."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux
442 msgid "B<--uefistub> I<filename>"
443 msgstr ""
444
445 #. type: Plain text
446 #: archlinux
447 msgid ""
448 "UEFI stub image used for unified kernel image generation. Has no effect if "
449 "I<ukify> is being used. Default: Attempts to look for a systemd-boot or "
450 "gummiboot stub loader."
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux
455 msgid "B<--ukiconfig> I<filename>"
456 msgstr ""
457
458 #. type: Plain text
459 #: archlinux
460 msgid ""
461 "Configuration file to pass to I<ukify>. If none is specified, try one of the "
462 "files I</etc/kernel/uki.conf> or I</usr/lib/kernel/uki.conf>. If neither of "
463 "those exists, I<ukify> will use its internal default."
464 msgstr ""
465
466 #. type: Plain text
467 #: archlinux
468 msgid "B<--no-ukify>"
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux
473 msgid ""
474 "Do not use I<ukify> to build UKIs even if it is available. This is not "
475 "recommended."
476 msgstr ""
477
478 #. type: Plain text
479 #: archlinux
480 msgid "B<--kernelimage> I<filename>"
481 msgstr ""
482
483 #. type: Plain text
484 #: archlinux
485 msgid ""
486 "Include a kernel image for the unified kernel image. Default: one of I</lib/"
487 "modules/${KERNELVERSION}/vmlinuz>, I</lib/modules/${KERNELVERSION}/vmlinux>, "
488 "I</boot/vmlinuz-${KERNELVERSION}>, I</boot/vmlinux-${KERNELVERSION}>, I</"
489 "boot/vmlinuz-linux>, or I</boot/vmlinux-linux>."
490 msgstr ""
491
492 #. type: Plain text
493 #: archlinux
494 msgid "B<--osrelease> I<filename>"
495 msgstr ""
496
497 #. type: Plain text
498 #: archlinux
499 msgid ""
500 "Include a os-release file for the unified kernel image. Default: I</etc/os-"
501 "release> or I</usr/lib/os-release>."
502 msgstr ""
503
504 #. type: SH
505 #: archlinux
506 #, no-wrap
507 msgid "ABOUT PRESETS"
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux
512 msgid ""
513 "A preset is a pre-defined definition on how to create an initial ramdisk. "
514 "Instead of specifying the configuration file and which output file, every "
515 "time you generate a new initial ramdisk, you define a preset and use the B<-"
516 "p> switch to generate an initial ramdisk according to your preset."
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux
521 msgid ""
522 "Typically, presets are files located in I</etc/mkinitcpio.d> with the "
523 "extension I<.preset>, e.g. I</etc/mkinitcpio.d/linux.preset> for the "
524 "B<linux> preset. It is possible to use files in other locations, too. Then "
525 "the path to this file needs to be specified."
526 msgstr ""
527
528 #. type: Plain text
529 #: archlinux
530 msgid ""
531 "Presets files are shell scripts that get sourced by mkinitcpio and the "
532 "following variables will influence its behavior."
533 msgstr ""
534
535 #. type: Plain text
536 #: archlinux
537 msgid ""
538 "Note, that mkinitcpio calls itself for each preset and passes the options "
539 "defined in the preset file file via command line arguments. Those are "
540 "mentioned in the description of the options below, so refer to the manual of "
541 "the command line arguments for more information about a particular option."
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux
546 msgid "B<PRESETS>"
547 msgstr ""
548
549 #. type: Plain text
550 #: archlinux
551 msgid ""
552 "An array of preset names defined in this file. These names will be used as "
553 "prefix to other options to provide preset-specific options. For example, if "
554 "a I<PRESET=(\\*(Aqcustom\\*(Aq)> is given, then the image is specified via "
555 "I<custom_image=\\*(Aq/boot/custom.img\\*(Aq>."
556 msgstr ""
557
558 #. type: Plain text
559 #: archlinux
560 msgid ""
561 "B<E<lt>presetE<gt>_kver> (defaults to value of B<ALL_kver> \\(em one of the "
562 "two is B<required>)"
563 msgstr ""
564
565 #. type: Plain text
566 #: archlinux
567 msgid "Specify the Kernel version (via B<-k> in mkinitcpio)."
568 msgstr ""
569
570 #. type: Plain text
571 #: archlinux
572 msgid ""
573 "B<E<lt>presetE<gt>_config> (defaults to value of B<ALL_config> \\(em one of "
574 "the two is B<required>)"
575 msgstr ""
576
577 #. type: Plain text
578 #: archlinux
579 msgid "Path to the configuration file (passed via B<-c> to mkinitcpio)."
580 msgstr ""
581
582 #. type: Plain text
583 #: archlinux
584 msgid ""
585 "B<E<lt>presetE<gt>_uki> (one of B<E<lt>presetE<gt>_uki> and "
586 "B<E<lt>presetE<gt>_image> is B<required>)"
587 msgstr ""
588
589 #. type: Plain text
590 #: archlinux
591 msgid ""
592 "Output file path for a unified kernel image (passed via B<-U> to mkinitcpio)."
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux
597 msgid ""
598 "B<E<lt>presetE<gt>_image> (one of B<E<lt>presetE<gt>_uki> and "
599 "B<E<lt>presetE<gt>_image> is B<required>)"
600 msgstr ""
601
602 #. type: Plain text
603 #: archlinux
604 msgid ""
605 "Output file path for the generated image (passed via B<-g> to mkinitcpio)."
606 msgstr ""
607
608 #. type: Plain text
609 #: archlinux
610 msgid "B<E<lt>presetE<gt>_cmdline> (defaults to value of B<ALL_cmdline>)"
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux
615 msgid ""
616 "Path to the kernel command line file (passed via B<--cmdline> to "
617 "mkinitcpio). This option is only used when generating unified kernel images."
618 msgstr ""
619
620 #. type: Plain text
621 #: archlinux
622 msgid "B<E<lt>presetE<gt>_splash> (defaults to value of B<ALL_splash>)"
623 msgstr ""
624
625 #. type: Plain text
626 #: archlinux
627 msgid ""
628 "Path to the splash image file (passed via B<--splash> to mkinitcpio). This "
629 "option is only used when generating unified kernel images."
630 msgstr ""
631
632 #. type: Plain text
633 #: archlinux
634 msgid "B<E<lt>presetE<gt>_kerneldest> (defaults to value of B<ALL_kerneldest>)"
635 msgstr ""
636
637 #. type: Plain text
638 #: archlinux
639 msgid ""
640 "Kernel destination path that will be passed to post hooks. This overrides "
641 "the default kernel location (usually /boot) and allows customization of "
642 "where the kernel should be located for booting. The value is passed to post "
643 "hooks via the KERNELDESTINATION environment variable."
644 msgstr ""
645
646 #. type: Plain text
647 #: archlinux
648 msgid "B<E<lt>presetE<gt>_options>"
649 msgstr ""
650
651 #. type: Plain text
652 #: archlinux
653 msgid ""
654 "Further command line arguments to pass to mkinitcpio as a string or array. "
655 "They will get appended at the end of the call to mkinitcpio (after all the "
656 "options mentioned above), so this can be used to overwrite options (for "
657 "example pass a B<-S> I<hook> here to skip a hook)."
658 msgstr ""
659
660 #. type: SH
661 #: archlinux
662 #, no-wrap
663 msgid "ABOUT INSTALL HOOKS"
664 msgstr ""
665
666 #. type: Plain text
667 #: archlinux
668 msgid ""
669 "Install hooks are bash scripts which are sourced during mkinitcpio runtime "
670 "in order to add modules, binaries, and other files to the image. A variety "
671 "of functions exist to facilitate this."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux
676 msgid "B<add_module> I<modname>"
677 msgstr ""
678
679 #. type: Plain text
680 #: archlinux
681 msgid ""
682 "Adds the module specified by I<modname> to the image. Dependencies are "
683 "derived and added automatically."
684 msgstr ""
685
686 #. type: Plain text
687 #: archlinux
688 msgid "B<add_binary> I<binary> [ I<destination> ] [ I<mode> ]"
689 msgstr ""
690
691 #. type: Plain text
692 #: archlinux
693 msgid ""
694 "Adds a binary to the image. The argument I<binary> need not be an absolute "
695 "path and, if needed, a lookup will be performed. If the binary is a "
696 "dynamically linked ELF binary, dependencies will be automatically added. If "
697 "it is a symlink, both the symlink and the target binary will be added. "
698 "Optionally, a destination within the initramfs image as well as a file mode "
699 "can be specified. By default, the destination and mode be taken from the "
700 "source derived from I<binary>."
701 msgstr ""
702
703 #. type: Plain text
704 #: archlinux
705 msgid "B<add_file> I<path> [ I<destination> ] [ I<mode> ]"
706 msgstr ""
707
708 #. type: Plain text
709 #: archlinux
710 msgid ""
711 "Adds a file and any needed parent directories to the image. If it is a "
712 "symlink, both the symlink and the target file will be added. Optionally, a "
713 "destination within the initramfs image as well as a file mode can be "
714 "specified. By default, the destination and mode will be taken from the "
715 "source and mode of the file specified by the I<path>."
716 msgstr ""
717
718 #. type: Plain text
719 #: archlinux
720 msgid "B<add_file_early> I<path> [ I<destination> ] [ I<mode> ]"
721 msgstr ""
722
723 #. type: Plain text
724 #: archlinux
725 msgid ""
726 "Adds a file and any needed parent directories to the early uncompressed "
727 "image. Works the same way as B<add_file>."
728 msgstr ""
729
730 #. type: Plain text
731 #: archlinux
732 msgid "B<add_dir> I<path>"
733 msgstr ""
734
735 #. type: Plain text
736 #: archlinux
737 msgid "Adds a directory and its parents to the image."
738 msgstr ""
739
740 #. type: Plain text
741 #: archlinux
742 msgid "B<add_dir_early> I<path>"
743 msgstr ""
744
745 #. type: Plain text
746 #: archlinux
747 msgid ""
748 "Adds a directory and its parents to the early uncompressed image. Works the "
749 "same way as B<add_dir>."
750 msgstr ""
751
752 #. type: Plain text
753 #: archlinux
754 msgid "B<add_full_dir> I<directory> [ I<glob> ] [ I<strip_prefix> ]"
755 msgstr ""
756
757 #. type: Plain text
758 #: archlinux
759 msgid ""
760 "Recursively adds a directory to the image by walking the given path and "
761 "calling B<add_file>, B<add_dir>, and B<add_symlink> accordingly. This "
762 "function will not follow symlinks, nor will it add the targets of symlinks."
763 msgstr ""
764
765 #. type: Plain text
766 #: archlinux
767 msgid ""
768 "If the I<glob> argument is passed, only files and symlinks matching this "
769 "glob will be added."
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux
774 msgid ""
775 "If the I<strip_prefix> argument is passed, it will be used to strip the "
776 "destination path (path in the initramfs image) from the prefix specified by "
777 "the I<strip_prefix> argument. This can be useful when writing rootfs-overlay "
778 "hooks."
779 msgstr ""
780
781 #. type: Plain text
782 #: archlinux
783 msgid "B<add_symlink> I<path> [ I<link-target> ]"
784 msgstr ""
785
786 #. type: Plain text
787 #: archlinux
788 msgid ""
789 "Adds a symlink to the image at the specified I<path>, optionally pointing to "
790 "the specified I<link-target>. If the I<link-target> is not provided, it is "
791 "assumed that this symlink exists in the real file system, and the target "
792 "will be read using B<readlink>(1). There is no checking done to ensure that "
793 "the target of the symlink exists, and symlinks will not be followed "
794 "recursively."
795 msgstr ""
796
797 #. type: Plain text
798 #: archlinux
799 msgid "B<add_all_modules> [ B<-f> I<filter> ] I<pattern>"
800 msgstr ""
801
802 #. type: Plain text
803 #: archlinux
804 msgid ""
805 "Adds modules to the image, without regard for the autodetect whitelist. "
806 "I<pattern> should be a subdirectory within the kernel tree describing a "
807 "subset of modules to be included. Further refinement can be provided via the "
808 "B<-f> flag with an extended regular expression."
809 msgstr ""
810
811 #. type: Plain text
812 #: archlinux
813 msgid "B<add_checked_modules> [ B<-f> I<filter> ] I<pattern>"
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux
818 msgid ""
819 "Similar to B<add_all_modules> with the constraint that only modules matching "
820 "the whitelist generated by the autodetect hook will be added to the image. "
821 "If the autodetect hook is not present in the image, this function is "
822 "identical to B<add_all_modules>."
823 msgstr ""
824
825 #. type: Plain text
826 #: archlinux
827 msgid "B<add_runscript> I<scriptname>"
828 msgstr ""
829
830 #. type: Plain text
831 #: archlinux
832 msgid ""
833 "Adds a runtime hook to the image, which is a busybox ash compatible shell "
834 "script. The name of the script is guaranteed to match the name of the hook "
835 "the script is called from."
836 msgstr ""
837
838 #. type: Plain text
839 #: archlinux
840 msgid "B<add_udev_rule> I<rule-file>"
841 msgstr ""
842
843 #. type: Plain text
844 #: archlinux
845 msgid ""
846 "Adds a udev rule to the image. Dependencies on binaries will be discovered "
847 "and added. The argument can be a rule file name (discovered from well known "
848 "udev paths) or an absolute path."
849 msgstr ""
850
851 #. type: Plain text
852 #: archlinux
853 msgid "B<add_all_modules_from_symbol> I<symbol> I<paths>"
854 msgstr ""
855
856 #. type: Plain text
857 #: archlinux
858 msgid ""
859 "Adds modules from the I<paths> directories containing the I<symbol> to the "
860 "image."
861 msgstr ""
862
863 #. type: Plain text
864 #: archlinux
865 msgid "B<add_checked_modules_from_symbol> I<symbol> I<paths>"
866 msgstr ""
867
868 #. type: Plain text
869 #: archlinux
870 msgid ""
871 "Similar to B<add_all_modules_from_symbol> with the constraint that only "
872 "modules matching the whitelist generated by the autodetect hook will be "
873 "added to the image. If the autodetect hook is not present in the image, this "
874 "function is identical to B<add_all_modules_from_symbol>."
875 msgstr ""
876
877 #. type: Plain text
878 #: archlinux
879 msgid "B<add_initcpio_binary> I<binary> [ I<destination> ] [ I<mode> ]"
880 msgstr ""
881
882 #. type: Plain text
883 #: archlinux
884 msgid ""
885 "Similar to B<add_binary> except it will look into I</usr/lib/initcpio> for "
886 "the binary to include into the image. This is useful for hooks that have "
887 "files inside the directory without hardcoding the path."
888 msgstr ""
889
890 #. type: SH
891 #: archlinux
892 #, no-wrap
893 msgid "ABOUT EARLY CPIO"
894 msgstr ""
895
896 #. type: Plain text
897 #: archlinux
898 msgid ""
899 "mkinitcpio has support for early CPIO. These are uncompressed CPIO archives "
900 "prepended to the main compressed CPIO archive. They are used for early "
901 "loading CPU microcode or loading ACPI table overrides."
902 msgstr ""
903
904 #. type: Plain text
905 #: archlinux
906 msgid ""
907 "Install hooks can install files to this archive by adding them to "
908 "I<$EARLYROOT>."
909 msgstr ""
910
911 #. type: SH
912 #: archlinux
913 #, no-wrap
914 msgid "ABOUT RUNTIME HOOKS"
915 msgstr ""
916
917 #. type: Plain text
918 #: archlinux
919 msgid ""
920 "Runtime hooks added to the image via the B<add_runscript> function from an "
921 "install hook are able to provide extra functionality during early "
922 "userspace. Specific functions in these files will run at different times. A "
923 "hook can define one or more of these. At each hook point, hooks are run in "
924 "the order that they are defined in the HOOKS variable, except for cleanup "
925 "hooks which are run in reverse."
926 msgstr ""
927
928 #. type: Plain text
929 #: archlinux
930 msgid "B<run_earlyhook>"
931 msgstr ""
932
933 #. type: Plain text
934 #: archlinux
935 msgid ""
936 "Functions of this name will be run once the API mounts have been setup and "
937 "the kernel command line has been parsed. Daemons needed for early userspace "
938 "should be started from this hook point."
939 msgstr ""
940
941 #. type: Plain text
942 #: archlinux
943 msgid "B<run_hook>"
944 msgstr ""
945
946 #. type: Plain text
947 #: archlinux
948 msgid ""
949 "Functions of this name will be run after any early hooks, and after user "
950 "defined modules have been installed. This is the most common hook point, and "
951 "functionality such as scanning for LVM volumes and mapping encrypted volumes "
952 "should be performed here."
953 msgstr ""
954
955 #. type: Plain text
956 #: archlinux
957 msgid "B<run_latehook>"
958 msgstr ""
959
960 #. type: Plain text
961 #: archlinux
962 msgid ""
963 "Functions of this name will be run after root has been mounted. This is "
964 "generally used for further necessary setup in the real root, such as "
965 "mounting other system partitions."
966 msgstr ""
967
968 #. type: Plain text
969 #: archlinux
970 msgid "B<run_cleanuphook>"
971 msgstr ""
972
973 #. type: Plain text
974 #: archlinux
975 msgid ""
976 "Functions of this name are run as late as possible. Any daemons started from "
977 "a B<run_earlyhook> function should be shut down here in preparation for "
978 "switching to the real root."
979 msgstr ""
980
981 #. type: Plain text
982 #: archlinux
983 msgid "B<run_emergencyhook>"
984 msgstr ""
985
986 #. type: Plain text
987 #: archlinux
988 msgid ""
989 "Functions of this name are run before the emergency shell launched in case "
990 "of boot failure. For example this allows boot splash screens to terminate "
991 "their process, so users will notice the failure."
992 msgstr ""
993
994 #. type: Plain text
995 #: archlinux
996 msgid "B<getarg> I<argument> [ I<default> ]"
997 msgstr ""
998
999 #. type: Plain text
1000 #: archlinux
1001 msgid ""
1002 "This function can be used in runtime hooks to get an argument from the "
1003 "kernel cmdline. If I<argument> exists with a value, the value is returned. "
1004 "If I<argument> exists without a value, I<y> is returned. If I<argument> does "
1005 "not exist, I<default> is returned. If I<default> is not specified, nothing "
1006 "is returned."
1007 msgstr ""
1008
1009 #. type: SH
1010 #: archlinux
1011 #, no-wrap
1012 msgid "ABOUT POST HOOKS"
1013 msgstr ""
1014
1015 #. type: Plain text
1016 #: archlinux
1017 msgid ""
1018 "Post hooks are executables or scripts executed after successful image "
1019 "generation for further processing, like signing. When B<kernel-install>(8) "
1020 "invokes mkinitcpio, post hooks are disabled."
1021 msgstr ""
1022
1023 #. type: Plain text
1024 #: archlinux
1025 msgid ""
1026 "They receive the kernel as the first argument, the image as second and "
1027 "optionally the unified kernel image as a third."
1028 msgstr ""
1029
1030 #. type: Plain text
1031 #: archlinux
1032 msgid ""
1033 "Note: If mkinitcpio is invoked with B<-k> I<none> or B<-k> I<version> and "
1034 "the kernel image is not found, the first argument will be empty."
1035 msgstr ""
1036
1037 #. type: Plain text
1038 #: archlinux
1039 msgid "The following environment variables are passed:"
1040 msgstr ""
1041
1042 #. type: Plain text
1043 #: archlinux
1044 msgid "B<KERNELVERSION>"
1045 msgstr ""
1046
1047 #. type: Plain text
1048 #: archlinux
1049 msgid "Contains the full version of the kernel the image has been built from."
1050 msgstr ""
1051
1052 #. type: Plain text
1053 #: archlinux
1054 msgid "B<KERNELDESTINATION>"
1055 msgstr ""
1056
1057 #. type: Plain text
1058 #: archlinux
1059 msgid ""
1060 "The default location where the kernel should be located for booting. This "
1061 "usually is the same as the first argument but might differ if mkinitcpio has "
1062 "not been invoked with B<-k> I</boot/*>. If no kernel image has been found "
1063 "this variable will be empty as well."
1064 msgstr ""
1065
1066 #. type: SH
1067 #: archlinux
1068 #, no-wrap
1069 msgid "EARLY INIT ENVIRONMENT"
1070 msgstr ""
1071
1072 #. type: Plain text
1073 #: archlinux
1074 msgid ""
1075 "mkinitcpio gives special treatment to certain environment variables passed "
1076 "on the kernel command line:"
1077 msgstr ""
1078
1079 #. type: Plain text
1080 #: archlinux
1081 msgid "B<break>[=I<E<lt>premount|postmountE<gt>>]"
1082 msgstr ""
1083
1084 #. type: Plain text
1085 #: archlinux
1086 msgid ""
1087 "If specified, mkinitcpio will start a shell during early init. The optional "
1088 "parameter controls when this occurs: when I<premount> or no parameter are "
1089 "specified, the shell will be launched prior to mounting root. If "
1090 "I<postmount> is specified, the shell will be launched after mounting root."
1091 msgstr ""
1092
1093 #. type: Plain text
1094 #: archlinux
1095 msgid "B<disablehooks=>I<hooklist>"
1096 msgstr ""
1097
1098 #. type: Plain text
1099 #: archlinux
1100 msgid ""
1101 "This is a comma separated list of hooks which will be skipped during early "
1102 "init."
1103 msgstr ""
1104
1105 #. type: Plain text
1106 #: archlinux
1107 msgid "B<earlymodules=>I<modulelist>"
1108 msgstr ""
1109
1110 #. type: Plain text
1111 #: archlinux
1112 msgid ""
1113 "This is a comma separated list of modules which will be loaded prior to any "
1114 "others. This is generally not needed, and usually points to a configuration "
1115 "or kernel problem."
1116 msgstr ""
1117
1118 #. type: Plain text
1119 #: archlinux
1120 msgid "B<quiet>"
1121 msgstr ""
1122
1123 #. type: Plain text
1124 #: archlinux
1125 msgid ""
1126 "Causes mkinitcpio to output fewer messages during boot. Errors will not be "
1127 "suppressed."
1128 msgstr ""
1129
1130 #. type: Plain text
1131 #: archlinux
1132 msgid "B<ro>"
1133 msgstr ""
1134
1135 #. type: Plain text
1136 #: archlinux
1137 msgid ""
1138 "Specifies that root should be mounted with readonly permissions. This is the "
1139 "default behavior."
1140 msgstr ""
1141
1142 #. type: Plain text
1143 #: archlinux
1144 msgid "B<rw>"
1145 msgstr ""
1146
1147 #. type: Plain text
1148 #: archlinux
1149 msgid ""
1150 "Specifies that root should be mounted with readwrite permissions. This is "
1151 "generally only useful if your initramfs uses the I<fsck> hook."
1152 msgstr ""
1153
1154 #. type: Plain text
1155 #: archlinux
1156 msgid "B<root=>I<rootdevice>"
1157 msgstr ""
1158
1159 #. type: Plain text
1160 #: archlinux
1161 msgid ""
1162 "This variable describes the root partition which early init will mount "
1163 "before passing control to the real init. mkinitcpio understands a variety of "
1164 "formats, the most basic of which is the path to the block device, either "
1165 "directly such as I</dev/sda2>, or using a udev symlink such as I</dev/disk/"
1166 "by-label/CorsairF80-root>. Support for identification by LABEL or UUID tags "
1167 "are also supported, such as, I<LABEL=CorsairF80-root>. As of util-linux "
1168 "2.22, PARTUUID and PARTLABEL are also supported. Identification via hex "
1169 "encoded major/minor device ID is supported for legacy reasons, but should be "
1170 "avoided as it tends to be fragile."
1171 msgstr ""
1172
1173 #. type: Plain text
1174 #: archlinux
1175 msgid "B<rootdelay>[=I<seconds>]"
1176 msgstr ""
1177
1178 #. type: Plain text
1179 #: archlinux
1180 msgid ""
1181 "Sets the delay, in seconds, that mkinitcpio is willing to wait for the root "
1182 "device to show up, if it is not available immediately. This defaults to "
1183 "I<10> seconds. If an invalid integer is passed, this variable will have no "
1184 "effect."
1185 msgstr ""
1186
1187 #. type: Plain text
1188 #: archlinux
1189 msgid "B<rootflags=>I<flaglist>"
1190 msgstr ""
1191
1192 #. type: Plain text
1193 #: archlinux
1194 msgid ""
1195 "A comma-separated list of flags which will be passed onto the B<mount>(8) "
1196 "command when mounting the root file system. Acceptable values are file "
1197 "system specific."
1198 msgstr ""
1199
1200 #. type: Plain text
1201 #: archlinux
1202 msgid "B<rootfstype=>I<fstype>"
1203 msgstr ""
1204
1205 #. type: Plain text
1206 #: archlinux
1207 msgid ""
1208 "Overrides the type of file system being mounted as root. This should almost "
1209 "never be needed as B<mount>(8) usually detects this on its own."
1210 msgstr ""
1211
1212 #. type: Plain text
1213 #: archlinux
1214 msgid "B<rd.debug>"
1215 msgstr ""
1216
1217 #. type: Plain text
1218 #: archlinux
1219 msgid ""
1220 "Enables shell debug (xtrace). If I<rd.log> is not also a parameter on the "
1221 "kernel command line, this parameter implies I<rd.log=console>."
1222 msgstr ""
1223
1224 #. type: Plain text
1225 #: archlinux
1226 msgid "B<rd.log>[I<=E<lt>console|file|kmsg|allE<gt>>]"
1227 msgstr ""
1228
1229 #. type: Plain text
1230 #: archlinux
1231 msgid ""
1232 "Enables logging of early userspace messages. If specified, the optional "
1233 "parameter describes where this information is logged. Multiple options can "
1234 "be B<OR>-d together using the pipe (|) character. Messages are always logged "
1235 "to the console unless the I<quiet> parameter is passed. If the optional "
1236 "parameter is not specified, I<kmsg|console> is assumed. If I<rd.log> is not "
1237 "present on the kernel command line, no logging will take place."
1238 msgstr ""
1239
1240 #. type: Plain text
1241 #: archlinux
1242 msgid "B<console>"
1243 msgstr ""
1244
1245 #. type: Plain text
1246 #: archlinux
1247 msgid "Writes output to I</dev/console>."
1248 msgstr ""
1249
1250 #. type: Plain text
1251 #: archlinux
1252 msgid "B<file>"
1253 msgstr ""
1254
1255 #. type: Plain text
1256 #: archlinux
1257 msgid "Writes output to I</run/initramfs/init.log>."
1258 msgstr ""
1259
1260 #. type: Plain text
1261 #: archlinux
1262 msgid "B<kmsg>"
1263 msgstr ""
1264
1265 #. type: Plain text
1266 #: archlinux
1267 msgid ""
1268 "Writes output to the I</dev/kmsg> device (introduced in Linux 3.5). This "
1269 "option is a no-op if your kernel lacks support for I</dev/kmsg>."
1270 msgstr ""
1271
1272 #. type: Plain text
1273 #: archlinux
1274 msgid "B<all>"
1275 msgstr ""
1276
1277 #. type: Plain text
1278 #: archlinux
1279 msgid "Writes output to all known log targets."
1280 msgstr ""
1281
1282 #. type: Plain text
1283 #: archlinux
1284 msgid ""
1285 "These are only the variables that the core of mkinitcpio honor. Additional "
1286 "hooks may look for other environment variables and should be documented by "
1287 "the help output for the hook."
1288 msgstr ""
1289
1290 #. type: SH
1291 #: archlinux
1292 #, no-wrap
1293 msgid "REPRODUCIBILITY"
1294 msgstr ""
1295
1296 #. type: Plain text
1297 #: archlinux
1298 msgid "mkinitcpio aims to create reproducible initramfs images by default."
1299 msgstr ""
1300
1301 #. type: Plain text
1302 #: archlinux
1303 msgid ""
1304 "This means that two subsequent runs of mkinitcpio should produce two files "
1305 "that are identical at the binary level."
1306 msgstr ""
1307
1308 #. type: Plain text
1309 #: archlinux
1310 msgid ""
1311 "Timestamps within the initramfs are set to the Unix epoch of 1970-01-01."
1312 msgstr ""
1313
1314 #. type: Plain text
1315 #: archlinux
1316 msgid ""
1317 "Note that in order for the build to be fully reproducible, the compressor "
1318 "specified (e.g. gzip, xz) must also produce reproducible archives. At the "
1319 "time of writing, as an inexhaustive example, the lzop compressor is "
1320 "incapable of producing reproducible archives due to the insertion of a "
1321 "runtime timestamp."
1322 msgstr ""
1323
1324 #. type: Plain text
1325 #: archlinux
1326 msgid ""
1327 "More information can be found at E<.URL \"https://reproducible-builds.org\" "
1328 "\"\" \".\">"
1329 msgstr ""
1330
1331 #. type: SH
1332 #: archlinux
1333 #, no-wrap
1334 msgid "FILES"
1335 msgstr ""
1336
1337 #. type: Plain text
1338 #: archlinux
1339 msgid "I</etc/mkinitcpio.conf>"
1340 msgstr ""
1341
1342 #. type: Plain text
1343 #: archlinux
1344 msgid "Default configuration file for mkinitcpio."
1345 msgstr ""
1346
1347 #. type: Plain text
1348 #: archlinux
1349 msgid "I</etc/mkinitcpio.conf.d>"
1350 msgstr ""
1351
1352 #. type: Plain text
1353 #: archlinux
1354 msgid "Directory containing drop-in configuration files."
1355 msgstr ""
1356
1357 #. type: Plain text
1358 #: archlinux
1359 msgid "I</etc/mkinitcpio.d>"
1360 msgstr ""
1361
1362 #. type: Plain text
1363 #: archlinux
1364 msgid "Directory containing mkinitcpio presets."
1365 msgstr ""
1366
1367 #. type: Plain text
1368 #: archlinux
1369 msgid "I</etc/initcpio/install>, I</usr/lib/initcpio/install>"
1370 msgstr ""
1371
1372 #. type: Plain text
1373 #: archlinux
1374 msgid "Search path for build time hooks."
1375 msgstr ""
1376
1377 #. type: Plain text
1378 #: archlinux
1379 msgid "I</etc/initcpio/hooks>, I</usr/lib/initcpio/hooks>"
1380 msgstr ""
1381
1382 #. type: Plain text
1383 #: archlinux
1384 msgid "Search path for early userspace runtime hooks."
1385 msgstr ""
1386
1387 #. type: Plain text
1388 #: archlinux
1389 msgid "I</etc/initcpio/post>, I</usr/lib/initcpio/post>"
1390 msgstr ""
1391
1392 #. type: Plain text
1393 #: archlinux
1394 msgid "Search path for post generation hooks."
1395 msgstr ""
1396
1397 #. type: SH
1398 #: archlinux
1399 #, no-wrap
1400 msgid "EXAMPLES"
1401 msgstr ""
1402
1403 #. type: Plain text
1404 #: archlinux
1405 msgid "B<mkinitcpio>"
1406 msgstr ""
1407
1408 #. type: Plain text
1409 #: archlinux
1410 msgid ""
1411 "Perform a dry-run. This will generate an initial ramdisk but will not write "
1412 "anything. Use B<-g> to create the real image."
1413 msgstr ""
1414
1415 #. type: Plain text
1416 #: archlinux
1417 msgid "B<mkinitcpio -p linux>"
1418 msgstr ""
1419
1420 #. type: Plain text
1421 #: archlinux
1422 msgid "Create an initial ramdisk based on the I<linux> preset."
1423 msgstr ""
1424
1425 #. type: Plain text
1426 #: archlinux
1427 msgid "B<mkinitcpio -g /boot/initramfs-linux.img -k /boot/vmlinuz-linux>"
1428 msgstr ""
1429
1430 #. type: Plain text
1431 #: archlinux
1432 msgid ""
1433 "Create an initial ramdisk for the kernel at /boot/vmlinuz-linux. The "
1434 "resulting image will be written to /boot/initramfs-linux.img."
1435 msgstr ""
1436
1437 #. type: Plain text
1438 #: archlinux
1439 msgid "B<mkinitcpio -U /efi/EFI/Linux/systemd-linux.efi>"
1440 msgstr ""
1441
1442 #. type: Plain text
1443 #: archlinux
1444 msgid ""
1445 "Create an initial ramdisk for the kernel along with a unified kernel image. "
1446 "The resulting executable will be written to I</efi/EFI/Linux/systemd-"
1447 "linux.efi>."
1448 msgstr ""
1449
1450 #. type: Plain text
1451 #: archlinux
1452 msgid ""
1453 "B<mkinitcpio -U /efi/EFI/Linux/systemd-linux.efi --splash /usr/share/systemd/"
1454 "bootctl/splash-arch.bmp>"
1455 msgstr ""
1456
1457 #. type: Plain text
1458 #: archlinux
1459 msgid ""
1460 "Create an initial ramdisk for the kernel and a unified kernel image. This "
1461 "also includes a splash image which will be used during boot."
1462 msgstr ""
1463
1464 #. type: SH
1465 #: archlinux
1466 #, no-wrap
1467 msgid "SEE ALSO"
1468 msgstr ""
1469
1470 #. type: Plain text
1471 #: archlinux
1472 msgid ""
1473 "A more thorough article on configuring mkinitcpio: E<.URL \"https://"
1474 "wiki.archlinux.org/title/mkinitcpio\" \"\" \"\">"
1475 msgstr ""
1476
1477 #. type: Plain text
1478 #: archlinux
1479 msgid "B<initrd>(4), B<lsinitcpio>(1), B<mkinitcpio.conf>(5), B<bootparam>(7)"
1480 msgstr ""
1481
1482 #. type: SH
1483 #: archlinux
1484 #, no-wrap
1485 msgid "BUGS"
1486 msgstr ""
1487
1488 #. type: Plain text
1489 #: archlinux
1490 msgid ""
1491 "Upon writing this man page, there were no noticeable bugs present. Please "
1492 "visit E<.URL \"https://gitlab.archlinux.org/archlinux/mkinitcpio/"
1493 "mkinitcpio/-/issues\" \"\" \"\"> for an up to date list."
1494 msgstr ""
1495
1496 #. type: SH
1497 #: archlinux
1498 #, no-wrap
1499 msgid "AUTHORS"
1500 msgstr ""
1501
1502 #. type: Plain text
1503 #: archlinux
1504 msgid ""
1505 "mkinitcpio is maintained by the Arch Linux community. Refer to the "
1506 "I<AUTHORS> file for a full list of contributors."
1507 msgstr ""
1508
1509 #. type: SH
1510 #: archlinux
1511 #, no-wrap
1512 msgid "COPYRIGHT"
1513 msgstr ""
1514
1515 #. type: Plain text
1516 #: archlinux
1517 msgid "Copyright 🄯 mkinitcpio contributors. GPL-2.0-only."
1518 msgstr ""