diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2022-11-24 14:49:43 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2022-11-24 14:49:43 -0800 |
commit | 5b7fcce71e637472270c4782a8dd4ab04a9d5c14 (patch) | |
tree | 6477c71ff878cca665ff2eb2d9b52bd6f7c0b391 /etc/mkinitcpio.conf | |
parent | e2ea6111828222277a9685722cf0ad9b89a5ce5d (diff) |
pacdiff
Diffstat (limited to 'etc/mkinitcpio.conf')
-rw-r--r-- | etc/mkinitcpio.conf | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf index 74109949..2909c571 100644 --- a/etc/mkinitcpio.conf +++ b/etc/mkinitcpio.conf @@ -3,7 +3,7 @@ # The following modules are loaded before any boot hooks are # run. Advanced users may wish to specify all system modules # in this array. For instance: -# MODULES=(piix ide_disk reiserfs) +# MODULES=(usbhid xhci_hcd) MODULES=() # BINARIES @@ -29,26 +29,26 @@ FILES=() # 'filesystems' is _required_ unless you specify your fs modules in MODULES # Examples: ## 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) # ## This setup will autodetect all modules for your system and should ## 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. ## 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. -## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. -# HOOKS=(base udev block mdadm encrypt filesystems) +## This setup assembles a mdadm array with an encrypted root file system. +## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices. +# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck) # -## This setup loads an lvm2 volume group on a usb device. -# HOOKS=(base udev block lvm2 filesystems) +## This setup loads an lvm2 volume group. +# HOOKS=(base udev modconf block lvm2 filesystems fsck) # ## NOTE: If you have /usr on a separate partition, you MUST include the -# usr, fsck and shutdown hooks. +# usr and fsck hooks. HOOKS=(base systemd autodetect keyboard modconf block sd-encrypt filesystems fsck) # COMPRESSION @@ -65,3 +65,9 @@ HOOKS=(base systemd autodetect keyboard modconf block sd-encrypt filesystems fsc # COMPRESSION_OPTIONS # Additional options for the compressor #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" |