Systemless Linux chroot installer and Linux chroot boot script - Modded by SCOS100
- Rooted with Magisk
- busybox installed
- coreutils for make_image
- mke2fs for make_image
- This module
Due to many cases like this and this. Please make sure ALL mountpoint on chroot folder is UNMOUNTED before removing chroot folder. I don't responsible for lost all data, phone bricking, etc. You can check this repository that all the code I wrote, doesn't intentionally remove your data or bricking your phone. This is fixed, because killlinux is called after exiting. Use this module if you are familiar about Linux Enviroment. DWYOR!
lhrootand follow the instructions
After installation to boot into Linux Chroot use :
bootlinuxTo run 2 or more chroot instances, just pass chroot folder, e.g.
bootlinux /data/manjaroTo unmount bind directory use :
killlinuxNote: You don't need to do this anymore, after the exit command is supplied or KILL signal is executed.
To terminate specific instance, just pass chroot folder, e.g.
killlinux /data/manjaroTo make image use :
make_image <path to img> <img name.img> <size img in MB>To mount image use :
mount_image <path to img> <path to linux directory>- Alpine Linux, Installed on /data/alpine
- Arch Linux, Installed on /data/arch
- Debian, Installed on /data/debian
- Fedora, Installed on /data/fedora
- Kali Linux, Installed on /data/kali
- Manjaro ARM, Installed on /data/manjaro
- Ubuntu, Installed on /data/ubuntu
- Void Linux, Installed on /data/void
...more distro added soon (Will probably not do this.)
- arm
- aarch64
- x86
- x64
- Built in Audio support
- mod-util by @veez21
- Original lhroot
- Magisk by @topjohnwu
Licensed under GNU GPL v3
The rootfs tarball is taken from AnLinux Resources Repository Most of distro rootfs tarballs had been rebuilt and stored at lhroot-repo
- Open issue here
- If you want to store your chroot in image file, make image file first using make_image then mount the image using mount_image script.
- coreutils can be installed via @Zackptg5 's ccbins module.
- mke2fs can be installed via my e2fsprogs module, support for arm device only, other arch will be use busybox mke2fs applets,will use ext2 filesystem and limited 2GB image size.
