{"id":13617465,"url":"https://github.com/andrewbrg/crouton-auto","last_synced_at":"2025-04-14T06:33:54.733Z","repository":{"id":158440184,"uuid":"105684596","full_name":"andrewbrg/crouton-auto","owner":"andrewbrg","description":"Bash script to auto-create (via crouton) a Debian / Cinnamon installation within ChromeOS and install multiple development tools","archived":false,"fork":false,"pushed_at":"2019-08-28T21:13:46.000Z","size":99,"stargazers_count":35,"open_issues_count":1,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-01T20:47:33.568Z","etag":null,"topics":["bash","chrome","chrome-devtools","chromebook","chromeos","chroot","crouton","gnome","php7","shell-script","ubuntu","ubuntu1604"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewbrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-10-03T17:58:00.000Z","updated_at":"2024-07-20T04:10:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"20421727-5e7f-4d5e-9c5e-01d5bc81f889","html_url":"https://github.com/andrewbrg/crouton-auto","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbrg%2Fcrouton-auto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbrg%2Fcrouton-auto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbrg%2Fcrouton-auto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewbrg%2Fcrouton-auto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewbrg","download_url":"https://codeload.github.com/andrewbrg/crouton-auto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223621794,"owners_count":17174756,"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":["bash","chrome","chrome-devtools","chromebook","chromeos","chroot","crouton","gnome","php7","shell-script","ubuntu","ubuntu1604"],"created_at":"2024-08-01T20:01:42.142Z","updated_at":"2024-11-08T02:30:28.015Z","avatar_url":"https://github.com/andrewbrg.png","language":"Shell","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"\n# Linux dual OS on ChromeOS via Crouton\n\n**Important**\n\nCrouton has been replaced by stock Crostini, if you are using that (and should be) then refer to this: https://github.com/andrewbrg/deb9-dev-machine\n\nOtherwise;\n\nDownload latest version [here](https://raw.githubusercontent.com/andrewbrg/crouton-auto/master/c-auto.sh): _(open-\u003eright click-\u003esave as)_\n\nThis is a handy script to automatically set up a Linux Debian dev machine on your chromebook. The disto will be installed in a chroot along with your current Chrome operating system _(you can run two operating systems in parallel)_. The Crouton project is developed/maintained by David Schneider @ https://github.com/dnschneid  \n\n**This script is made for AMD64 processors**, if you have an ARM processor some packages will not function. Fully tested on Acer Chromebook 14 and Acer Spin 13.\n\nYour Chromebook must be in developer mode in order to use this script. \n\nIt is also highly recommended that you install the crouton chrome extension for added functionality including a shared clipboard between operating systems. You may get the latest version directly from the [chrome store](https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom)\n\n**Resources to check out** \n\n| Type | Link |\n| ------ | ------ |\n| Crouton GitHub | https://github.com/dnschneid/crouton |\n| Crouton Cheatsheet | https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet |\n| Crouton Wiki | https://github.com/dnschneid/crouton/wiki |\n  \n***\n\n## What is a chroot?\n\nA chroot is basically a special directory on your computer which prevents applications, if run from inside that directory, from accessing files outside the directory. In many ways, a chroot is like installing another operating system inside your existing operating system.\n\nTechnically-speaking, chroot temporarily changes the root directory (which is normally /) to the chroot directory (for example, /var/chroot). As the root directory is the top of the filesystem hierarchy, applications are unable to access directories higher up than the root directory, and so are isolated from the rest of the system. This prevents applications inside the chroot from interfering with files elsewhere on your computer.\n\nNote that it is possible for software from outside the chroot to access files inside the chroot.\n  \n## Ready? let's go!\n\nAfter placing your Chromebook into developer mode, launch a crosh terminal by hitting `CTRL+ALT+T` then type in the following commands:\n\n```shell\nshell  \nsudo sh ~/Downloads/c-auto.sh\n```\n\nAfter the installation is complete you can launch Debian by opening a crosh terminal `CTRL+ALT+T` and executing:\n\n```shell\nshell  \nsudo startcinnamon\n```\n\nIf you want to be able to close the crosh terminal without Debian un-mounting itself as a consequence use the following:\n\n```shell\nshell\nsudo startcinnamon -b\n```\n\nTo switch between operating systems hit `CTRL+ALT+SHIFT+FORWARD` or `CTRL+ALT+SHIFT+BACKWARDS`.\n\nIt's important to logout from linux once before powering down your system to avoid potential corruption to the mounted root.\n\n## Updating your chroot\n\n**I've updated ChromeOS and my distro is acting up**\n\nIf you want to run a full update of the Debian installation in your chroot or you've updated ChromeOS and linux is not working properly anymore then run the following from crosh and choose the 'u' option:\n\n```shell\nshell\nsudo sh ~/Downloads/c-auto\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbrg%2Fcrouton-auto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewbrg%2Fcrouton-auto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbrg%2Fcrouton-auto/lists"}