How to Install Linux on Chromebook

When Chromebooks were first released, their principal customers were Internet enthusiasts who fancied the idea of using majorly web applications on Google’s Operating System for PCs. While Chrome OS is capable of running virtually any Android application, there are some tasks that are better completed on a Linux distro e.g. Darktable and GIMP.

We covered an alternative Linux-centric App Stores to Google Play for Chrome OS not too long ago and today, I’ll show you the easiest way to install Linux (specifically, Ubuntu) on your Chromebook and switch between the OSes at your will with easy-to-remember shortcuts.

1. Getting Started

There are at least two recommendable methods of installing Linux on Chromebooks but my preference is using Crouton – a tool that uses the chroot command to run Linux distros on top Chrome OS without the need to reboot the system.

  1. Backup all your personal files because entering developer mode for the first time will wipe them together with your system data.
  2. Create a recovery image of your system so you can restore it if things go sideways (but they wouldn’t).
  3. Download Crouton from GitHub and save it to an external storage device. If you don’t have one then download it after you enable developer mode.

2. Switching on Developer Mode

  1. Enter recovery mode by pressing and holding the Esc key, Refresh key, and Power button together.
  2. When in recovery mode, press Ctrl+D turn on developer mode.
  3. Press Enter and wait for your system to reboot. This will take 15 – 20 minutes.

You will see an exclamation mark alongside a message that OS verification is off and a prompt to re-enable it. Ignore it and wait for your PC to reboot into Chrome OS.

3. Installing Crouton

1. Download Crouton from GitHub if you didn’t earlier on and save it in your download folder.

2. Launch your terminal and run the command:

# shell

3. Next, install crouton with the command:

$ sudo sh -e ~/Downloads/crouton -t xfce

If you’re using the Crouton Integration extension then use this command instead:

$ sudo sh ~/Downloads/crouton -t xiwi,xfce

If your PC is a Chromebook Pixel, Asus Flip Book, or touchscreen then change "xiwi" to "touch" like so:

$ sudo sh ~/Downloads/crouton -t touch,xfce

Enter your username and password when Crouton is done installing.

Run the following command to start Ubuntu:

$ sudo startxfce4

Instead of Xfce, you can install Crouton with LXDE, KDE, or any other Desktop Environment and the instructions are available in Crouton’s GitHub page.

4. Perfecting Your DE

The commands to switch back and forth between Chrome OS and Ubuntu are:

  • Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward on ARM-based Chromebooks.
  • Ctrl+Alt+Back and Ctrl+Alt+Back on Intel-based Chromebooks.

This Ubuntu version doesn’t come with its complete list of essential apps so you need to install them yourself with the following commands:

$ sudo apt-get update
$ sudo apt-get install bash-completion ttf-ubuntu-font-family software-center synapti
  • If you stick to using Xfce, disable its screensaver to avoid Chrome OS graphic issues.
  • Skip the developer mode message with Ctrl+D.
  • The downloads folder is shared between both Operating Systems.

5. Removing Linux from Chromebook

This one is easy. Press the spacebar while rebooting your system and when that exclamation with the re-enable OS verification prompt comes up, hit the space bar. This will uninstall Crouton and restore your Chrome OS to its single original state.

If you would rather use the terminal to remove the Linux installation, run the commands:

$ cd /usr/local/chroots
$ sudo delete-chroot *
$ sudo rm -rf /usr/local/bin

There you have it” A fully functional Ubuntu installation to run alongside ChromeOS that you can switch between with keyboard shortcuts.

Drop your comments, questions, and suggestions in the comments section below.

Divine Okoi is a cybersecurity postgrad with a passion for the open-source community. With 700+ articles covering different topics in IT, you can always trust him to inform you about the coolest tech.

Each tutorial at GeeksMint is created by a team of experienced writers so that it meets our high-quality writing standards.

3 thoughts on “How to Install Linux on Chromebook”

  1. Hey just wondering if there is an updated method for having Linux Distributions. I’m wanting to have the Distro Icon in my Linux Apps folder next to the Terminal app. Click to boot. With ability to swap between the chrome os and Linux once running. Is there a way I could get this to work in the Linux beta without chroot. Kind of timid on running chroot sense your in developer mode and I’d hate to accidentally mess up my brand new chromebook.

    Reply
  2. I need a boot-loader for my Chromebooks. One is an ARM and one is Intel. I don’t want dual-boot.
    I used to use Crouton for Linux on Chromebook.
    I read that Developer Mode has its risks however.
    So I thought I’d avoid a dual boot.
    Is there a boot loader for Chromebooks?
    I have an ARM Samsung 2 and an Intel Dell 3 Chromebook.
    According to Distrowatch, MX-Linux is popular.

    Reply
  3. Good article, but–

    “There are at least two recommendable methods of installing Linux on Chromebooks…”

    What is the other one?

    Reply

Got Something to Say? Join the Discussion...