Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[raspberrypi] error: Following Cgroup subsystem not mounted: [memory] #2

Closed
buxiaomo opened this issue Mar 7, 2022 · 0 comments
Closed

Comments

@buxiaomo
Copy link
Owner

buxiaomo commented Mar 7, 2022

If OS is Ubuntu 20.04.4 LTS, add cgroup_enable=memory cgroup_memory=1 to /boot/firmware/cmdline.txt

like this

root@raspberrypi:/usr/local/src/kube-ansible# cat /boot/firmware/cmdline.txt
elevator=deadline net.ifnames=0 console=serial0,115200 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash cgroup_enable=memory cgroup_memory=1

then reboot system

@buxiaomo buxiaomo closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant