hayfe

etc/mkinitcpio.conf

Jul 28th, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | Software | 0 0
  1. grml@grml ~ % cat /media/mmcblk0p3/etc/mkinitcpio.conf
  2. # vim:set ft=sh
  3. # MODULES
  4. # The following modules are loaded before any boot hooks are
  5. # run. Advanced users may wish to specify all system modules
  6. # in this array. For instance:
  7. # MODULES=(usbhid xhci_hcd)
  8. MODULES=()
  9.  
  10. # BINARIES
  11. # This setting includes any additional binaries a given user may
  12. # wish into the CPIO image. This is run last, so it may be used to
  13. # override the actual binaries included by a given hook
  14. # BINARIES are dependency parsed, so you may safely ignore libraries
  15. BINARIES=()
  16.  
  17. # FILES
  18. # This setting is similar to BINARIES above, however, files are added
  19. # as-is and are not parsed in any way. This is useful for config files.
  20. FILES=()
  21.  
  22. # HOOKS
  23. # This is the most important setting in this file. The HOOKS control the
  24. # modules and scripts added to the image, and what happens at boot time.
  25. # Order is important, and it is recommended that you do not change the
  26. # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
  27. # help on a given hook.
  28. # 'base' is _required_ unless you know precisely what you are doing.
  29. # 'udev' is _required_ in order to automatically load modules
  30. # 'filesystems' is _required_ unless you specify your fs modules in MODULES
  31. # Examples:
  32. ## This setup specifies all modules in the MODULES setting above.
  33. ## No RAID, lvm2, or encrypted root is needed.
  34. # HOOKS=(base)
  35. #
  36. ## This setup will autodetect all modules for your system and should
  37. ## work as a sane default
  38. # HOOKS=(base udev autodetect modconf block filesystems fsck)
  39. #
  40. ## This setup will generate a 'full' image which supports most systems.
  41. ## No autodetection is done.
  42. # HOOKS=(base udev modconf block filesystems fsck)
  43. #
  44. ## This setup assembles a mdadm array with an encrypted root file system.
  45. ## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
  46. # HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
  47. #
  48. ## This setup loads an lvm2 volume group.
  49. # HOOKS=(base udev modconf block lvm2 filesystems fsck)
  50. #
  51. ## This will create a systemd based initramfs which loads an encrypted root filesystem.
  52. # HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
  53. #
  54. ## NOTE: If you have /usr on a separate partition, you MUST include the
  55. # usr and fsck hooks.
  56. HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
  57.  
  58. # COMPRESSION
  59. # Use this to compress the initramfs image. By default, zstd compression
  60. # is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
  61. # Use 'cat' to create an uncompressed image.
  62. #COMPRESSION="zstd"
  63. #COMPRESSION="gzip"
  64. #COMPRESSION="bzip2"
  65. #COMPRESSION="lzma"
  66. #COMPRESSION="xz"
  67. #COMPRESSION="lzop"
  68. #COMPRESSION="lz4"
  69.  
  70. # COMPRESSION_OPTIONS
  71. # Additional options for the compressor
  72. #COMPRESSION_OPTIONS=()
  73.  
  74. # MODULES_DECOMPRESS
  75. # Decompress loadable kernel modules and their firmware during initramfs
  76. # creation. Switch (yes/no).
  77. # Enable to allow further decreasing image size when using high compression
  78. # (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
  79. # at early boot.
  80. # Note that any compressed files will be placed in the uncompressed early CPIO
  81. # to avoid double compression.
  82. #MODULES_DECOMPRESS="no"
Advertisement
Add Comment
Please, Sign In to add comment