How to Run Linux in a Window on your Chromebook

Chromebook owners: You might be aware that (with some clever hacks) it’s possible to run a Linux distribution on your Chromebook. Once you’ve got Crouton installed, you’ll be able to swap between ChromeOS and Linux with a key press. It’s really cool – but what if you could run Linux in a window – like a program? Well, now you can!

A talented Google Intern has created some software for the ChromeOS browser that allows Crouton to be run in a window. It’s a fairly simple process made possible by two great tools – Xiwi and a Crouton Integration extension. Please note: for this to work, you’ll need to already have Crouton installed on your Chromebook.

Getting your Chromebook ready

Before anything in this guide can happen, your Chromebook must be put into development mode. This is really easy to do. Press the Escape key, the Power key and the Refresh button (or the third button on your function row of keys if your 3rd button is different).

This combination of buttons will automatically place your Chrome device into a process that disables OS verification. You’ll get a warning. Ignore it and press “Ctrl + D” on your keyboard to continue. Once this happens, your Chromebook will be converted to developer mode.

This may take a bit of time, and all of your settings and files will be deleted, but after the process is done, you’ll have full administrative access on your Chromebook.

Note: now that your device’s OS verification is disabled, you’ll need to press “Ctrl + D” before each boot.

Installing Linux on your Chromebook

Before you can install Crouton, you’ll need to download it. You can download it by following this link. Once you’ve got the file, it’s time to open a Chrome shell window. Do it by pressing “Ctrl + Alt + T” on your keyboard.

run-crouton-in-a-window-crosh

Once you’re in the Chrome shell, you have to get to the bash shell. You can get there by typing shell into the prompt and pressing the Enter key.

Now that you’ve made it into the bash shell, the installation process can continue.

run-crouton-in-a-window-installing-chroot-trusty-ubuntu

sudo sh ~/Downloads/crouton -r trusty -t xiwi,xfce

The command above will take you through an entire setup process. This involves fully installing Ubuntu into a Chroot, setting up a user account, etc. This may take a while. Please be patient.

How to run Crouton in a window on your Chromebook

Crouton is now fully installed along with Xiwi (one of the tools we need to run Linux in a window). There’s only one piece of the puzzle left. Soon you’ll be able to have ChromeOS and Linux running on the same screen!

Head over to the Chrome store and install the Crouton integration extension. After that, open a Chrome shell window This is done by pressing “Ctrl + Alt + T” followed by typing the word shell and pressing the Enter key.

In order to run Linux, you’ll have to mount your Chroot. Please note, this must be done as root.

run-crouton-in-a-window-enter-chroot

sudo enter-chroot

Once inside the Chroot environment, you’ll need to start up the xfce desktop environment.

run-crouton-in-a-window-xfce-in-a-seperate-window

startxfce4

run-crouton-in-a-window-xfce-in-a-seperate-window-streched-out-windowed

You should see some commands letting you know that the Chroot is communicating with the Crouton integration extension. If everything is done correctly, you’ll soon see Ubuntu Linux pop up in a window! Enjoy!

Conclusion

On the surface, ChromeOS looks like a basic consumer-based operating system, one that only allows you to browse the web, manage files and other simple functions. Crouton and the Crouton extension change that.

With these two powerful components, it shows that this OS shouldn’t be counted out. It’s actually quite technical. With the ability to have Linux in a window, Google’s operating system has the opportunity to be a serious contender in the consumer space.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Derrik Diener

Derrik Diener is a freelance technology blogger.