use sd-encrypt and lvm
This commit is contained in:
parent
8c216ffb82
commit
d6d44820ac
@ -3,7 +3,7 @@
|
|||||||
# The following modules are loaded before any boot hooks are
|
# The following modules are loaded before any boot hooks are
|
||||||
# run. Advanced users may wish to specify all system modules
|
# run. Advanced users may wish to specify all system modules
|
||||||
# in this array. For instance:
|
# in this array. For instance:
|
||||||
# MODULES=(piix ide_disk reiserfs)
|
# MODULES=(usbhid xhci_hcd)
|
||||||
MODULES=()
|
MODULES=()
|
||||||
|
|
||||||
# BINARIES
|
# BINARIES
|
||||||
@ -29,31 +29,32 @@ FILES=()
|
|||||||
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
|
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
|
||||||
# Examples:
|
# Examples:
|
||||||
## This setup specifies all modules in the MODULES setting above.
|
## This setup specifies all modules in the MODULES setting above.
|
||||||
## No raid, lvm2, or encrypted root is needed.
|
## No RAID, lvm2, or encrypted root is needed.
|
||||||
# HOOKS=(base)
|
# HOOKS=(base)
|
||||||
#
|
#
|
||||||
## This setup will autodetect all modules for your system and should
|
## This setup will autodetect all modules for your system and should
|
||||||
## work as a sane default
|
## work as a sane default
|
||||||
# HOOKS=(base udev autodetect block filesystems)
|
# HOOKS=(base udev autodetect modconf block filesystems fsck)
|
||||||
#
|
#
|
||||||
## This setup will generate a 'full' image which supports most systems.
|
## This setup will generate a 'full' image which supports most systems.
|
||||||
## No autodetection is done.
|
## No autodetection is done.
|
||||||
# HOOKS=(base udev block filesystems)
|
# HOOKS=(base udev modconf block filesystems fsck)
|
||||||
#
|
#
|
||||||
## This setup assembles a pata mdadm array with an encrypted root FS.
|
## This setup assembles a mdadm array with an encrypted root file system.
|
||||||
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
|
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
|
||||||
# HOOKS=(base udev block mdadm encrypt filesystems)
|
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
|
||||||
#
|
#
|
||||||
## This setup loads an lvm2 volume group on a usb device.
|
## This setup loads an lvm2 volume group.
|
||||||
# HOOKS=(base udev block lvm2 filesystems)
|
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
|
||||||
#
|
#
|
||||||
## NOTE: If you have /usr on a separate partition, you MUST include the
|
## NOTE: If you have /usr on a separate partition, you MUST include the
|
||||||
# usr, fsck and shutdown hooks.
|
# usr and fsck hooks.
|
||||||
HOOKS=(base udev systemd autodetect keyboard sd-vconsole modconf block sd-encrypt lvm2 filesystems resume fsck)
|
HOOKS=(base udev systemd autodetect modconf keyboard keymap block sd-encrypt lvm2 filesystems fsck)
|
||||||
|
|
||||||
# COMPRESSION
|
# COMPRESSION
|
||||||
# Use this to compress the initramfs image. By default, gzip compression
|
# Use this to compress the initramfs image. By default, zstd compression
|
||||||
# is used. Use 'cat' to create an uncompressed image.
|
# is used. Use 'cat' to create an uncompressed image.
|
||||||
|
#COMPRESSION="zstd"
|
||||||
#COMPRESSION="gzip"
|
#COMPRESSION="gzip"
|
||||||
#COMPRESSION="bzip2"
|
#COMPRESSION="bzip2"
|
||||||
#COMPRESSION="lzma"
|
#COMPRESSION="lzma"
|
||||||
@ -64,3 +65,9 @@ HOOKS=(base udev systemd autodetect keyboard sd-vconsole modconf block sd-encryp
|
|||||||
# COMPRESSION_OPTIONS
|
# COMPRESSION_OPTIONS
|
||||||
# Additional options for the compressor
|
# Additional options for the compressor
|
||||||
#COMPRESSION_OPTIONS=()
|
#COMPRESSION_OPTIONS=()
|
||||||
|
|
||||||
|
# MODULES_DECOMPRESS
|
||||||
|
# Decompress kernel modules during initramfs creation.
|
||||||
|
# Enable to speedup boot process, disable to save RAM
|
||||||
|
# during early userspace. Switch (yes/no).
|
||||||
|
#MODULES_DECOMPRESS="yes"
|
||||||
|
Loading…
Reference in New Issue
Block a user