add Pop!_OS

This commit is contained in:
Ziyang Zhou
2022-07-21 21:10:11 +08:00
parent 53a5177be2
commit 2f9b00d3f8
2 changed files with 28 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ resort, it's always capable via customizing Linux kernel.
- [Gentoo](gentoo.md)
- [Kubernetes](kubernetes.md)
- [Mint](mint.md)
- [PopOS](pop_os.md)
- [Ubuntu](ubuntu.md)
- [WSL](wsl.md)
@@ -38,6 +39,12 @@ resort, it's always capable via customizing Linux kernel.
## make sure required kernel features enabled; Check details on per distro page
## make sure cgroup v1 present (some latest OS may only mount cgroup v2, ubuntu 22.04 etc.)
## add `systemd.unified_cgroup_hierarchy=0` to kernel cmdline
## disable SELinux if present
## setenforce 0
## running redroid
docker run -itd --rm --privileged \

21
deploy/pop_os.md Normal file
View File

@@ -0,0 +1,21 @@
# Deploy redroid on Pop!_OS
```
## install linux-xanmod (https://xanmod.org) to get binderfs support
## enable cgroup v1
sudo kernelstub -a "systemd.unified_cgroup_hierarchy=0"
sudo update-initramfs -c -k all
sudo reboot
## run redroid
docker run -itd --rm --privileged \
--pull always \
-v ~/data11:/data \
-p 5555:5555 \
--name redroid11 \
redroid/redroid:11.0.0-latest \
androidboot.use_memfd=1
```