mkinitcpio.conf 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # vim:set ft=sh
  2. # MODULES
  3. # The following modules are loaded before any boot hooks are
  4. # run. Advanced users may wish to specify all system modules
  5. # in this array. For instance:
  6. # MODULES=(piix ide_disk reiserfs)
  7. MODULES=()
  8. # BINARIES
  9. # This setting includes any additional binaries a given user may
  10. # wish into the CPIO image. This is run last, so it may be used to
  11. # override the actual binaries included by a given hook
  12. # BINARIES are dependency parsed, so you may safely ignore libraries
  13. BINARIES=()
  14. # FILES
  15. # This setting is similar to BINARIES above, however, files are added
  16. # as-is and are not parsed in any way. This is useful for config files.
  17. FILES=()
  18. # HOOKS
  19. # This is the most important setting in this file. The HOOKS control the
  20. # modules and scripts added to the image, and what happens at boot time.
  21. # Order is important, and it is recommended that you do not change the
  22. # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
  23. # help on a given hook.
  24. # 'base' is _required_ unless you know precisely what you are doing.
  25. # 'udev' is _required_ in order to automatically load modules
  26. # 'filesystems' is _required_ unless you specify your fs modules in MODULES
  27. # Examples:
  28. ## This setup specifies all modules in the MODULES setting above.
  29. ## No raid, lvm2, or encrypted root is needed.
  30. # HOOKS=(base)
  31. #
  32. ## This setup will autodetect all modules for your system and should
  33. ## work as a sane default
  34. # HOOKS=(base udev autodetect block filesystems)
  35. #
  36. ## This setup will generate a 'full' image which supports most systems.
  37. ## No autodetection is done.
  38. # HOOKS=(base udev block filesystems)
  39. #
  40. ## This setup assembles a pata mdadm array with an encrypted root FS.
  41. ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
  42. # HOOKS=(base udev block mdadm encrypt filesystems)
  43. #
  44. ## This setup loads an lvm2 volume group on a usb device.
  45. # HOOKS=(base udev block lvm2 filesystems)
  46. #
  47. ## NOTE: If you have /usr on a separate partition, you MUST include the
  48. # usr, fsck and shutdown hooks.
  49. HOOKS=(base udev autodetect modconf block lvm2 filesystems keyboard resume fsck)
  50. # COMPRESSION
  51. # Use this to compress the initramfs image. By default, gzip compression
  52. # is used. Use 'cat' to create an uncompressed image.
  53. #COMPRESSION="zstd"
  54. #COMPRESSION="gzip"
  55. #COMPRESSION="bzip2"
  56. #COMPRESSION="lzma"
  57. #COMPRESSION="xz"
  58. #COMPRESSION="lzop"
  59. #COMPRESSION="lz4"
  60. # COMPRESSION_OPTIONS
  61. # Additional options for the compressor
  62. #COMPRESSION_OPTIONS=()