shell-things/etc/dracut.conf.d/README.md

1.8 KiB

My dracut configuration files mainly for generating unified kerneil images (uki).

WARNING!

Sedric has a 96M EFI partition courtesy of Windows and thus it has a lot of attempts for decreasing the kernel size. Since moving it to UKI, I am yet to go through what of it is actually useful and worth keeping around and at least disabling recovery seems dangerous if I can save space by omitting somnething else.

network

dracut[E]: Module 'cifs' depends on 'network', which can't be installed
dracut[E]: Module 'iscsi' depends on 'network', which can't be installed
dracut[E]: Module 'nvmf' depends on 'network', which can't be installed

I think nvmf might be relevant on ThinkPads, so it gets out of omit_modules

At least it resolves these two…

Error registering initrd: Already started Error starting kernel image: Already started

…which cause fallback to the next UEFI boot entry (why is that grub still around?)

hostonly

Will make a UKI specific to the current hardware and is discouraged as it will obviously prevent booting on a different hardware and hardware changes may render the system unbootable. However I am more of a software person, so I imagine that is unlikely to happen for me.

If planning hardware changes, maybe disable this flag? Or maybe if you have infinite space for kernel, keep it off?