sodcalculator

10 Tech How-To

Install Ubuntu on Chromebooks: Full Guide

Guide 10-36162 · Updated · Step by step

Yes, you can install Ubuntu on most Chromebooks, either alongside ChromeOS or as a full replacement, but the exact method depends on your device’s hardware and how much control you need. This guide covers the four main approaches—Linux (Crostini), Crouton, full install with custom firmware, and dual-boot—so you can pick the one that fits your skills and goals.

Understanding Your Chromebook’s Hardware

Before installing anything, you need to know what processor your Chromebook uses. Most modern Chromebooks (2019 and later) use either an Intel/AMD x86 chip or an ARM-based chip like the MediaTek Kompanio or Qualcomm Snapdragon. This matters because Ubuntu is primarily built for x86 architecture, and while ARM versions exist, they have limited software compatibility and fewer prebuilt images. You can check your model’s specs in ChromeOS by going to Settings > About ChromeOS > Diagnostics, or look up your exact model on the manufacturer’s page.

Another key factor is whether your Chromebook has a writable BIOS. Many newer models use a locked bootloader that prevents installing a different OS directly. If you want to replace ChromeOS entirely, you’ll likely need to flash custom firmware, which requires opening the device and disabling hardware write-protect (often a screw or a jumper). If that sounds too invasive, the Linux container or Crouton methods avoid this entirely.

Method 1: Linux (Crostini) – The Easiest and Safest

Since Chrome OS 69, most Chromebooks include a built-in Linux environment called Crostini. It runs Ubuntu (or Debian) in a secure virtual machine, so you get a full terminal and can install Ubuntu software without touching the underlying system. This is the recommended method for beginners and for anyone who just wants to run Linux apps.

  1. Open Settings > Advanced > Developers > Linux development environment.
  2. Click Turn on and follow the prompts to set up a username.
  3. Wait for the terminal window to appear—this means the container is ready.
  4. Update the system by typing sudo apt update && sudo apt upgrade.
  5. Install any Ubuntu package with sudo apt install <package-name>.

You can also install a full desktop environment like XFCE or GNOME inside Crostini, but it’s not necessary for most tasks. The main limitation is that Crostini uses a container, not a full OS, so you can’t access hardware devices like USB drives directly (though recent updates have improved this). For most programming, office work, and web development, it’s more than enough.

Method 2: Crouton – Ubuntu Alongside ChromeOS

Crouton (Chromium OS Universal Chroot Environment) is a script that creates a chroot—a separate Ubuntu installation that runs inside ChromeOS, using the same kernel. It’s faster than Crostini because it’s not virtualized, and it lets you switch between ChromeOS and Ubuntu with a keyboard shortcut (usually Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward).

To use Crouton, you must first enable Developer Mode:

  1. Turn off your Chromebook.
  2. Hold Esc + Refresh and press the Power button.
  3. At the recovery screen, press Ctrl+D and then Enter to confirm.
  4. Wait for the device to wipe and reboot into Developer Mode (this takes about 10 minutes).

Then download the Crouton script from its official GitHub page, open a shell (Ctrl+Alt+T, type shell), and run a command like:

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

This installs an XFCE desktop. You can also add -t gnome for GNOME. To enter Ubuntu, type sudo startxfce4 in the shell. Crouton is great because it doesn’t require custom firmware, but it does rely on ChromeOS’s kernel, so you can’t run Ubuntu-only kernels or hardware drivers that aren’t available in ChromeOS.

Method 3: Full Install with Custom Firmware

If you want to completely replace ChromeOS with Ubuntu, you need to flash custom firmware. The most popular tool is MrChromebox’s firmware utility script, which supports a wide range of Intel-based Chromebooks. This process removes the ChromeOS bootloader and installs a standard UEFI or SeaBIOS firmware, allowing you to boot a regular Ubuntu USB drive.

Before you start, back up any important data—this will erase everything on the device. You’ll also need to open the Chromebook to disable hardware write-protect, which is usually a screw on the motherboard. The exact location varies by model, so look up a teardown guide for your specific device.

Once the firmware is flashed, you can boot from a USB drive with the Ubuntu installer. Follow the standard installation steps, and choose to Erase disk and install Ubuntu if you want a single OS. After installation, you’ll have a fully functional Ubuntu laptop, but you lose ChromeOS features like automatic updates and the Chrome browser’s built-in security. Also, some hardware (like the keyboard backlight or audio) may not work perfectly on all models, so check the community forums for your device’s compatibility.

Method 4: Dual-Boot with rEFInd

If you want to keep ChromeOS but also have a full Ubuntu installation, you can dual-boot using a custom boot manager like rEFInd. This requires the same custom firmware as Method 3, but instead of wiping the drive, you partition it to hold both systems. The process is more complex and not officially supported by Google, so it’s only recommended for advanced users who are comfortable with partitioning and GRUB.

In practice, most people find Crostini or Crouton sufficient, since they give you a full Linux environment without the hassle of dual-booting. The only real advantage of a dual-boot is that you can run Ubuntu with full hardware access (e.g., for GPU-intensive tasks) while still having ChromeOS for daily browsing.

Common Problems and How to Fix Them

  • No sound after install: This is common on many Chromebooks. Try installing pavucontrol and check if the audio device is detected. If not, you may need to compile a kernel module or use a different Ubuntu version.
  • Keyboard shortcuts not working: The top-row keys (like brightness and volume) may not map correctly. You can remap them using xmodmap or a tool like keyboard in GNOME.
  • Wi-Fi drops or is slow: Some Chromebooks have Wi-Fi chips that lack Linux drivers. Check if your model uses an Intel or Broadcom chip; Intel usually works out of the box, while Broadcom may need proprietary drivers.
  • Developer Mode warning screen: Every time you boot, you’ll see a scary warning. You can press Ctrl+D to bypass it, but you can’t disable it without reverting to stock firmware.
  • Battery life is worse: Ubuntu may not have the same power management as ChromeOS. Install tlp to improve battery life, and consider using a lighter desktop environment like XFCE.

Choosing the Right Method for You

Here’s a quick decision guide:

  • If you’re new to Linux: Use Crostini. It’s built-in, safe, and doesn’t void your warranty.
  • If you need a full Ubuntu desktop but want to keep ChromeOS: Use Crouton. It’s fast and reversible.
  • If you want to replace ChromeOS entirely and are comfortable with hardware mods: Use custom firmware and a full install.
  • If you need both OSes with full hardware access: Dual-boot, but only if you’re an advanced user.

Costs and Risks

All methods are free, but there are costs in terms of time and risk. Crostini and Crouton are low-risk—you can always go back to ChromeOS. Flashing custom firmware voids your warranty and carries a small risk of bricking your device if you make a mistake. Always follow the firmware utility’s instructions carefully, and don’t attempt it on a device you can’t afford to lose.

Frequently Asked Questions

Will installing Ubuntu void my Chromebook’s warranty?

Yes, enabling Developer Mode and especially flashing custom firmware voids the manufacturer’s warranty. Crostini, however, is an official feature and does not void anything.

Can I install Ubuntu on an ARM-based Chromebook?

Yes, but with limitations. Ubuntu has an ARM port, but many packages are not compiled for ARM, and you may need to use a community build like Ubuntu for ARM. Crostini on ARM works fine for most tasks, but full installs are trickier.

How do I revert back to ChromeOS?

If you used Crouton, simply disable Developer Mode in Settings, and it will wipe the chroot. For custom firmware, you can re-flash the stock firmware using the same utility script, then perform a recovery using a ChromeOS USB stick.

Does Ubuntu run faster than ChromeOS on a Chromebook?

Not necessarily. ChromeOS is lightweight and optimized for the hardware. Ubuntu with a full desktop can be heavier, but a lightweight environment like XFCE can be comparable. For specific tasks like compiling code or running Docker, Ubuntu is more flexible.

Can I use the Google Play Store after installing Ubuntu?

No, the Play Store is a ChromeOS feature. Once you replace ChromeOS, you lose Android app support. If you need Android apps, stick with Crostini or Crouton, which keep ChromeOS intact.

Is it legal to install Ubuntu on a Chromebook?

Yes, it’s your hardware and Ubuntu is open-source. The only legal issue might be if you violate the terms of service for any proprietary software that came with the device, but installing a different OS is generally allowed.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →