On Mon, 2024-01-15 at 19:30 +0000, Serge Korol wrote:
> sizes of img files with latest mkinitcpio 37.2-1
>
* Things seem quite reasonable again with the latest release of
mkinitcpio
* I stopped keeping fallback images for both dracut and mkinitcpio.
You may or may not choose to do this too.
* -If- you choose to do this and ever need a driver in the initrd for
changed hardware (e.g. root drive disk controller) then for that
somewhat rare case one should keep a handy usb drive with arch
installer so you can boot that and regen the initrd.
Benefits of no fallback:
* smaller space usage and much faster regeneration of initrd [1]
* If you choose to no longer keep fallback image then the following is
one way to do it:
1) edit /etc/mkinitcpio.d/linux.preset
Change preset line to be
PRESETS=('default')
2) rm /boot/initramfs-linux-fallback.img
3) Confirm regen initrd:
mkinitcpio -P (or -p linux)
gene
[1] Its initramfs but initrd, while not the same, is sometimes used in
place of initramfs and its shorter to type 🙂