Chromebook and Linux both are the popular and versatile OS. Initially, the Chromebook was made keeping in mind of 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 task.
On the other hand, Linux offers some powerful and useful alternative software for users who have come from the Windows or any other system. GIMP ( the 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.
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 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 your all the files on google drive and make a Chrome OS restore an image. So that if any unwanted things happen during the process, you can restore your full effective system of the Chromebook.
# 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 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 your 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 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 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 new Ubuntu installation. To 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 command 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 30 seconds to boot up as it’s in a developer mode. You can skip the developer mode message by pressing Ctrl+D.
Remove the Linux Desktop Environment
If you want to remove the Ubuntu Linux desktop environment and go back into the regular chrome OS, press 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 way to remove the 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 system by using keystroke.
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 and feel free to share your experience also.
The Last Words
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. 🙂