{"id":13906398,"url":"https://github.com/teejee2008/groot","last_synced_at":"2025-07-18T04:31:16.156Z","repository":{"id":113037090,"uuid":"112746024","full_name":"teejee2008/groot","owner":"teejee2008","description":"Chroot helper utility for all Linux distributions","archived":true,"fork":false,"pushed_at":"2018-09-18T16:49:46.000Z","size":117,"stargazers_count":81,"open_issues_count":4,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-07T23:47:52.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teejee2008.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS"}},"created_at":"2017-12-01T13:59:23.000Z","updated_at":"2024-07-25T22:16:06.000Z","dependencies_parsed_at":"2023-06-06T19:47:16.832Z","dependency_job_id":null,"html_url":"https://github.com/teejee2008/groot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teejee2008%2Fgroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teejee2008%2Fgroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teejee2008%2Fgroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teejee2008%2Fgroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teejee2008","download_url":"https://codeload.github.com/teejee2008/groot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226344632,"owners_count":17610177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T23:01:34.969Z","updated_at":"2024-11-25T14:31:27.974Z","avatar_url":"https://github.com/teejee2008.png","language":"Vala","funding_links":["https://www.paypal.com/cgi-bin/webscr?business=teejeetech@gmail.com\u0026cmd=_xclick\u0026currency_code=USD\u0026amount=10\u0026item_name=Groot%20Donation","https://www.patreon.com/bePatron?u=3059450"],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"## Groot\n\nGroot is a tiny utility for chrooting into an installed Linux system. It is similar to the **arch-chroot** command available on Arch Linux, and is based on the same script. It can be used on any Linux distribution.\n\n### Chroot Basics\n\nA chroot session changes the effective root directory to a specified path where another Linux system is installed.  Applications running inside the chroot will only affect the chrooted system and cannot access or modify files outside the chroot jail.\n\nThis is useful for maintenance activities. You can add/remove software and run commands for updating the chrooted system. You can fix boot issues, and execute GUI applications without any worry of the applications affecting your current system.\n\nChroot requires root access. The current system (host) and the chrooted system (guest) must have the same architecture (i686, x86_64, etc). The host kernel is shared with guest system. Kernel modules required by the guest must be loaded on the host.\n\n## Usage\n\n![](images/options.png)\n\nTo chroot into a system, open a terminal window, **cd** to path where root filesystem is mounted and run the **groot** command.\n\n```\ncd /media/usbdrive\nsudo groot\n```\n\nThis will mount `/dev`, `/run`, `/sys` and other system directories; and chroot to the current directory.\n\nYou can also specify root path as an optional argument.\n\n```\nsudo groot /mnt/usbdrive\n```\n\nType **exit** when you are done, to exit the session cleanly. *This is important*. If you don’t exit the session properly, the system subdirectories will remain mounted, and you may have to reboot the system.\n\n**Internet Sharing**\n\nInternet connection sharing is enabled by default. You can run commands that access the internet. Use option `--no-internet` if internet sharing is not required.\n\n**Display Sharing**\n\nDisplay sharing is enabled by default. You can run GUI applications that are installed on chrooted system. Use option `--no-display` if display sharing is not required.\n\n## Features\n\n* Automatic mounting and unmounting of /dev, /run, /proc, /sys and other system directories\n* Enables internet sharing to allow applications to connect to internet from chroot session\n* Enables display sharing to allow GUI applications to run from chroot session\n\n**Planned features:**\n\n* Repairing boot issues on BIOS and EFI systems\n* Re-install GRUB, rebuild initramfs, update grub menu, etc\n\n## Installation\n\nBinary installers are available on the [Releases](https://github.com/teejee2008/groot/releases) page.  \n\nYou can download and install the latest release of groot on any Linux distribution, using the following one-line commands:\n\n```sh\n# 64-bit\ncd /tmp \u0026\u0026 curl -s -L https://github.com/teejee2008/groot/releases/latest | egrep -o 'teejee2008/groot/releases/download/.*/groot-v[0-9.]*-amd64.run' | wget --base=http://github.com/ -i - -O groot-latest-amd64.run \u0026\u0026 sudo chmod a+x ./groot-latest-amd64.run \u0026\u0026 sudo ./groot-latest-amd64.run\n```\n```sh\n# 32-bit\ncd /tmp \u0026\u0026 curl -s -L https://github.com/teejee2008/groot/releases/latest | egrep -o 'teejee2008/groot/releases/download/.*/groot-v[0-9.]*-i386.run' | wget --base=http://github.com/ -i - -O groot-latest-i386.run \u0026\u0026 sudo chmod a+x ./groot-latest-i386.run \u0026\u0026 sudo ./groot-latest-i386.run\n```\n\n## Donate\n\n**PayPal** ~ If you find this application useful and wish to say thanks, you can buy me a coffee by making a one-time donation with Paypal. \n\n[![](https://upload.wikimedia.org/wikipedia/commons/b/b5/PayPal.svg)](https://www.paypal.com/cgi-bin/webscr?business=teejeetech@gmail.com\u0026cmd=_xclick\u0026currency_code=USD\u0026amount=10\u0026item_name=Groot%20Donation)  \n\n**Patreon** ~ You can also sign up as a sponsor on Patreon.com. As a patron you will get access to beta releases of new applications that I'm working on. You will also get news and updates about new features that are not published elsewhere.\n\n[![](https://2.bp.blogspot.com/-DNeWEUF2INM/WINUBAXAKUI/AAAAAAAAFmw/fTckfRrryy88pLyQGk5lJV0F0ESXeKrXwCLcB/s200/patreon.png)](https://www.patreon.com/bePatron?u=3059450)\n\n**Bitcoin** ~ You can send bitcoins at this address or by scanning the QR code below:\n\n```1Js5vfgmwKew4byF9unWacwAjBQVvZ3Fev```\n\n![](https://4.bp.blogspot.com/-9hMyCacf0nc/WQ1p3dcdtwI/AAAAAAAAGgA/WC-4gbGFl7skTjNRZbl99EBsXeYfZDqpgCLcB/s1600/polo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteejee2008%2Fgroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteejee2008%2Fgroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteejee2008%2Fgroot/lists"}