You are not logged in.
Hello all,
I got an Arch install, using systemd with mkinitcipio and initrams.
On boot, I got boot options, for my 3 kernels (arch, zen, lts), plus the fallback kernel. I need to add some boot options to those and according to the wiki, these should be added to /boot/loader/entries… However, that directory is empty. I can create the config files there, following the steps in the wiki (arch.config, arch-lts.config and arch-zen.config) and these options will be showing up, in addition to the existing ones, i.e., they are duplicated. However, they won't boot, due to the missing initramfs.img. Plus, they make my boot entries quite messy, as they are added to those, that are already there.
My assumption is, that the kernel.config files and the initramfs.img files are stored in a different location? They clearly must be there, since the boot options show up, but I have been unable to locate them, nor the initramfs.imgs.
Would anybody have an idea, where to find them, to make my kernel parameters persistent? It is quite annoying, having to hit e all the time, to add them manually.
I guess, if possible, another option would be, to get rid of systemd and install grub instead?
I have been able, to personalize most of my configs and set the system up perfectly to my liking. This is the only thing that, despite doing research and reading, I am unable to fix. So hopefully, someone can point to the right direction.
Cheers,
Ben
Last edited by BenjB83 (2025-01-25 23:16:50)
Offline
How did you set this system up? It kind of sounds like you're using UKIs?
Offline
How did you set this system up? It kind of sounds like you're using UKIs?
Thanks for your reply. I actually did set UKIs up when I set up the system... however, according to the Wiki, kernel parameters for UKI are in .conf files stored in /etc/cmdline.d/. This directory does not exist. Further the Wiki mentions, that kernel parameters can be set in /etc/kernel/cmdline. This file actually does exist. Here is its contents:
root=PARTUUID=6a4c7004-1687-44e7-8f9d-80957bfae7e4 zswap.enabled=0 rw rootfstype=ext4 nosgx sysrq_always_enabled quiet splash
However, this does not seem to work either, as these kernel parameters are not applied. It's not booting quietly.
Cheers
Last edited by BenjB83 (2025-01-25 21:24:29)
Offline
And how do you know it's "not booting quietly"?
Offline
And how do you know it's "not booting quietly"?
Because when I hit e during boot and put in nosgx quiet splash, I only get to see the Arch splash screen and no SGX disabled warnings or any other warnings... However, even after adding the options to the /etc/kernel/cmdline, I do get the nosgx warning when I reboot, despite the kernel parameter being set.
Offline
You have to regenerate the UKI to apply the new options.
Para todos todo, para nosotros nada
Offline
You have to regenerate the UKI to apply the new options.
*facepalm* Yes I do and using mkinitcipio -P, which worked... This is the first time I am using UKI...
Thanks for your help guys.
Cheers
Offline