Code Monkey home page Code Monkey logo

chroot-installer's Introduction

Chroot-Installer

A script to install chroot containers on Android through Termux. This README is like this installer mostly a huge WIP and some stuffs don't work correctly yet.

Requirments

You need to have busybox installed and accesible. Termux:X11 is not a requirment as you can use VNC but it is highly recommended to install it from links.

Basic Usage

First installation of a container named Ubuntu in which installing Ubuntu distribution with box86/64(-b) and a DE(-d):

bash chroot-installer install Ubuntu ubuntu -b -d

Run the previously installed container:

chroot-installer start | if it's the only one installed or the one you want to launch is the default one

chroot-installer start Ubuntu | if you have more than one installed and the one you want to start isn't the default

Run the container with Termux:X11/XVFB and virglrenderer-android:

chroot-installer start -x -va

Run the container with Termux:X11/Xwayland and virglrenderer-android:

chroot-installer start -w -va

Stop the container:

bash chroot-installer stop

Some of the sepcific commands you can execute inside the chroot can be found in the "Useful proot commands" section of the project in the links.

For now supported distributions are Debian, Ubuntu, Arch and Manjaro but Debian doesn't have hardware acceleration apart from Turnip/DXVK and Manjaro and Arch may have some minor random issues when installing

Credits and Links

This script is the chroot version of my other project so credits and links are similiar

https://github.com/Pipetto-crypto/3in1ProotX86Emus

chroot-installer's People

Contributors

pipetto-crypto avatar

Stargazers

 avatar  avatar

Watchers

 avatar

chroot-installer's Issues

chroot: can't execute '/usr/sbin/start-stop-daemon': No such file or directory

~ $ chroot-installer start -x -va

Initializing the audio server

Starting the chroot

Binding internal storage

SD card is not present, won't mount external storage

Binfmt support not detected or missing binfmt-support package, skipping loading of binfmt entries

Mounting termux tmp dir and creating xdg runtime dir
/etc/profile.d/perlbin.sh: line 5: append_path: command not found
/etc/profile.d/perlbin.sh: line 7: append_path: command not found
/etc/profile.d/perlbin.sh: line 9: append_path: command not found

Starting X server through Xvfb
chroot: can't execute '/usr/sbin/start-stop-daemon': No such file or directory

All preparations completed, connecting now

~ $

Busybox not available

~/Chroot-Installer $ ./chroot-installer
Busybox not available,please install busybox before using this script

Got this error when trying to use chroot-installer, but busybox is installed

~/Chroot-Installer $ busybox
BusyBox v1.36.1 (2023-05-19 22:13:47 UTC) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

BusyBox error

~/Chroot-Installer $ bash chroot-installer install Ubuntu ubuntu -b -d
Busybox not available,please install busybox before using this script

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.