Continuing the discussion from Mkinitcpio.conf.pacnew:
** crypto_keyfile.bin left out?
**
I am looking into the mkinitcpio.conf and wondered why in recent new installs I couldnt boot later installed kernels and only the originally installed 6.9 worked. It might be due to the pacnew. I am using an encrypted installation on ext4 and MBR (2012 laptop) and always overwrote with the pacnew in my previous 2 installs (this is my third new install of 24.0). This time I want 6.6 and 6.1 to be able to boot from as well.
This line seemy wrong for my encrypted installation: Should dismiss the line change and only apply the other lines?
19c19
< FILES=()
---
> FILES=(/crypto_keyfile.bin)
55c55
It seems wrong to me to leave crypto_keyfile.bin out for the boot? ( FILES=() would be the new line).
These diffs seem ok:
< HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
---
> HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont plymouth encrypt openswap resume filesystems fsck)
58,61c58,59
< # Use this to compress the initramfs image. By default, zstd compression
< # is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
< # Use 'cat' to create an uncompressed image.
< #COMPRESSION="zstd"
---
> # Use this to compress the initramfs image. By default, gzip compression
> # is used. Use 'cat' to create an uncompressed image.
67a66
> #COMPRESSION="zstd"
74,81c73,76
< # Decompress loadable kernel modules and their firmware during initramfs
< # creation. Switch (yes/no).
< # Enable to allow further decreasing image size when using high compression
< # (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
< # at early boot.
< # Note that any compressed files will be placed in the uncompressed early CPIO
< # to avoid double compression.
< #MODULES_DECOMPRESS="no"
---
> # Decompress kernel modules during initramfs creation.
> # Enable to speedup boot process, disable to save RAM
> # during early userspace. Switch (yes/no).
> #MODULES_DECOMPRESS="yes"
However, why is “resume” missing?