I’m trying to figure out how to add some kernel params.
While installing EOS I didn’t choose a particular bootloader, so my guess it’s the systemd-boot, right?
I tried to press “e” while booting and added my params, but…
How do I check if they are indeed applied? I run this script, but it didn’t show my params:
cat /proc/modules | cut -f 1 -d " " | while read module; do \
echo "Module: $module"; \
if [ -d "/sys/module/$module/parameters" ]; then \
ls /sys/module/$module/parameters/ | while read parameter; do \
echo -n "Parameter: $parameter --> "; \
cat /sys/module/$module/parameters/$parameter; \
done; \
fi; \
echo; \
done
To make the change persistent after reboot, I need to edit /boot/loader/entries/arch.conf, right? But shouldn’t it exist already? Maybe it has some other location for EOS?
Worked like a charm.
One thing, though. If I would use pure Arch, what would I need to do instead of reinstall-kernels? I guess it’s EOS’ thing, right?
It depends, that command comes from the package kernel-install-for-dracut which is also in the AUR. If you used that, it would work the same way.
If you don’t use the automation provided by kernel-install and the above package, you would have to first manually create one or more entry files for each kernel in /efi/loader/entries and then make the modifications there. You would also need to create and remove those files manually as you add and remove kernels.