|
8 | 8 | # /etc/mkinitcpio-archiso.conf |
9 | 9 | # |
10 | 10 |
|
| 11 | +# MODULES |
| 12 | +# The following modules are loaded before any boot hooks are |
| 13 | +# run. Advanced users may wish to specify all system modules |
| 14 | +# in this array. For instance: |
| 15 | +# MODULES=(piix ide_disk reiserfs) |
| 16 | +MODULES=() |
| 17 | + |
| 18 | +# BINARIES |
| 19 | +# This setting includes any additional binaries a given user may |
| 20 | +# wish into the CPIO image. This is run last, so it may be used to |
| 21 | +# override the actual binaries included by a given hook |
| 22 | +# BINARIES are dependency parsed, so you may safely ignore libraries |
| 23 | +BINARIES=() |
| 24 | + |
| 25 | +# FILES |
| 26 | +# This setting is similar to BINARIES above, however, files are added |
| 27 | +# as-is and are not parsed in any way. This is useful for config files. |
| 28 | +FILES=() |
| 29 | + |
| 30 | +# HOOKS |
| 31 | +# This is the most important setting in this file. The HOOKS control the |
| 32 | +# modules and scripts added to the image, and what happens at boot time. |
| 33 | +# Order is important, and it is recommended that you do not change the |
| 34 | +# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for |
| 35 | +# help on a given hook. |
| 36 | +# 'base' is _required_ unless you know precisely what you are doing. |
| 37 | +# 'udev' is _required_ in order to automatically load modules |
| 38 | +# 'filesystems' is _required_ unless you specify your fs modules in MODULES |
| 39 | +# Examples: |
| 40 | +## This setup specifies all modules in the MODULES setting above. |
| 41 | +## No raid, lvm2, or encrypted root is needed. |
| 42 | +# HOOKS=(base) |
| 43 | +# |
| 44 | +## This setup will autodetect all modules for your system and should |
| 45 | +## work as a sane default |
| 46 | +# HOOKS=(base udev autodetect block filesystems) |
| 47 | +# |
| 48 | +## This setup will generate a 'full' image which supports most systems. |
| 49 | +## No autodetection is done. |
| 50 | +# HOOKS=(base udev block filesystems) |
| 51 | +# |
| 52 | +## This setup assembles a pata mdadm array with an encrypted root FS. |
| 53 | +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. |
| 54 | +# HOOKS=(base udev block mdadm encrypt filesystems) |
| 55 | +# |
| 56 | +## This setup loads an lvm2 volume group on a usb device. |
| 57 | +# HOOKS=(base udev block lvm2 filesystems) |
| 58 | +# |
| 59 | +## NOTE: If you have /usr on a separate partition, you MUST include the |
| 60 | +# usr, fsck and shutdown hooks. |
| 61 | +HOOKS=(base udev autodetect modconf block filesystems keyboard fsck) |
| 62 | + |
| 63 | +# COMPRESSION |
| 64 | +# Use this to compress the initramfs image. By default, zstd compression |
| 65 | +# is used. Use 'cat' to create an uncompressed image. |
| 66 | +#COMPRESSION="zstd" |
| 67 | +#COMPRESSION="gzip" |
| 68 | +#COMPRESSION="bzip2" |
| 69 | +#COMPRESSION="lzma" |
| 70 | +#COMPRESSION="xz" |
| 71 | +#COMPRESSION="lzop" |
| 72 | +#COMPRESSION="lz4" |
| 73 | + |
| 74 | +# COMPRESSION_OPTIONS |
| 75 | +# Additional options for the compressor |
| 76 | +#COMPRESSION_OPTIONS=() |
| 77 | + |
| 78 | +# MODULES |
| 79 | +# The following modules are loaded before any boot hooks are |
| 80 | +# run. Advanced users may wish to specify all system modules |
| 81 | +# in this array. For instance: |
| 82 | +# MODULES=(piix ide_disk reiserfs) |
| 83 | +MODULES=() |
| 84 | + |
| 85 | +# BINARIES |
| 86 | +# This setting includes any additional binaries a given user may |
| 87 | +# wish into the CPIO image. This is run last, so it may be used to |
| 88 | +# override the actual binaries included by a given hook |
| 89 | +# BINARIES are dependency parsed, so you may safely ignore libraries |
| 90 | +BINARIES=() |
| 91 | + |
| 92 | +# FILES |
| 93 | +# This setting is similar to BINARIES above, however, files are added |
| 94 | +# as-is and are not parsed in any way. This is useful for config files. |
| 95 | +FILES=() |
| 96 | + |
| 97 | +# HOOKS |
| 98 | +# This is the most important setting in this file. The HOOKS control the |
| 99 | +# modules and scripts added to the image, and what happens at boot time. |
| 100 | +# Order is important, and it is recommended that you do not change the |
| 101 | +# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for |
| 102 | +# help on a given hook. |
| 103 | +# 'base' is _required_ unless you know precisely what you are doing. |
| 104 | +# 'udev' is _required_ in order to automatically load modules |
| 105 | +# 'filesystems' is _required_ unless you specify your fs modules in MODULES |
| 106 | +# Examples: |
| 107 | +## This setup specifies all modules in the MODULES setting above. |
| 108 | +## No raid, lvm2, or encrypted root is needed. |
| 109 | +# HOOKS=(base) |
| 110 | +# |
| 111 | +## This setup will autodetect all modules for your system and should |
| 112 | +## work as a sane default |
| 113 | +# HOOKS=(base udev autodetect block filesystems) |
| 114 | +# |
| 115 | +## This setup will generate a 'full' image which supports most systems. |
| 116 | +## No autodetection is done. |
| 117 | +# HOOKS=(base udev block filesystems) |
| 118 | +# |
| 119 | +## This setup assembles a pata mdadm array with an encrypted root FS. |
| 120 | +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. |
| 121 | +# HOOKS=(base udev block mdadm encrypt filesystems) |
| 122 | +# |
| 123 | +## This setup loads an lvm2 volume group on a usb device. |
| 124 | +# HOOKS=(base udev block lvm2 filesystems) |
| 125 | +# |
| 126 | +## NOTE: If you have /usr on a separate partition, you MUST include the |
| 127 | +# usr, fsck and shutdown hooks. |
11 | 128 | HOOKS=(base udev plymouth memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard) |
| 129 | + |
| 130 | +# COMPRESSION |
| 131 | +# Use this to compress the initramfs image. By default, zstd compression |
| 132 | +# is used. Use 'cat' to create an uncompressed image. |
| 133 | +#COMPRESSION="zstd" |
| 134 | +#COMPRESSION="gzip" |
| 135 | +#COMPRESSION="bzip2" |
| 136 | +#COMPRESSION="lzma" |
12 | 137 | COMPRESSION="xz" |
| 138 | +#COMPRESSION="lzop" |
| 139 | +#COMPRESSION="lz4" |
| 140 | + |
| 141 | +# COMPRESSION_OPTIONS |
| 142 | +# Additional options for the compressor |
13 | 143 | COMPRESSION_OPTIONS=(--check=crc32 --threads=8) |
0 commit comments