Chromebook and Linux are the popular and versatile OS. Initially, the Chromebook was made keeping in mind the students, but now it becomes a full-fledged OS after joining the Android Play Store. Millions of Android apps can be installed and used in the Chromebook to do a lot more productive tasks. On the other hand, Linux offers some powerful and useful alternative software for users who have come from Windows or any other system. GIMP (alternative of adobe photoshop), Darktable, (a Lightroom alternative), and lots of software out there in the various Linux software repositories, which can help the users to adopt the open-source system instead of Windows or Mac OS.
Install Linux on Chromebook
So if you are a Chromebook user and want to have dual OS side by side with the Linux system for the more productive job or want to get a different flavor, then this is the right place for you to know how to install Linux on Chromebook to unlock its full potentiality. Here I will be proceeding with a natural step by step tutorial on How to easily install Linux on Chromebook.
Here I will be using Crouton to install Linux on Chromebook, which uses the chroot command to run the Linux distros on top of the Chrome OS, another derivative of the Linux kernel. This is just like dual booting without rebooting the system instead of opening both the OS side by side in a Chrome, Window manager. This is amazingly easy to use and powerful of having both the system alongside.
But if you like to install Linux on Chromebook as a traditional dual boot, I would like to recommend you to see ChrUbuntu instead. Using Crouton is much more comfortable to follow and works on almost all types of Chromebook.
Before going to follow these tips and tutorials, you must take a full backup of all the files on google drive and make a “Chrome OS restore image” file. So that if any unwanted things happen during the process, you can restore your full system.
1. Enable Linux Apps with Crostini
The official way of installing Linux in your Chromebook is called Crostini which enables Linux OS to run in a separate app on your Chrome OS desktop. Since this Linux app stays inside the container which is Chrome OS, in this case, anything goes awry in your Linux will not impinge on your Chrome OS. Since this Linux is in Beta mode meaning that some of the features will not work properly such as accelerated graphics or audio in Linux apps. Besides, not all Chromebooks present this Linux beta option in which you will have to install it using the other two methods. In order to install Linux Crostini, you need to,
Step – 1: Click on the bottom right corner on the time menu and select the settings icon (gear icon).
Step – 2: Scroll down to the Linux settings and turn it on. If you don’t see this option meaning that your Chromebook does not support it.
Step – 3: Install the Linux beta followed by you will be greeted with a Linux terminal in which you have to type two commands one after another such as
sudo apt update sudo apt upgrade
Step – 4: This will make sure that your Linux app is up to date and therefore, it will launch the apps in which you can download the Steam.
2. Install Linux Desktop with Crouton
In order to have fully-fledged Linux experience or if your Chromebook doesn’t have Crostini at all then you can install Linux by using a chroot environment called Crouton. In this case, the operating system for Linux is Ubuntu. Although this process is less time consuming and easy to install, this mode will switch the entire Chrome OS to developer mode which means that you need to back up all your data if they are not synced into your cloud.
Steps to Getting Started
- Backup all the user’s files into google drive.
- Make a Chrome OS recovery image and learn how to recover the chrome os.
- After making a Chrome OS restore an image, learn how to write it on an SD card or flash drive for later use.
- Learn how to get into the developer mode for your specific Chromebook model using google search.
Don’t skip any of those noted steps. Though installing Linux on the Chromebook is easy and straightforward but it always good to have all the necessary tools before factory flash of the Chromebook. When you take your Chromebook into developer mode for the first time, it will remove all the system data and files from the system. That means you have to start from scratch. Don’t get afraid, follow the instruction, and have fun.
Step 1: Enable Developer Mode
As I have said earlier, it will wipe all the data. And I believe you have followed “Steps Before Getting Started.” This is some general information about putting the Chromebook into developer mode. But it is wise to have google search with your Chromebook specific model.
- First of all, you have to take your Chromebook into recovery mode by pressing and holding the Esc, Refresh keys, and the Power button altogether.
- When the recovery mode comes up, press Ctrl+D to turn on Developer Mode.
- Now press Enter and wait a minimum of 15 minutes and so. It will reboot and go through a process of enabling developer mode.
- During the enabling process, it will wipe out all the local information.
- After the completion of the process, it will come up with a red exclamation screen. Don’t do anything until it reboots into Chrome OS.
Step 2: Install Crouton
Before going to install Crouton, let us know what it is? Crouton is a piece of software as chroot kind, developed by Google hardware engineer who loves Chromebook, which is used to create an environment on Chromebook, like android and google play on Chromebook, to install Linux based OS like Ubuntu, Linux Mint, and others using the same hardware specification as used by Chrome OS. Though there are many other ways available to install Linux on Chromebook this one is easy and straightforward to install, uninstall or modify. Now it’s time to go to step 2 to install Linux on Chromebook.
- Download Crouton from the official Github Page and save it to download the folder.
- Open the Terminal by pressing Ctrl+Alt+T on your Chromebook.
- Run the following command into Terminal to enter the Ubuntu shell :
- Run the following command into the Terminal to install Crouton :
sudo sh -e ~/Downloads/crouton -t xfce
If you are using the Crouton Integration extension, run the following command :
sudo sh ~/Downloads/crouton -t xiwi,xfce
- If you’re doing this on a Chromebook Pixel, Asus flipbook or any touchscreen Chromebook then change it to :
sudo sh -e ~/Downloads/crouton -t touch,xfce
- As the developer mode increases the security vulnerability of the system, you can encrypt the desktop password for extra security measurement by using -e flag. You can get more information regarding this from the official GitHub page.
- It will take some time for installing Crouton. When it is completed, it will prompt for new username and password for the new Ubuntu installation. Enter the user credentials as it asked.
- After finishing the installation, run the following command to start the Ubuntu Linux desktop environment :
- Up to this time, I have shown how to install the Ubuntu Xfce desktop environment. But if you want to install the Unity desktop environment, just replace “xfce” with the “unity” without the quote in the above command. And while starting the desktop environment replace with “startunity” without the quote. Moreover, if you like to install KDE, LXDE, and any other Linux desktop environment, See the Crouton GitHub page for more information.
Step 3: Optimize The Linux Desktop Environment
- You can switch back and forward between chrome os and ubuntu by using Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward for ARM-based Chromebook, and Ctrl+Alt+Back and Ctrl+Alt+Forward for an Intel-based Chromebook. For the latter command, you have to press Ctrl+Alt+Refresh to bring up the desktop.
- Just log out as standard PC if you want to exit the Ubuntu Linux desktop. Again run sudo startxfce4 to start the Linux desktop environment.
- This version of Ubuntu Linux desktop does not come with lots of software. Even some of the essential apps, you will not find here. So you have to install all those vital software manually by using specific commands into the Terminal.
sudo apt-get update sudo apt-get install bash-completion ttf-ubuntu-font-family software-center synaptic
- Disable the screensaver if you are using XFCE to avoid graphics issues in Chrome OS.
- Use the Download folder as it is shareable for both the system.
- It will take more than 30 seconds to boot up as it’s in a developer mode. You can skip the developer mode message by pressing Ctrl+D.
Extra Tips: Remove the Linux Desktop Environment
If you want to remove the Ubuntu Linux desktop environment and go back into the regular chrome OS, press the spacebar while rebooting the system and when to re-enable OS verification prompt up. This will uninstall Crouton and restore your Chrome OS.
Some alternative ways to remove Linux. Run the following command into the Terminal:
- Type cd /usr/local/chroots and press Enter
- Type sudo delete-chroot * and press Enter
- Type rm -rf /usr/local/bin and press Enter
So that’s it. Now you have a fully functional and effective Ubuntu Linux desktop along with Chrome OS. You can switch back or forward to the different systems by using a keystroke.
3. Dual-Boot Chrome OS with Linux
If you prefer Linux over Chrome OS and do not want to have Chrome OS at all then this option is the perfect one. It means that you will have to partition the drive and dual-boot it with Chrome OS. In order to perform dual-boot, you can use the tool called chrx which by default installs GalliumOS. This process also needs to switch the Chromebook into a developer mode. The installation processes are as follow:
Step – 1: Press Ctrl+Alt+T to open the terminal and type shell followed by press enter. Then run the following command to prepare the installation.
cd ; curl -0s http://chrx.org/go && sh go
Step – 2: The chrx installer will tell you what to do next step by step while partitioning your drive. The Chromebook will reboot and you have to press Ctrl+L at start-up to boot your preferred Linux distro.
What method did you follow to install Linux on Chromebook? Do you like this tutorial? If you face any problem during this process, please let me know in the comment section. Is this tutorial on installing Linux on Chromebook helpful? Mind if you do me a sweet favor, and tap the Social Share Button if you learned something new? It’d mean so much to me. Thanks again for spending part of your day here. Hope to see you come back. 🙂