We recently moved to a new office and in the process ordered some hardware: two google chromebooks, the Samsung 13-inch chromebook 2.
Although they are meant for web browsing and administrative tasks, I was curious and got my hands on one of the laptops to tinker around with for the afternoon. They’re quite pretty machines, really nice display and feel.
The Chrome OS isn’t bad for what’s it meant (using Chrome), but craving some Linux development power, I checked out this tutorial on Lifehacker to run Ubuntu with the help of Crouton, a tool that enables Ubuntu to run on top of Chrome OS, using the chroot command.
Confused? Don’t be– I found that, for once, the tutorial was crystal-clear, easy, and in a few steps and less than half an hour, I was up and running. Sweet!
Here’s my abbreviated version for running Unity.
How to run Ubuntu Unity on Chromebook 2 with Crouton
1. Obtain Chromebook. The one I had was a Samsung Chromebook 2, 13”.
2. Turn it on, and set up the Chrome logins.
3. Press and hold the Esc + Refresh keys together, and press the Power button while still holding the other two down. This will reboot into Recovery Mode.
4. Now, act quick! As soon as you see Recovery Mode pop up (screen with yellow exclamation point), press Ctr + D.
5. Press Enter to continue in Developer Mode when prompted.
6. Wait– this will take a while to clear your data. A new screen will pop up for a few, then it will reboot and restart in Developer Mode. It’ll probably take 10 min or so.
7. Return to screen with red exclamation point (it will automatically go there), and don’t press anything! You’ll reboot into the Chrome OS.
8. Now for the fun part: time to install Crouton! Download it from the top of the page here: https://github.com/dnschneid/crouton
9. Now pull up the terminal: press Ctrl + Alt + T, and type “shell”
10. To install Crouton: “sudo sh -e ~/path/to/crouton -t unity” (on a Chromebook Pixel, that’s “sudo sh -e ~/path/to/crouton -t touch,unity”, for touchscreen support.)
11. Wait for the install. When it’s done, it’ll ask you for a username and password.
12. Now, you’re ready to run the new desktop! “sudo startunity”.
To switch back and forth between Chrome OS and Ubuntu, simply press Ctrl + Alt + Shift + Back and Ctrl + Alt + Shift + Forward (if you’re on an ARM-based Chromebook) or Ctrl + Alt + Back and Ctr + Alt + Forward (if on Intel-based Chromebook). If so, you’ll also need to press Ctr + Alt + Refresh after.
The cool thing is that there’s zero speed penalty running Linux this way, instead of dual-booting; and you can shift between OS’s with a simple keyboard-combo. The downside? Security, security, security.
From the Crouton README: “Note that developer mode, in its default configuration, is completely insecure, so don’t expect a password in your chroot to keep anyone from your data. crouton does support encrypting chroots, but the encryption is only as strong as the quality of your passphrase. Consider this your warning.”