-
-
Save BlazerYoo/198d2b3c7664e1cb7a7fe8b2c534ccd6 to your computer and use it in GitHub Desktop.
Revisions
-
tgirke revised this gist
Apr 4, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -65,7 +65,7 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http ### iv. Install Crouton 1. Download latest Crouton release from here [https://goo.gl/fd3zc](https://goo.gl/fd3zc) which comes form developer's repository [here](https://github.com/dnschneid/crouton/blob/master/README.md). For simplicity leave downloaded `crouton` file in Downloads folder. Note, as of April 2019 there may be changes to this approach due to security updates in Chrome. Here are some [updates](https://chromeunboxed.com/chrome-os-security-updates-break-crouton-heres-the-fix/amp/). 2. Open in Chrome browser crosh shell with `CTRL + ALT + T` and then type -
tgirke revised this gist
Jul 14, 2018 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,7 @@ 6. [Backup Chroot](#backup_chroot) 7. [Software Installs](#software_installs) 4. [Troubleshooting](#troubleshooting) 1. [Problem with apt (or apt-get)](#apt-get_broken) * * * @@ -205,10 +205,10 @@ sudo sh ~/Downloads/crouton -f mybackup.tar.gz ### vii. Install software within Chroot Within a Chroot one should update and install software packages via `apt` or `apt-get`, see example below. Detailed instructions for using `apt` or `apt-get` are available on Ubuntu's [AptGet/Howto](https://help.ubuntu.com/community/AptGet/Howto). Installing software via Ubuntu's Software manager should be avoided since it creates often problems. The GDebi Package installer seems to work fine as an alternative. ```sh sudo apt update && sudo apt install <my_software> ``` <div id='troubleshooting'/> @@ -217,35 +217,35 @@ sudo apt-get update && sudo apt-get install <my_software> <div id='apt-get_broken'/> #### i. Problem with `apt` or `apt-get` If `apt update` and/or `apt install` are not working then try the follwing troubleshooting steps. Additional help on this topic can be found [here](https://askubuntu.com/questions/309672/problem-with-sudo-apt-get-upgrade). The `autoclean` command might fix the problem. Sometimes it may only work in a freshly started chroot session. So try restarting it if it fails, or start temporarily a chroot from crosh shell within a chrome browser tab with `sudo enter-chroot`, and then run update/install from there. ```sh sudo apt clean && sudo apt autoclean # This might fix things sudo apt update # or with && sudo apt upgrade ``` After running `update` also try this ```sh sudo apt -f install ``` Another reason could be a broken dpkg system. To fix this, run the following commands. ```sh sudo dpkg --configure -a sudo apt upgrade sudo apt update ``` Reinstalling `libcurl3-gnutls` has also been reported to help. ```sh sudo apt --reinstall install libcurl3-gnutls ``` There are also reports that using more RAM on the Chrome OS side might help. For this just open a few data/process intensive tabs in Chrome. Also check if there are any broken PPAs in `/etc/apt/sources.list.d`. -
tgirke revised this gist
Jul 14, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -224,8 +224,8 @@ If `apt-get update` and/or `apt-get install` is not working then try the follwin The `autoclean` command might fix the problem. Sometimes it may only work in a freshly started chroot session. So try restarting it if it fails, or start temporarily a chroot from crosh shell within a chrome browser tab with `sudo enter-chroot`, and then run update/install from there. ```sh sudo apt clean && sudo apt autoclean # This might fix things sudo apt update # or with && sudo apt-get upgrade ``` After running `update` also try this -
tgirke revised this gist
Jul 14, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -224,7 +224,7 @@ If `apt-get update` and/or `apt-get install` is not working then try the follwin The `autoclean` command might fix the problem. Sometimes it may only work in a freshly started chroot session. So try restarting it if it fails, or start temporarily a chroot from crosh shell within a chrome browser tab with `sudo enter-chroot`, and then run update/install from there. ```sh sudo apt-get clean && sudo apt-get autoclean # This might fix things sudo apt-get update # or with && sudo apt-get upgrade ``` -
tgirke revised this gist
Jun 30, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -164,7 +164,7 @@ croutonversion -u -c # list installed and latest available version Then shutdown Ubuntu and run in crosh shell the following command. This will update/upgrade all installed targets. ```sh sudo sh ~/Downloads/crouton -u -n xenial ``` <div id='delete_options'/> -
tgirke revised this gist
Jun 28, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -245,7 +245,7 @@ sudo apt-get update Reinstalling `libcurl3-gnutls` has also been reported to help. ```sh sudo apt-get --reinstall install libcurl3-gnutls ``` There are also reports that using more RAM on the Chrome OS side might help. For this just open a few data/process intensive tabs in Chrome. Also check if there are any broken PPAs in `/etc/apt/sources.list.d`. -
tgirke revised this gist
Jun 28, 2018 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -242,5 +242,10 @@ sudo apt-get upgrade sudo apt-get update ``` Reinstalling `libcurl3-gnutls` has also been reported to help. ```sh sudo apt-get --reinstall install `libcurl3-gnutls` has also been reported to help. ``` There are also reports that using more RAM on the Chrome OS side might help. For this just open a few data/process intensive tabs in Chrome. Also check if there are any broken PPAs in `/etc/apt/sources.list.d`. -
tgirke revised this gist
Jun 14, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -122,7 +122,7 @@ ls -al /usr/local/chroots/ ## 3. Usage <div id='startup'/> ### i. Start Crouton -
tgirke revised this gist
Apr 20, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,6 +32,8 @@ + [Main Manual](https://github.com/dnschneid/crouton/blob/master/README.md) + [Cheat Sheet](https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet) + [Tricks](https://github.com/dnschneid/crouton/wiki) + Manuals from Ubuntu site + [Install Ubuntu on Chromebook](https://tutorials.ubuntu.com/tutorial/install-ubuntu-on-chromebook#0) + Various simplified install intros: + [Install by Whitson Gordon](https://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343) + [Install by Chris Hoffman](https://www.howtogeek.com/162120/how-to-install-ubuntu-linux-on-your-chromebook-with-crouton/) -
tgirke revised this gist
Apr 2, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,7 @@ Note this will erase all local data. So back things up first. Instructions for e ### iii. Install Chrome extension For better integraton with Chrome OS install [Crouton Integraton extension](https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom). It is needed to run crouton within a Chrome OS session rather than in parallel. <div id='crouton_install'/> -
tgirke revised this gist
Apr 2, 2018 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,5 @@ # Crouton Install and Management * * * -
tgirke revised this gist
Apr 1, 2018 . No changes.There are no files selected for viewing
-
tgirke revised this gist
Apr 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -220,7 +220,7 @@ sudo apt-get update && sudo apt-get install <my_software> If `apt-get update` and/or `apt-get install` is not working then try the follwing troubleshooting steps. Additional help on this topic can be found [here](https://askubuntu.com/questions/309672/problem-with-sudo-apt-get-upgrade). The `autoclean` command might fix the problem. Sometimes it may only work in a freshly started chroot session. So try restarting it if it fails, or start temporarily a chroot from crosh shell within a chrome browser tab with `sudo enter-chroot`, and then run update/install from there. ```sh sudo apt-get autoclean # This might fix things -
tgirke revised this gist
Apr 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Also see notes in corresponding Google Keep. <div id='manuals'/> ## 1. Manuals + Manuals by Crouton developer David Schneider on GitHub + [Main Manual](https://github.com/dnschneid/crouton/blob/master/README.md) + [Cheat Sheet](https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet) + [Tricks](https://github.com/dnschneid/crouton/wiki) -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -216,7 +216,7 @@ sudo apt-get update && sudo apt-get install <my_software> <div id='apt-get_broken'/> #### i. Problem with `apt-get` If `apt-get update` and/or `apt-get install` is not working then try the follwing troubleshooting steps. Additional help on this topic can be found [here](https://askubuntu.com/questions/309672/problem-with-sudo-apt-get-upgrade). -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,6 +22,7 @@ Also see notes in corresponding Google Keep. 6. [Backup Chroot](#backup_chroot) 7. [Software Installs](#software_installs) 4. [Troubleshooting](#troubleshooting) 1. [Problem with apt-get](#apt-get_broken) * * * @@ -213,7 +214,9 @@ sudo apt-get update && sudo apt-get install <my_software> ## 4. Troubleshooting <div id='apt-get_broken'/> #### Problem with `apt-get` If `apt-get update` and/or `apt-get install` is not working then try the follwing troubleshooting steps. Additional help on this topic can be found [here](https://askubuntu.com/questions/309672/problem-with-sudo-apt-get-upgrade). -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 6 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -224,6 +224,12 @@ sudo apt-get autoclean # This might fix things sudo apt-get update # or with && sudo apt-get upgrade ``` After running `update` also try this ```sh sudo apt-get -f install ``` Another reason could be a broken dpkg system. To fix this, run the following commands. ```sh @@ -232,10 +238,5 @@ sudo apt-get upgrade sudo apt-get update ``` There are also reports that using more RAM on the Chrome OS side might help. For this just open a few data/process intensive tabs in Chrome. Also check if there are any broken PPAs in `/etc/apt/sources.list.d`. -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Crouton Install and Management Also see notes in corresponding Google Keep. -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # zzzCrouton Install and Management Also see notes in corresponding Google Keep. -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -215,7 +215,7 @@ sudo apt-get update && sudo apt-get install <my_software> #### `apt-get` broken If `apt-get update` and/or `apt-get install` is not working then try the follwing troubleshooting steps. Additional help on this topic can be found [here](https://askubuntu.com/questions/309672/problem-with-sudo-apt-get-upgrade). The `autoclean` command might fix the problem. Sometimes it may only work in a freshly started chroot session. So try restarting it if it fails, or start temporarily a chroot from crosh shell within chrome browser tab with `sudo enter-chroot`, and then run update/install from there. -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -224,6 +224,14 @@ sudo apt-get autoclean # This might fix things sudo apt-get update # or with && sudo apt-get upgrade ``` Another reason could be a broken dpkg system. To fix this, run the following commands. ```sh sudo dpkg --configure -a sudo apt-get upgrade sudo apt-get update ``` After running `update` also try this ```sh -
tgirke revised this gist
Mar 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,7 +71,7 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http shell ``` 3. Now install crouton for the proper linux release specified under `-r` argument (xenial is the Ubuntu 16.04) along with proper targets. The latter are selected under the `-t` argument. The names and other details about Ubuntu releases can be looked up [on this Ubuntu site](https://wiki.ubuntu.com/Releases). The chroot name can be specified with the `-n` option (default is name of chosen release, e.g. xenial). If the `-e` argument is added then the chroot will be encrypted. ```sh sudo sh ~/Downloads/crouton -r xenial -t x11,chrome,xorg,xiwi,keyboard,touch,unity,xfce -e # These are your most current targets; in the past you used unity,xfce,xiwi,keyboard,touch -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,7 +71,7 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http shell ``` 3. Now install crouton for the proper linux release specified under `-r` argument (xenial is the Ubuntu 16.04) along with proper targets. The latter are selected under the `-t` argument. The chroot name can be specified with the `-n` option (default is name of chosen release, e.g. xenial). If the `-e` argument is added then the chroot will be encrypted. ```sh sudo sh ~/Downloads/crouton -r xenial -t x11,chrome,xorg,xiwi,keyboard,touch,unity,xfce -e # These are your most current targets; in the past you used unity,xfce,xiwi,keyboard,touch -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -169,7 +169,7 @@ sudo sh ~/Downloads/crouton -u -n xenial # add -e for encryption ### v. Delete options Currently, it is not easily possible to delete targets due to complicated interdendencies/histories of packages across targets!!! To remove a chroot, one can use the following command(s). @@ -209,6 +209,8 @@ Within a Chroot one should update and install software packages via `apt-get`, s sudo apt-get update && sudo apt-get install <my_software> ``` <div id='troubleshooting'/> ## 4. Troubleshooting #### `apt-get` broken -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 36 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,10 +13,15 @@ Also see notes in corresponding Google Keep. 3. [Chrome Extension](#chrome_extension) 4. [Install Crouton](#crouton_install) 5. [Useful Helper Commands](#helper_commands) 3. [Usage](#usage) 1. [Start Crouton](#startup) 2. [Switch between Chroot and Chrome OS](#toggle) 3. [Shutdown Chroot](#shutdown) 4. [Update Chroot](#update_chroot) 5. [Delete Options](#delete_options) 6. [Backup Chroot](#backup_chroot) 7. [Software Installs](#software_installs) 4. [Troubleshooting](#troubleshooting) * * * @@ -106,12 +111,18 @@ Add target to an existing chroot with `-u` option sudo sh ~/Downloads/crouton -t xiwi -u -n xenial ``` Location of chroots ```sh ls -al /usr/local/chroots/ ``` <div id='usage'/> ## 3. Usage <div id='start'/> ### i. Start Crouton Run chroot in same Chrome OS session. This requires the Crouton Integraton extension (see above) along with the xiwi target. @@ -125,16 +136,22 @@ or run in parallel mode sudo startxfce4 or startunity # shortcuts for enter-chroot startxfce4 ``` <div id='toggle'/> ### ii. Switch between Chroot and Chrome OS To switch between chroot and ChromeOS use `Ctrl+Alt+Shift+Back` and `Ctrl+Alt+Shift+Forward`; or `Alt+Tab` when in same session. <div id='shutdown'/> ### iii. Shutdown Chroot To shutdown choot, log out or shut down on the Ubuntu side as usual or issue `Ctrl+c` in crosh tab where you started chroot session. <div id='update_chroot'/> ### iv. Update chroot Check if there is a newer crouton version, run on Ubuntu side: @@ -148,11 +165,11 @@ Then shutdown Ubuntu and run in crosh shell the following command. This will upd sudo sh ~/Downloads/crouton -u -n xenial # add -e for encryption ``` <div id='delete_options'/> ### v. Delete options Currently, not easily possible due to complicated interdendencies/histories of packages across targets!!! To remove a chroot, one can use the following command(s). @@ -161,7 +178,9 @@ sudo delete-chroot <my_chroot> # sudo edit-chroot -d <my_choot> # Does the same; delete-chroot is just a shortcut ``` <div id='backup_chroot'/> ### vi. Backup chroot Back up your chroot to a timestamped tarball in the current directory. @@ -180,16 +199,17 @@ If your machine is new or powerwashed, one can use the crouton installer to rest sudo sh ~/Downloads/crouton -f mybackup.tar.gz ``` <div id='software_installs'/> ### vii. Install software within Chroot Within a Chroot one should update and install software packages via `apt-get`, see example below. Detailed instructions for using `apt-get` are available on Ubuntu's [AptGet/Howto](https://help.ubuntu.com/community/AptGet/Howto). Installing software via Ubuntu's Software manager should be avoided since it creates often problems. The GDebi Package installer seems to work fine as an alternative. ```sh sudo apt-get update && sudo apt-get install <my_software> ``` ## 4. Troubleshooting #### `apt-get` broken -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 22 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,23 +40,23 @@ Also see notes in corresponding Google Keep. <div id='channel'/> ### i. Check Chrome OS channel What Chrome OS channel is running on a Chromebook is not essentail for the Crouton install. However, it can become important later since things may be less stable if the developer channel is running. The Chrome OS channel can be checked and changed as follows: go to settings under Chrome OS (bottom right corner of main screen) -> select menu in the top left corner -> about Chrome OS -> detailed build information -> change channel. The resulting change channel window shows which channel is currently active. For more details see [here](https://www.androidcentral.com/how-switch-your-chromebook-developer-channel). <div id='developer_mode'/> ### ii. Enable developer mode Note this will erase all local data. So back things up first. Instructions for enabling developer mode are [here](https://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343), and the details for specific Chromebooks are given [here](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices). <div id='chrome_extension'/> ### iii. Install Chrome extension For better integraton with Chrome OS install [Crouton Integraton extension](https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom). It is need to run crouton within a Chrome OS session rather than in parallel. <div id='crouton_install'/> ### iv. Install Crouton 1. Download latest Crouton release from here [https://goo.gl/fd3zc](https://goo.gl/fd3zc) which comes form developer's repository [here](https://github.com/dnschneid/crouton/blob/master/README.md). For simplicity leave downloaded `crouton` file in Downloads folder. @@ -74,7 +74,19 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http <div id='helper_commands'/> ### v. Useful helper commands Enter chroot from crosh shell ```sh sudo enter-chroot ``` List targets installed in a chroot ```sh sudo edit-chroot -al # Execute in Chrome OS after Ctrl+alt+t and then shell ``` List available linux releases @@ -94,6 +106,11 @@ Add target to an existing chroot with `-u` option sudo sh ~/Downloads/crouton -t xiwi -u -n xenial ``` ### Location of chroots ```sh ls -al /usr/local/chroots/ ``` ## Run Crouton Run chroot in same Chrome OS session. This requires the Crouton Integraton extension (see above) along with the xiwi target. @@ -171,23 +188,6 @@ Within a Chroot one should update and install software packages via `apt-get`, s sudo apt-get update && sudo apt-get install <my_software> ``` ## Troubleshooting -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Also see notes in corresponding Google Keep. <div id='manuals'/> ## 1. Manuals + Manuals by developer David Schneider on GitHub + [Main Manual](https://github.com/dnschneid/crouton/blob/master/README.md) + [Cheat Sheet](https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet) @@ -36,27 +36,27 @@ Also see notes in corresponding Google Keep. <div id='intallation'/> ## 2. Installation <div id='channel'/> ### (i) Check Chrome OS channel What Chrome OS channel is running on a Chromebook is not essentail for the Crouton install. However, it can become important later since things may be less stable if the developer channel is running. The Chrome OS channel can be checked and changed as follows: go to settings under Chrome OS (bottom right corner of main screen) -> select menu in the top left corner -> about Chrome OS -> detailed build information -> change channel. The resulting change channel window shows which channel is currently active. For more details see [here](https://www.androidcentral.com/how-switch-your-chromebook-developer-channel). <div id='developer_mode'/> ### (ii) Enable developer mode Note this will erase all local data. So back things up first. Instructions for enabling developer mode are [here](https://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343), and the details for specific Chromebooks are given [here](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices). <div id='chrome_extension'/> ### (iii) Install Chrome extension For better integraton with Chrome OS install [Crouton Integraton extension](https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom). It is need to run crouton within a Chrome OS session rather than in parallel. <div id='crouton_install'/> ### (iv) Install Crouton 1. Download latest Crouton release from here [https://goo.gl/fd3zc](https://goo.gl/fd3zc) which comes form developer's repository [here](https://github.com/dnschneid/crouton/blob/master/README.md). For simplicity leave downloaded `crouton` file in Downloads folder. @@ -74,7 +74,7 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http <div id='helper_commands'/> ### (v) Useful helper commands List available linux releases -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 12 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -76,23 +76,23 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http ### Useful helper commands List available linux releases ```sh sh ~/Downloads/crouton -r list ``` List all available targets ```sh sh ~/Downloads/crouton -t help ``` Add target to an existing chroot with `-u` option ```sh sudo sh ~/Downloads/crouton -t xiwi -u -n xenial ``` ## Run Crouton -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 34 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,26 @@ Also see notes in corresponding Google Keep. * * * ## Table of Content 1. [Manuals](#manuals) 2. [Installation](#intallation) 1. [Chrome OS Channel](#channel) 2. [Developer Mode](#developer_mode) 3. [Chrome Extension](#chrome_extension) 4. [Install Crouton](#crouton_install) 5. [Useful Helper Commands](#helper_commands) 6. [Color Scheme](#colorscheme) 7. [Setup in user accounts of UCR's HPCC](#ucrhpcc) 3. [Usage and configuration](#usage) 4. [Config files](#configfiles) * * * <div id='manuals'/> ## Manuals + Manuals by developer David Schneider on GitHub + [Main Manual](https://github.com/dnschneid/crouton/blob/master/README.md) @@ -14,18 +34,28 @@ Also see notes in corresponding Google Keep. + [Video Tutorial](https://chromeunboxed.com/install-native-apps-on-your-chromebook-with-ubuntu-linux/) by Robby Payne + [What to do after install](http://www.webupd8.org/2013/12/things-to-do-after-installing-ubuntu-on.html) by Andrew <div id='intallation'/> ## Installation <div id='channel'/> ### Check Chrome OS channel What Chrome OS channel is running on a Chromebook is not essentail for the Crouton install. However, it can become important later since things may be less stable if the developer channel is running. The Chrome OS channel can be checked and changed as follows: go to settings under Chrome OS (bottom right corner of main screen) -> select menu in the top left corner -> about Chrome OS -> detailed build information -> change channel. The resulting change channel window shows which channel is currently active. For more details see [here](https://www.androidcentral.com/how-switch-your-chromebook-developer-channel). <div id='developer_mode'/> ### Enable developer mode Note this will erase all local data. So back things up first. Instructions for enabling developer mode are [here](https://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343), and the details for specific Chromebooks are given [here](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices). <div id='chrome_extension'/> ### Install Chrome extension For better integraton with Chrome OS install [Crouton Integraton extension](https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom). It is need to run crouton within a Chrome OS session rather than in parallel. <div id='crouton_install'/> ### Install Crouton 1. Download latest Crouton release from here [https://goo.gl/fd3zc](https://goo.gl/fd3zc) which comes form developer's repository [here](https://github.com/dnschneid/crouton/blob/master/README.md). For simplicity leave downloaded `crouton` file in Downloads folder. @@ -42,7 +72,9 @@ For better integraton with Chrome OS install [Crouton Integraton extension](http sudo sh ~/Downloads/crouton -r xenial -t x11,chrome,xorg,xiwi,keyboard,touch,unity,xfce -e # These are your most current targets; in the past you used unity,xfce,xiwi,keyboard,touch ``` <div id='helper_commands'/> ### Useful helper commands List available linux releases -
tgirke revised this gist
Mar 30, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -163,7 +163,7 @@ ls -al /usr/local/chroots/ If `apt-get update` and/or `apt-get install` is not working then try the follwing troubleshooting steps. The `autoclean` command might fix the problem. Sometimes it may only work in a freshly started chroot session. So try restarting it if it fails, or start temporarily a chroot from crosh shell within chrome browser tab with `sudo enter-chroot`, and then run update/install from there. ```sh sudo apt-get autoclean # This might fix things
NewerOlder