Skip to content

Instantly share code, notes, and snippets.

@tgirke
Last active October 14, 2025 19:06
Show Gist options
  • Save tgirke/be26f29b0b52ee621ec02f2bcbca0b93 to your computer and use it in GitHub Desktop.
Save tgirke/be26f29b0b52ee621ec02f2bcbca0b93 to your computer and use it in GitHub Desktop.

Revisions

  1. tgirke revised this gist Apr 4, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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.
    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

  2. tgirke revised this gist Jul 14, 2018. 1 changed file with 10 additions and 10 deletions.
    20 changes: 10 additions & 10 deletions crouton.md
    Original 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-get](#apt-get_broken)
    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-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.
    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-get update && sudo apt-get install <my_software>
    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-get`
    #### i. Problem with `apt` or `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).
    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-get upgrade
    sudo apt update # or with && sudo apt upgrade
    ```

    After running `update` also try this

    ```sh
    sudo apt-get -f install
    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-get upgrade
    sudo apt-get update
    sudo apt upgrade
    sudo apt update
    ```

    Reinstalling `libcurl3-gnutls` has also been reported to help.

    ```sh
    sudo apt-get --reinstall install libcurl3-gnutls
    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`.
  3. tgirke revised this gist Jul 14, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions crouton.md
    Original 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-get clean && sudo apt-get autoclean # This might fix things
    sudo apt-get update # or with && sudo apt-get upgrade
    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
  4. tgirke revised this gist Jul 14, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 autoclean # This might fix things
    sudo apt-get clean && sudo apt-get autoclean # This might fix things
    sudo apt-get update # or with && sudo apt-get upgrade
    ```

  5. tgirke revised this gist Jun 30, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 # add -e for encryption
    sudo sh ~/Downloads/crouton -u -n xenial
    ```

    <div id='delete_options'/>
  6. tgirke revised this gist Jun 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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` has also been reported to help.
    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`.
  7. tgirke revised this gist Jun 28, 2018. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions crouton.md
    Original 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`.
  8. tgirke revised this gist Jun 14, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original file line number Diff line number Diff line change
    @@ -122,7 +122,7 @@ ls -al /usr/local/chroots/

    ## 3. Usage

    <div id='start'/>
    <div id='startup'/>

    ### i. Start Crouton

  9. tgirke revised this gist Apr 20, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions crouton.md
    Original 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/)
  10. tgirke revised this gist Apr 2, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 need to run crouton within a Chrome OS session rather than in parallel.
    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'/>

  11. tgirke revised this gist Apr 2, 2018. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion crouton.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    # Crouton Install and Management

    Also see notes in corresponding Google Keep.

    * * *

  12. tgirke revised this gist Apr 1, 2018. No changes.
  13. tgirke revised this gist Apr 1, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 chrome browser tab with `sudo enter-chroot`, and then run update/install from there.
    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
  14. tgirke revised this gist Apr 1, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 developer David Schneider on GitHub
    + 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)
  15. tgirke revised this gist Mar 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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'/>

    #### Problem with `apt-get`
    #### 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).

  16. tgirke revised this gist Mar 31, 2018. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion crouton.md
    Original 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

    #### `apt-get` broken
    <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).

  17. tgirke revised this gist Mar 31, 2018. 1 changed file with 6 additions and 5 deletions.
    11 changes: 6 additions & 5 deletions crouton.md
    Original 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
    ```

    After running `update` also try this

    ```sh
    sudo apt-get -f install
    ```

    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`.
  18. tgirke revised this gist Mar 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # zzzCrouton Install and Management
    # Crouton Install and Management

    Also see notes in corresponding Google Keep.

  19. tgirke revised this gist Mar 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Crouton Install and Management
    # zzzCrouton Install and Management

    Also see notes in corresponding Google Keep.

  20. tgirke revised this gist Mar 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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.
    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.

  21. tgirke revised this gist Mar 31, 2018. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions crouton.md
    Original 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
  22. tgirke revised this gist Mar 31, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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.
    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
  23. tgirke revised this gist Mar 30, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 is chosen release, e.g. xenial). If the `-e` argument is added then the chroot will be encrypted.
    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
  24. tgirke revised this gist Mar 30, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion crouton.md
    Original 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, not easily possible due to complicated interdendencies/histories of packages across targets!!!
    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
  25. tgirke revised this gist Mar 30, 2018. 1 changed file with 36 additions and 16 deletions.
    52 changes: 36 additions & 16 deletions crouton.md
    Original 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)
    6. [Color Scheme](#colorscheme)
    7. [Setup in user accounts of UCR's HPCC](#ucrhpcc)
    3. [Usage and configuration](#usage)
    4. [Config files](#configfiles)
    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
    Location of chroots
    ```sh
    ls -al /usr/local/chroots/
    ```

    ## Run Crouton
    <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
    ```

    ## Switch between chroot and Chrome OS
    <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.


    ## Shutdown chroot
    <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.

    ## Update chroot
    <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
    ```

    ## Delete target
    <div id='delete_options'/>

    Currently, not easily possible due to complicated interdendencies/histories of packages across targets!!!
    ### v. Delete options

    ## Delete choot
    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
    ```

    ## Backup chroot
    <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
    ```

    ## Install software within Chroot
    <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>
    ```


    ## Troubleshooting
    ## 4. Troubleshooting

    #### `apt-get` broken

  26. tgirke revised this gist Mar 30, 2018. 1 changed file with 22 additions and 22 deletions.
    44 changes: 22 additions & 22 deletions crouton.md
    Original 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
    ### 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
    ### 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
    ### 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
    ### 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
    ### 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>
    ```

    ## Additional useful 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
    ```

    ### Location of chroots
    ```sh
    ls -al /usr/local/chroots/
    ```

    ## Troubleshooting

  27. tgirke revised this gist Mar 30, 2018. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions crouton.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ Also see notes in corresponding Google Keep.

    <div id='manuals'/>

    ## 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'/>

    ## Installation
    ## 2. Installation

    <div id='channel'/>

    ### Check Chrome OS 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'/>

    ### Enable 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'/>

    ### Install 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'/>

    ### Install Crouton
    ### (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'/>

    ### Useful helper commands
    ### (v) Useful helper commands

    List available linux releases

  28. tgirke revised this gist Mar 30, 2018. 1 changed file with 12 additions and 12 deletions.
    24 changes: 12 additions & 12 deletions crouton.md
    Original 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
    List available linux releases

    ```sh
    sh ~/Downloads/crouton -r list
    ```
    ```sh
    sh ~/Downloads/crouton -r list
    ```

    List all available targets
    List all available targets

    ```sh
    sh ~/Downloads/crouton -t help
    ```
    ```sh
    sh ~/Downloads/crouton -t help
    ```

    Add target to an existing chroot with `-u` option
    Add target to an existing chroot with `-u` option

    ```sh
    sudo sh ~/Downloads/crouton -t xiwi -u -n xenial
    ```
    ```sh
    sudo sh ~/Downloads/crouton -t xiwi -u -n xenial
    ```

    ## Run Crouton

  29. tgirke revised this gist Mar 30, 2018. 1 changed file with 34 additions and 2 deletions.
    36 changes: 34 additions & 2 deletions crouton.md
    Original 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

    ## Install
    <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
    ```

    4. Useful helper commands
    <div id='helper_commands'/>

    ### Useful helper commands

    List available linux releases

  30. tgirke revised this gist Mar 30, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crouton.md
    Original 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 sell within cbrowser tab with `sudo enter-chroot`, and then run update/install from there.
    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