I think this is correct except that the /boot/grub2/grubenv file does not show the update.
We need to check the bootloader entries config files in `/boot/loader/entries/` directory. There will be one for each boot entry. grubby updates these files. So here is a slightly modified commands -
grubby --update-kernel=ALL --args="kmcrl=5"
ls /boot/loader/entries/
# check if the kernel args are updated in the conf files. added in the end of the line
grep options /boot/loader/entries/8cxxxxx.conf
sytemctl reboot
cat /proc/cmdline
In RHEL8
# grub2-editenv - list | grep kernelopts
# grub2-editenv - set "kernelopts=root=/dev/mapper/rhel-root ..... kmcrl=5
# systemctl reboot
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
corpio
Highly Voted 2 years, 7 months agoionix
Highly Voted 2 years, 9 months agoHmenu0s
1 year, 5 months agoVforVodoo
Most Recent 5 months agoruben_mv
1 year, 5 months agoadolfoale
2 years, 12 months ago