archlinux

22 - Initramfs

Previous: Configure swap

References:


Edit the config file with

nano /etc/mkinitcpio.conf

Set

HOOKS=(base udev autodetect microcode modconf kms keyboard keymap encrypt block filesystems)

Note: If you are using the btrfs filesystem for the root partition and includes the module fsck on HOOKS, you will get an error message when you generate the initramfs. This will happen because the utility fsck.btrfs does not exist.

Install intel microcode:

pacman -S intel-ucode

Alternatively, install AMD microcode:

pacman -S amd-ucode

Create the initial ram disk:

mkinitcpio -P

Next: Set toot password