Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FerryAr/lhroot
Linux Chroot Installer & Bootscript Magisk Module.
https://github.com/FerryAr/lhroot
chroot installer kali-linux linux magisk module root
Last synced: 5 days ago
JSON representation
Linux Chroot Installer & Bootscript Magisk Module.
- Host: GitHub
- URL: https://github.com/FerryAr/lhroot
- Owner: FerryAr
- License: gpl-3.0
- Created: 2020-08-04T14:28:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T14:28:26.000Z (about 1 year ago)
- Last Synced: 2023-12-25T16:34:53.129Z (about 1 year ago)
- Topics: chroot, installer, kali-linux, linux, magisk, module, root
- Language: Shell
- Homepage:
- Size: 58.6 KB
- Stars: 141
- Watchers: 9
- Forks: 16
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - FerryAr/lhroot - Linux Chroot Installer & Bootscript Magisk Module. (Shell)
- awesome-starred - FerryAr/lhroot - Linux Chroot Installer & Bootscript Magisk Module. (Shell)
README
# Linux Chroot Installer
Systemless Linux chroot installer and Linux chroot boot script
## Requirements
- Rooted with Magisk
- busybox installed
- coreutils for make_image
- mke2fs for make_image
- This module![Manjaro-Linux-Android](https://i.ibb.co/gdpw8QG/lhroot.png)
## NOTICE
Due to many cases like [this](https://github.com/FerryAr/lhroot/issues/18) and [this](https://github.com/FerryAr/lhroot/issues/21). 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. Use this module if you are familiar about Linux Enviroment. DWYOR!## Usage
```console
lhroot
```and follow the instructions
After installation to boot into Linux Chroot use :
```console
bootlinux
```After v2.1 you can run 2 or more chroot instances, just pass chroot folder, e.g.
```console
bootlinux /data/manjaro
```To unmount bind directory use :
```console
killlinux
```After v2.1 you can terminate specific instance, just pass chroot folder, e.g.
```console
killlinux /data/manjaro
```To make image use :
```console
make_image
```To mount image use :
```console
mount_image
```## Available Distro
- 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
## Supported Architectures
- arm
- aarch64
- x86
- x64## TODO
- [ ] Migrate all file used in lhroot to my repo (WIP)
- [ ] Built in Audio support
- [ ] Cross compile all dependancies## Credits
- [mod-util](https://github.com/veez21/mod-util) by @veez21
- Magisk by @topjohnwu## License
Licensed under GNU GPL v3~~The rootfs tarball is taken from AnLinux Resources [Repository](https://github.com/EXALAB/Anlinux-Resources)~~
Most of distro rootfs tarballs had been rebuilt and stored at [lhroot-repo](https://github.com/FerryAr/lhroot-repo)## Support
- Open issue here
- or visit [XDA Thread](https://forum.xda-developers.com/showthread.php?t=4142803)## Note
- 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](https://github.com/Magisk-Modules-Repo/ccbins) module.
- mke2fs can be installed via my [e2fsprogs module](https://github.com/FerryAr/e2fsprogs-arm), support for arm device only, other arch will be use busybox mke2fs applets,will use ext2 filesystem and limited 2GB image size.