dudt
May 10, 2023, 7:37pm
1
I try to add iomem=relaxed as kernel parameters.
I tried adding it to /etc/dracut.conf.d/cmdline.conf as kernel_cmdline=“iomem=relaxed” and than
tried every combination of:
dracut -force
dracut --regenerate-all --force
reinstall-kernel
but the parameter will not work. Manually adding it at boot time works…
What am i missing?
dalto
May 10, 2023, 7:40pm
2
We manage kernel parameters via the bootloader.
You should add them to /etc/kernel/cmdline
or /etc/default/grub
for systemd-boot and grub respectively.
1 Like
dalto
May 10, 2023, 7:51pm
4
Also for systemd-boot you will need to run sudo reinstall-kernels
and for grub run sudo grub-mkconfig /boot/grub/grub.cfg
after making the change.
1 Like
dalto:
sudo grub-mkconfig
Is update-grub different from grub-mkcomfig? Both do this at once
1 Like
Newuser2:
update-grub
There is no update-grub command on Arch.
There is an update-grub package in AUR but it is pointless to install it since it is a wrapper around grub-mkconfig.
4 Likes
Newuser2:
Both do this at once
What are you talking about?
1 Like
update-grub is a Manjaro thing, it’s grub-mkcomfig+a workaround for encrypted disks.
2 Likes
Ah this, I have an alias doing the same thing, no need for this package :
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
At least Manjaro brings a bit more :
1 Like