Skip to content

Instantly share code, notes, and snippets.

@dontdieych
Last active December 31, 2025 08:16
Show Gist options
  • Select an option

  • Save dontdieych/a2f8c3a996dad4444edc4e7046c49515 to your computer and use it in GitHub Desktop.

Select an option

Save dontdieych/a2f8c3a996dad4444edc4e7046c49515 to your computer and use it in GitHub Desktop.
diff -ruN /etc/mkinitcpio.conf /etc/mkinitcpio.conf.pacnew
--- /etc/mkinitcpio.conf 2025-08-18 15:21:28.158220697 +0900
+++ /etc/mkinitcpio.conf.pacnew 2025-12-23 21:24:08.000000000 +0900
@@ -1,4 +1,4 @@
-# vim:set ft=sh
+# vim:set ft=sh:
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
@@ -34,25 +34,25 @@
#
## This setup will autodetect all modules for your system and should
## work as a sane default
-# HOOKS=(base udev autodetect modconf block filesystems fsck)
+# HOOKS=(base udev autodetect microcode modconf block filesystems fsck)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
-# HOOKS=(base udev modconf block filesystems fsck)
+# HOOKS=(base udev microcode modconf block filesystems fsck)
#
## 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)
+# HOOKS=(base udev microcode modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
## This setup loads an lvm2 volume group.
-# HOOKS=(base udev modconf block lvm2 filesystems fsck)
+# HOOKS=(base udev microcode modconf block lvm2 filesystems fsck)
#
## This will create a systemd based initramfs which loads an encrypted root filesystem.
-# HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
+# HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr and fsck hooks.
-HOOKS=(base asahi udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
+HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block filesystems fsck)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment