Skip to content

Commit 3c3ee1d

Browse files
committed
[update] : Latest mkinitcpio.conf
1 parent b91dbb6 commit 3c3ee1d

File tree

4 files changed

+197
-6
lines changed

4 files changed

+197
-6
lines changed

mkinitcpio/mkinitcpio-archiso-plymouth.conf

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,136 @@
88
# /etc/mkinitcpio-archiso.conf
99
#
1010

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.
11128
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"
12137
COMPRESSION="xz"
138+
#COMPRESSION="lzop"
139+
#COMPRESSION="lz4"
140+
141+
# COMPRESSION_OPTIONS
142+
# Additional options for the compressor
13143
COMPRESSION_OPTIONS=(--check=crc32 --threads=8)

mkinitcpio/mkinitcpio-archiso.conf

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,69 @@
88
# /etc/mkinitcpio-archiso.conf
99
#
1010

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.
1161
HOOKS=(base udev memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard)
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"
1270
COMPRESSION="xz"
71+
#COMPRESSION="lzop"
72+
#COMPRESSION="lz4"
73+
74+
# COMPRESSION_OPTIONS
75+
# Additional options for the compressor
1376
COMPRESSION_OPTIONS=(--check=crc32 --threads=8)

mkinitcpio/mkinitcpio-plymouth.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# /etc/mkinitcpio.conf
99
#
1010

11-
# vim:set ft=sh
1211
# MODULES
1312
# The following modules are loaded before any boot hooks are
1413
# run. Advanced users may wish to specify all system modules
@@ -62,15 +61,15 @@ FILES=()
6261
HOOKS=(base udev plymouth autodetect modconf block filesystems keyboard fsck)
6362

6463
# COMPRESSION
65-
# Use this to compress the initramfs image. By default, gzip compression
64+
# Use this to compress the initramfs image. By default, zstd compression
6665
# is used. Use 'cat' to create an uncompressed image.
66+
#COMPRESSION="zstd"
6767
#COMPRESSION="gzip"
6868
#COMPRESSION="bzip2"
6969
#COMPRESSION="lzma"
7070
#COMPRESSION="xz"
7171
#COMPRESSION="lzop"
7272
#COMPRESSION="lz4"
73-
#COMPRESSION="zstd"
7473

7574
# COMPRESSION_OPTIONS
7675
# Additional options for the compressor

mkinitcpio/mkinitcpio.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# /etc/mkinitcpio.conf
99
#
1010

11-
# vim:set ft=sh
1211
# MODULES
1312
# The following modules are loaded before any boot hooks are
1413
# run. Advanced users may wish to specify all system modules
@@ -62,15 +61,15 @@ FILES=()
6261
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
6362

6463
# COMPRESSION
65-
# Use this to compress the initramfs image. By default, gzip compression
64+
# Use this to compress the initramfs image. By default, zstd compression
6665
# is used. Use 'cat' to create an uncompressed image.
66+
#COMPRESSION="zstd"
6767
#COMPRESSION="gzip"
6868
#COMPRESSION="bzip2"
6969
#COMPRESSION="lzma"
7070
#COMPRESSION="xz"
7171
#COMPRESSION="lzop"
7272
#COMPRESSION="lz4"
73-
#COMPRESSION="zstd"
7473

7574
# COMPRESSION_OPTIONS
7675
# Additional options for the compressor

0 commit comments

Comments
 (0)