How to install Linux on a Chromebook

The Crouton project makes it simple to install a full Linux desktop operating system on a Chromebook.



Chromebooks are capable web-focused PCs, and a great choice for anyone who needs a laptop for travel or working outside the office. Thanks to a wide variety of fully featured web apps—some of which work offline—a Chromebook can cover many of the same use cases as a regular PC.

Of course, there are times when nothing less than the flexibility of a full PC desktop environment will do. A Chromebook can still prove useful in those moments if you set it up to run a traditional Linux desktop operating system. Originally designed with developers in mind, Chromebooks can run a full Linux desktop in either dual-boot mode or as a “chroot.”

Chroot stands for “change root.” It’s a system utility in Unix and Linux environments that separates one set of running processes from another—in this case two different operating systems. You can alternate between the two on-the-fly—no reboot necessary.

Using a chroot is the easiest way to install Linux on a Chromebook thanks to a project called Crouton, and if you ever make a mistake, it’s easy to reset everything back to normal.

First things first

Before you can install Linux on a Chromebook you have to put the machine in developer mode. Like other modern PCs, Chromebooks are locked down to prevent malicious code from running—Google calls its security mechanism “OS verification.” This means you’ll be introducing a certain degree of insecurity to your machine by installing Linux. For a detailed breakdown of the risks check out the Crouton wiki.

Moving to developer mode will also wipe your Chromebook’s hard drive of everything but the operating system. Any personal files will be deleted. If you have files saved locally on your Chromebook, move them to the cloud or copy them to a USB drive before continuing.

Once you’re ready, hold down the Escape and Refresh keys on your Chromebook’s keyboard and then press the power button.

chromeos 1 Ian Paul/PCWorld

For a moment it will look like the process is getting ugly. You’ll see a screen that says Chrome OS is missing or damaged. Ignore it and press Ctrl + D.

chromeos 2 Ian Paul/PCWorld

Now another screen appears asking you to confirm that you want to turn off OS verification. Press Enter to confirm, and wait.

Next, the Chromebook will confirm that OS verification is off. The laptop will then beep twice, and after about 5 to 7 minutes the switch to developer mode will be complete.

chromeos 5 Ian Paul/PCWorld

Next, the Chromebook will reboot and you’ll see a new warning screen that says OS verification is off. Get used to this screen. It will appear every time you boot up your Chromebook. The warning is there to protect novice users in case a device has been tampered with. A quick tap of the space bar resets the Chromebook with OS verification turned on. That’s not what we want. To get past this screen without blowing out developer mode, press Ctrl + D.

Your Chromebook will then boot into Chrome OS as usual. At this point, go through the short process of setting up your Chromebook again before installing Linux.

Installing Crouton

Now it’s time to get your Crouton on. If you’re wondering what Crouton stands for, the developers say it stands for “ChRomium Os Universal chrooT envirONment...or something like that.”

To download Crouton, go to the project’s GitHub repository, and click the “” link right at the top of the page. This downloads a simple bash script that will start the installation process.

Once you’ve downloaded the script, tap Ctrl + Alt + T, which will open a new tab with a terminal running. The prompt will say crosh >. Type shell and hit Enter.

Now we’re ready to run Crouton, but before we do let’s talk about how you want to set up the Linux install.

First, you should encrypt your Linux desktop to keep it secure. You also need to decide which desktop you’re going to use with Crouton. The suggested desktop is XFCE since that environment is small in size and won’t be too demanding on a Chromebook processor. In my tests on an Acer Chromebook 14 with a quad-core 1.6GHz processor and 4GB RAM, however, Ubuntu’s default Unity interface worked just fine. Another otpion for anyone who’s feeling hardcore is to install the command-line version of Linux with no graphical interface at all.

To install Crouton with Unity, type the following into your Chromebook terminal and hit Enter: sudo sh ~/Downloads/crouton -e -t unity

Here’s how this command breaks down:

  • sudo provides temporary super user privileges to carry out a command
  • sh says you want to use an sh command language interpreter
  • ~/Downloads/Crouton is the file location for the Crouton script
  • -e tells Crouton you want to encrypt your Linux install. This will also require you to set a Chromium OS shell password
  • -t tells Crouton you are about to specify which desktop you want installed
  • unity tells Crouton to install the Unity desktop

If you want to install command-line Linux, the command would look like this: sudo sh ~/Downloads/crouton -e -t cli-extra

ubuntuinstall Ian Paul/PCWorld

Once you’ve told Crouton what to install, the command line will get to work installing Linux. In my tests, the process took about 30 to 40 minutes. During the installation process you’ll be asked for three different passwords: one to set the root password for your Chromebook, an encryption password for the Linux install, and a username and password for your Ubuntu user account. Make sure to use strong, random passwords to keep your data safe. 

Once the installation is done, you can enter your Linux build by typing the shell command sudo startunity or sudo startcli depending on which Linux desktop you installed. To open Linux after a reboot, enter Chrome OS, tap Ctrl + T to open a Crosh shell, type shell, hit Enter, and then type one of the commands above based on what you’ve installed.

If you ever want to erase a Linux installation type: sudo delete-chroot [name of your chroot such as unity]

That’s all there is to running Linux on a Chromebook. If you ever want to return to a normal Chromebook without Linux, hit the space bar when you come to the warning screen at boot.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Ian Paul

PC World (US online)
Show Comments

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Cate Bacon

Aruba Instant On AP11D

The strength of the Aruba Instant On AP11D is that the design and feature set support the modern, flexible, and mobile way of working.

Dr Prabigya Shiwakoti

Aruba Instant On AP11D

Aruba backs the AP11D up with a two-year warranty and 24/7 phone support.

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers


This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang


It really doesn’t get more “gaming laptop” than this.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?