Score:5

How to install Ubuntu on Chromebook (Google Pixelbook 2017)?

mn flag

The chromebook I'm trying to install Ubuntu on is a Google Pixelbook, with the i5-8200Y and 8 GB of RAM.

The Chromebook model name is EVE.

One cannot install Ubuntu in a Chromebook in the regular method, because default settings of Chromebook do not allow booting from a USB drive.

The official tutorial for installing Ubuntu in chroot using the Crouton installer is for Ubuntu 16.04, and is outdated. I'm not too sure on the version of Ubuntu, I would assume 16.04 though as I'm using the crouton installer. So, I asked this question initially on Reddit, about running into trouble on one of the steps. The redditor was able to help me partially, guiding me to the updated crouton install guide.

My problem currently is that I left it to install after typing

sudo crouton -t xfce

and it did a bunch of retrieving and validating, but then after a while, when I returned, it had thrown this error at me.

Compiling CRAS (i386)...
gcc: error: unrecognized command line option '-Wundef-prefix=HAVE_,CRAS_'
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Basically, I've just started coding, so I don't understand any of it. Thank you.

us flag
Once you tell us the model name, we can tell you steps. Also, do you want to replace ChromeOS with Ubuntu?
Joonte Lee avatar
mn flag
@ArchismanPanigrahi EVE D6B-A6A-A4H-F8N-P8A-A4U. No, I don't want to replace ChromeOS with Ubuntu, just have them running side-by-side like the tutorial described.
us flag
Please let me know if my answer works for you
Joonte Lee avatar
mn flag
@ArchismanPanigrahi Hey Archisman! Thanks so much for all the help! Just wanted to give you an update, I haven't tried it yet, because last month my chromebook charger stopped working, so I had to order another one from the States. Now, I just ordered a little tool kit to help me take the laptop apart, so I should have another update for you by the end of July.
us flag
I installed Kubuntu and Arch Linux on three chromebooks so far, and everything works
Score:6
us flag

This guide is for the full installation of the latest version of Ubuntu (dual boot/single boot).

This answer is applicable to almost any chromebook with amd64 processor. The only difference is the procedure to disable Firmware Write Protect, which is not always necessary (if one uses Depthboot, as described below).

I have used these methods on two Chromebooks (Acer C731 RELM and HP x360 14b BLOOGUARD), and they work perfectly. I have tried Ubuntu, Ubuntu MATE, Kubuntu, and Arch Linux in them, and all the hardware (touchscreen/camera/audio) work.

You will have to use the MrChromebox.Tech ROM

These instructions are based on this webpage. First ensure that your Chromebook is supported. I checked that EVE is indeed supported.

  1. Fully update your Chromebook and enable developer mode. After enabling developer mode, the computer will show ChromeOS is missing, but you can press ctrl+d to boot into ChromeOS. If you do not press, it will automatically boot into ChromeOS after 30 seconds.

  2. Open your chromebook, and detach the battery from the motherboard.

  3. Open a ChromeOS terminal with Ctrl+Alt+T. Enter the command shell (you cannot do this without developer mode), and enter the following command.

    cd; curl -LO mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh
    

image

  1. If you want to dual boot, choose 1) Install/Update RW_Legacy firmware.

  2. You will need two USB drives (or a USB drive and a microSD card), one with Ubuntu installation image flashed, and the other drive is where you will install Ubuntu.

  3. In case you opted for RW_Legacy firmware, reboot, and press Ctrl+L to choose external booting media (e.g. USB/microSD where you have flashed Ubuntu). Then, install Ubuntu on the other USB drive (or you can install ubuntu in the microSD card).

  4. Afterwards, press Ctrl+L to boot Ubuntu from the USB drive/microSD card where you installed Ubuntu, or press Ctrl+D to boot ChromeOS.

  5. In case sound does not work, setup sound with

git clone https://github.com/WeirdTreeThing/chromebook-linux-audio
cd chromebook-linux-audio
./setup-audio

And reboot.

If you want to remove ChromeOS and turn it into a regular laptop, choose 2) Install/Update UEFI (Full ROM) firmware. For that, you have to disable Firmware Write Protect.In Google Pixelbook, you need to temporarily detach the battery from the motherboard to disable Firmware Write Protect. See this page for more details. In older Chromebooks, you had to remove a screw from the motherboard, instead of detaching the battery.


Tips and Tricks:

  1. Here is how to enable automatic screen rotation, if your Chromebook has the appropriate sensors for that.
  2. Here is the screen rotation tutorial for chromebooks without a rotation sensor.
  3. Here is how to set the Chromebook keyboard layout to enable the media keys.
Joonte Lee avatar
mn flag
Hey Archisman! Thanks so much for all the help! Just wanted to give you an update, I haven't tried it yet, because last month my chromebook charger stopped working, so I had to order another one from the States. Now, I just ordered a little tool kit to help me take the laptop apart, so I should have another update for you by the end of July.
Joonte Lee avatar
mn flag
Hey Archisman, I'm on step 8 for MrChromeBox.TECH, but entering the 'git clone' command with my github username + personal access token returns 'fatal: repository 'https://github.com/eupnea-linux/audio-scripts/' not found'
us flag
@JoonteLee updated my answer. The repository owner changed
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.