Guest User

Untitled

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