You are not logged in.

#1 2023-12-12 11:05:16

FreundBernd
Member
Registered: 2023-12-12
Posts: 4

Adding kernel parameters with systemd boot

Hi there!
I just installed my first Arch Linux. Now I would like to add some kernel parameters (for installing plymouth and CoreCtrl).
Since I'm using systemd boot, I set up two files like this:

/boot/loader/loader.conf looks like this:

timeout 3

/boot/loader/entries/arch.conf looks like this:

title Arch Linux (linux)
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=acc81254-f27b-48cd-94bb-ec5b45f40a70 rw rootfstype=ext4 quiet amdgpu.ppfeaturemask=0xffffffff

After I added the options, I rebooted the machine. But neither quiet seems to work (kernel messages during boot should be gone, right?) nor amdgpu... works (CoreCtrl still does not show any advanced options).
Have I set up the files correctly? Is there another step required to apply these configs?

Last edited by FreundBernd (2023-12-12 19:28:17)

Offline

#2 2023-12-12 12:44:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,165

Re: Adding kernel parameters with systemd boot

Are you actually booting that config? What's your current cmdline

cat /proc/cmdline
bootctl status

Please edit your post and use code rather than color tags for pasting outputs.

Last edited by V1del (2023-12-12 12:45:06)

Offline

#3 2023-12-12 19:31:27

FreundBernd
Member
Registered: 2023-12-12
Posts: 4

Re: Adding kernel parameters with systemd boot

V1del wrote:

Are you actually booting that config? What's your current cmdline

The config was actually not booted. I had to add

default arch

to my loader.conf. I was somehow expecting that arch.conf would be loaded by default (since it is the only .conf), but that was not the case.
Problem solved!

V1del wrote:

Please edit your post and use code rather than color tags for pasting outputs.

Done :-)

Offline

Board footer

Powered by FluxBB