STM32MP157F GRUB boot command line
I would like to only use cgroup v2 and would like to modify the kernel cmdline boot arguments as follows:, . I searched internet and suggestion is to useadd systemd. unified_cgroup_hierarchy=1 under /etc/default/grub , followed by sudo update-grub .
My current command line is:
cat /proc/cmdline
root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200
root@stm32mp1:/dev# stat -fc %T /sys/fs/cgroup
tmpfs
**cgroup v1 and cgroup v2 enabled.
I added to new file /etc/default/grouproot@stm32mp1:/dev# cat /etc/default/grub
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX systemd.unified_cgroup_hierarchy=1"
I tried update-grub and grub2-mkconfig, but both commands did not execute
root@stm32mp1:/dev# update-grub
-bash: update-grub: command not found
root@stm32mp1:/dev# grub2-mkconfig
-bash: grub2-mkconfig: command not found
root@stm32mp1:/dev# echo $PATH
How do I update GRUB on STM32MP157F-EV1 system?
