Skip to main content

Command Palette

Search for a command to run...

How to Install Linux on Chromebook

Updated
7 min read

Installing Linux on a Chromebook opens up a world of possibilities. You can run powerful software, customize your system, and enjoy a more traditional desktop experience. If you’ve been curious about how to install Linux on your Chromebook, you’re in the right place. I’ll guide you through the process step-by-step, making it easy to follow even if you’re new to Linux or Chromebooks.

We’ll cover everything from preparing your Chromebook, enabling developer mode, to installing Linux using the built-in tools or third-party methods. By the end, you’ll have a fully functional Linux environment ready to use. Let’s dive in and unlock your Chromebook’s full potential.

Understanding Chromebook and Linux Compatibility

Chromebooks run Chrome OS, a lightweight operating system designed primarily for web applications. However, many Chromebooks now support Linux, allowing you to install and run Linux apps alongside Chrome OS. This compatibility depends on your Chromebook model and its hardware.

Most modern Chromebooks support Linux through a feature called Crostini. Crostini lets you run Linux apps in a secure container without needing to replace Chrome OS. For older models or those without Crostini support, you might need to use alternative methods like Crouton or dual-boot setups.

Here’s what you should know about Linux compatibility on Chromebooks:

  • Crostini Support: Available on most Chromebooks released after 2019.
  • Developer Mode: Required for some installation methods.
  • Hardware Limitations: Some devices may have limited Linux support due to drivers or firmware.
  • Performance: Linux runs smoothly on most Chromebooks, but performance varies by model.

Checking your Chromebook’s compatibility is the first step before installing Linux.

Preparing Your Chromebook for Linux Installation

Before installing Linux, you need to prepare your Chromebook properly. This preparation ensures a smooth installation and prevents data loss.

Backup Your Data

Installing Linux or enabling developer mode can sometimes erase your data. Back up important files to Google Drive, an external hard drive, or another cloud service.

Enable Developer Mode (If Needed)

Developer mode unlocks advanced features on your Chromebook, allowing you to install Linux in ways not normally permitted. However, enabling it will:

  • Powerwash (factory reset) your device, erasing all local data.
  • Disable some security features.
  • Show a warning screen at boot.

To enable developer mode:

  1. Turn off your Chromebook.
  2. Press and hold Esc + Refresh keys, then press the Power button.
  3. When the recovery screen appears, press Ctrl + D.
  4. Confirm by pressing Enter.
  5. The Chromebook will reboot and transition into developer mode.

This process can take several minutes. After it’s done, your Chromebook will reboot with developer mode enabled.

Update Chrome OS

Make sure your Chromebook is running the latest version of Chrome OS. Updates often improve Linux support and fix bugs.

To update:

  • Click the clock in the bottom-right corner.
  • Select Settings > About Chrome OS > Check for updates.
  • Install any available updates and restart your device.

Installing Linux Using Crostini (Linux Beta)

The easiest and safest way to install Linux on a Chromebook is through Crostini, also known as Linux (Beta). This method doesn’t require developer mode and runs Linux in a secure container.

How to Enable Linux (Beta)

  1. Open Settings on your Chromebook.
  2. Scroll down to Linux (Beta) and click Turn On.
  3. Follow the on-screen instructions to set up Linux.
  4. Choose a username and disk size for your Linux container.
  5. Wait for the installation to complete.

Once installed, you’ll have a Linux terminal app available. You can install Linux software using the terminal’s package manager (usually apt).

Benefits of Crostini

  • No need to enable developer mode.
  • Runs Linux apps securely alongside Chrome OS.
  • Easy to update and manage.
  • Supports graphical Linux apps like GIMP, VS Code, and more.

Limitations

  • Limited access to hardware (e.g., no direct GPU access).
  • Some advanced Linux features may not work.
  • Performance is good but not as fast as a full Linux install.

Installing Linux Using Crouton

If you want a full Linux desktop experience, Crouton is a popular method. It installs Linux alongside Chrome OS and lets you switch between the two without rebooting.

What is Crouton?

Crouton stands for “Chromium OS Universal Chroot Environment.” It uses a chroot environment to run Linux on top of Chrome OS. This method requires developer mode.

Steps to Install Linux with Crouton

  1. Enable developer mode on your Chromebook.
  2. Download the Crouton script from the official GitHub repository.
  3. Open the Chrome OS terminal by pressing Ctrl + Alt + T, then type shell and press Enter.
  4. Run the Crouton installer with the desired Linux desktop environment. For example:

    sudo sh ~/Downloads/crouton -t xfce
    
  5. Follow the prompts to complete the installation.

  6. To start Linux, use the command:

    sudo startxfce4
    

Advantages of Crouton

  • Full Linux desktop environment.
  • Switch between Chrome OS and Linux instantly.
  • Access to more hardware features.

Disadvantages

  • Requires developer mode, which reduces security.
  • More complex setup and maintenance.
  • Potential for system instability if not used carefully.

Dual Booting Linux and Chrome OS

For advanced users, dual booting Linux alongside Chrome OS is an option. This method installs a full Linux distribution on your Chromebook’s storage and lets you choose which OS to boot.

How Dual Boot Works

Dual booting replaces the Chromebook’s firmware with a custom one like SeaBIOS. You then install Linux distributions such as Ubuntu or GalliumOS.

Steps to Dual Boot

  1. Enable developer mode.
  2. Backup your data.
  3. Replace the firmware with custom firmware.
  4. Create a bootable USB with your Linux distro.
  5. Boot from USB and install Linux alongside Chrome OS.

Pros and Cons of Dual Booting

ProsCons
Full Linux performanceComplex setup
Access to all hardware featuresVoids warranty
Choose OS at startupRisk of bricking device

Dual booting is best for users comfortable with Linux and firmware modifications.

Tips for Using Linux on Chromebook

Once you have Linux installed, here are some tips to get the most out of it:

  • Keep Chrome OS updated: Updates improve Linux integration.
  • Use Linux apps wisely: Some apps may not work perfectly.
  • Manage storage: Linux files take space; clean up regularly.
  • Learn basic Linux commands: This helps with troubleshooting.
  • Backup your Linux data: Use cloud storage or external drives.

Troubleshooting Common Issues

Installing Linux on a Chromebook can sometimes cause issues. Here are solutions to common problems:

  • Linux (Beta) won’t install: Check if your Chromebook supports Crostini.
  • Crouton installation fails: Ensure developer mode is enabled and you have a stable internet connection.
  • Linux apps won’t launch: Update your Linux container or reinstall the app.
  • Performance is slow: Allocate more disk space or close unused apps.
  • Lost data after enabling developer mode: Always back up before starting.

Conclusion

Installing Linux on your Chromebook is a great way to expand its capabilities. Whether you choose the simple Crostini method, the flexible Crouton approach, or the powerful dual boot setup, you can enjoy Linux apps and tools on your device. Remember to prepare your Chromebook carefully, back up your data, and choose the method that fits your needs and comfort level.

With Linux on your Chromebook, you gain access to a wide range of software and customization options. This can turn your Chromebook into a versatile machine for work, study, or development. Take your time, follow the steps, and soon you’ll be running Linux smoothly alongside Chrome OS.

FAQs

What is the easiest way to install Linux on a Chromebook?

The easiest way is using Linux (Beta) or Crostini, which runs Linux apps in a secure container without needing developer mode.

Do I need to enable developer mode to install Linux?

Not for Linux (Beta), but yes for methods like Crouton or dual booting, which require developer mode.

Will installing Linux void my Chromebook’s warranty?

Enabling developer mode or modifying firmware may void your warranty. Check your manufacturer’s policy before proceeding.

Can I run graphical Linux apps on a Chromebook?

Yes, Crostini supports graphical Linux apps like GIMP, VS Code, and LibreOffice.

Is dual booting better than using Linux (Beta)?

Dual booting offers full Linux performance but is more complex and risky. Linux (Beta) is safer and easier for most users.

More from this blog

L

LinuxBloke | Linux Tips, Tricks & Troubleshooting

672 posts