in

How to Install Linux on Chromebook: An In-Depth Step-by-Step Guide for Beginners

Hey there! Have you ever felt limited by your Chromebook‘s inability to run desktop apps? As a fellow tech enthusiast, I know the feeling. Chrome OS is great for web browsing and basic tasks, but sometimes you just need access to a full Linux environment.

The good news is you can transform your Chromebook into a Linux laptop through various installation methods. I‘ll walk you through the steps so you can unlock the full potential of your device. Just grab a beverage, get comfortable, and let‘s dive in!

Why Put Linux on a Chromebook Anyway?

Before we get our hands dirty, let‘s discuss the benefits of adding Linux to a Chromebook:

  • Run desktop apps – Get access to powerful open source software for programming, photo/video editing, document creation, gaming, and more.

  • Use developer tools – Install frameworks like Node.js, Ruby, Python, etc. for web or software development.

  • Get extra mileage – Breathe new life into older Chromebooks that are no longer receiving updates.

  • Customize the experience – Tailor your system by choosing from various Linux distros and interfaces.

  • Enhanced security – Leverage the permission controls and malware resistance of Linux systems.

According to StatCounter, Linux usage has grown 36% year-over-year. Developers and privacy-focused users are flocking to distros like Ubuntu, Mint, Fedora, and Manjaro.

Running Linux natively alongside or instead of Chrome OS allows you to join the open source revolution. Time to grab a screwdriver and crack this Chromebook wide open!

Preparing for Linux Installation

Let‘s start with some preparatory steps before jumping into the installation:

  • Back up your data – Creating a backup saves you from potential data loss during the process. Use the built-in Chrome OS settings or a cloud service like Google Drive.

  • Check hardware compatibility – Not all Chromebook components work fully on Linux. Search forums and Reddit to see if anyone has issues with your model.

  • Choose a Linux distro – Popular user-friendly options include Ubuntu, Linux Mint, Zorin, and Elementary OS. I prefer Linux Mint Cinnamon for new users.

  • Allocate disk space – For a basic command line install, you‘ll need around 5GB free. A full desktop environment with apps takes 10GB or more.

  • Have a live USB – Download your Linux ISO file and write it to a USB drive using Etcher. This will come in handy later.

Okay, I think we‘re ready to start! Let‘s look at the three main methods of getting Linux up and running on a Chromebook.

Dual Boot Linux with Chrome OS

Dual booting allows you to choose between Chrome OS and Linux when powering on your device. Here are the steps:

Enable Developer Mode

First, we need to put your Chromebook into Developer Mode. This opens up advanced options like dual booting.

  1. Press and hold Esc + Refresh, then tap the Power button. This brings you to the recovery screen.

  2. Press Ctrl + D and confirm to enable Developer Mode.

  3. Wait patiently as the transition process begins. Resist any urge to interrupt it.

  4. Once complete, press Ctrl + D to boot back into Chrome OS.

Enabling Developer Mode wipes your local data. But the backup you created earlier saves you from losing anything important.

Install a Compatible Linux Distribution

Now we can install a desktop Linux distro designed for Chromebooks. I recommend GalliumOS for full hardware compatibility.

  1. Insert the live USB drive you prepared earlier into your Chromebook.

  2. Restart your device and press Ctrl + L at the recovery screen to enter boot menu.

  3. Select your USB drive as the boot source. GalliumOS will launch its graphical installer.

  4. Follow the prompts to install GalliumOS to your internal drive alongside Chrome OS.

  5. When finished, remove the USB, restart, and enjoy dual boot bliss! Select Chrome OS or GalliumOS at each boot.

With dual boot, you get the best of both worlds—web browsing and Linux apps! Next, let‘s look at fully replacing Chrome OS with Linux.

Wipe Chrome OS and Install Linux

If you rarely use Chrome OS, consider wiping it entirely and making Linux the sole operating system.

Enable Developer Mode

We‘ll need to enable Developer Mode on your Chromebook first. Follow the same steps above to unlock Developer Mode.

Make Your Chromebook Bootable

To allow booting from our live drive, open crosh shell:

  1. Press Ctrl + Alt + T to launch crosh.

  2. Run sudo crossystem dev_boot_usb=1 dev_boot_legacy=1 to permit USB booting.

  3. Enter sudo reboot to restart your Chromebook.

Install Linux from the Live USB

Now we can wipe Chrome OS and replace it with the Linux distro of your dreams:

  1. On reboot, press Ctrl + L to bring up the boot menu.

  2. Insert your live USB and select it as the boot source.

  3. When prompted, choose to erase Chrome OS fully and install Linux only.

  4. Remove the USB after installation completes and enjoy your fresh Linux system!

Going Linux-only trades the simplicity of Chrome OS for expanded functionality and customization.

Run Linux Apps in Chrome OS with Crostini

Newer Chromebooks include built-in Linux app support through Container Linux, nicknamed Crostini. Here‘s how to set it up:

  1. Open Chrome OS Settings and navigate to Linux Development Environment.

  2. Turn on the feature and click through the confirmation prompt.

  3. Enter a Linux username when asked. This completes the setup process.

  4. Locate the Terminal app icon that appears and right-click to pin it to the shelf.

You can now launch the Terminal to access a Linux command line and install apps within Chrome OS. It‘s like having two operating systems in one!

The Crostini container shares Chrome OS resources and storage space. But compatibility is limited compared to a full distro install. Performance intensive Linux apps likely won‘t work well in Crostini.

Troubleshooting Common Linux Installation Problems

Unfortunately, Linux and Chromebooks don‘t always play nice together. But there are solutions to the most frequent issues that arise:

Keyboard or Touchpad Not Functioning

  • Try suspending and waking your Chromebook from Linux. This often resolves input problems.

  • Verify the psmouse mouse driver is loaded by running lsmod | grep psmouse.

  • For touchpad woes, install the xserver-xorg-input-synaptics package.

No Internal Storage Access from Linux

  • GalliumOS blocks internal drive access for stability. Run sudo galliumos-rw-config and ensure GBBFLAGS=0.

Chromebook Freezes at Boot

  • Corrupted data can prevent booting. Press Refresh + Power to start recovery mode.

  • Select "Powerwash" to factory reset the device. Reinstall Linux after with fresh downloads.

Linux Boots to Command Line Only

  • If Linux fails to load the desktop GUI, the display manager could be misconfigured.

  • From the tty console, enter sudo dpkg-reconfigure lightdm (or your distro‘s equivalent).

  • Choose the auto login option and reboot. The graphical environment should now start.

Be prepared to troubleshoot, but don‘t let common issues discourage you. With some persistence, you can get Linux running smoothly on your Chromebook.

FAQs About Linux on Chromebooks

Let‘s wrap up with answers to some frequently asked questions about this topic:

Does installing Linux void my warranty?

Technically, yes. Modifying Chrome OS violates Google‘s EULA and can void the warranty. But manufacturers can‘t detect your changes. Just reinstall Chrome OS before repair service.

Will all my hardware components work in Linux?

Most Chromebook hardware has native Linux support. But certain models have partial or no compatibility with components like the touchscreen or fingerprint reader. Research your specific device first.

Is dual booting secure?

Dual boot does disable some Chrome OS security features. Your Linux install could be vulnerable while in use. For better safety, avoid storing sensitive data there.

Can I run desktop Linux apps in Crostini?

The Linux container has limited compatibility with heavier GUI apps, gaming, and GPU workloads. Crostini is best for command line tools and basic graphical programs.

How much disk space does Linux need?

Plan for a minimum of 10GB for a desktop environment and apps. For media collections or gaming, allocate 30GB or more. Linux disk usage grows over time as you add programs.

Final Thoughts on This Linux Journey

And there you have it—everything you need to know to get Linux up and running on your Chromebook. I hope all these details give you the confidence to unlock your device‘s full potential.

While the steps may seem daunting at first, take it slow and don‘t be afraid to get your hands dirty. With some trial and error, you‘ll be on your way to enjoying the freedom, customization, and possibilities of Linux on your Chromebook.

Let me know if you have any other questions! I‘m always happy to help a fellow Linux enthusiast. Whatever installation method you choose, have fun with your new Linux-powered Chromebook!

AlexisKestler

Written by Alexis Kestler

A female web designer and programmer - Now is a 36-year IT professional with over 15 years of experience living in NorCal. I enjoy keeping my feet wet in the world of technology through reading, working, and researching topics that pique my interest.