Skip to content

Instantly share code, notes, and snippets.

@atiensivu
Created September 10, 2017 03:57
Show Gist options
  • Save atiensivu/338f073e520efc7ef598895bbb649c0c to your computer and use it in GitHub Desktop.
Save atiensivu/338f073e520efc7ef598895bbb649c0c to your computer and use it in GitHub Desktop.
Dual boot Ubuntu 17.10 alpha on Chromebook 14 (EDGAR) 4GB model (CB3-431-C5FM)
# A roundabout way to get Ubuntu Artful alpha (17.10) on EDGAR (Acer Chromebook 14 4GB version - CB3-431-C5FM)
# Install missing 'legacy' BIOS piece to enable Ctrl-L on boot:
cd; curl -LOk https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh
# Install Galliumos (nightly - as of 09/09/2017)
# https://wiki.galliumos.org/Installing
cd; curl -LOk https://chrx.org/go && sh go -d galliumos -e desktop -r nightly -v
# You need at least a standard/desktop edition or else you may end up with a blank console with Ubuntu minimal
# If you use Ubuntu 17.04 instead, keyboard and trackpad will be non-functional until kernel upgrade
# Optional: install apt-fast for concurrent downloads of packages
sudo add-apt-repository ppa:saiarcot895/myppa
sudo apt-get update
sudo apt-get install apt-fast
# Enable prerelease and testing to enable and obtain kernel 4.12.x install
sudo galliumos-repodist --enable prerelease
sudo galliumos-repodist --enable testing
sudo apt-get update
sudo apt-fast upgrade
# Add artful to /etc/apt/sources.list
# It is cleaner to use /etc/apt/sources.list.d
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ artful main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ artful-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu artful-security main restricted universe multiverse
# Important - block upgrade of grub, otherwise 'Loading hard drive..' never completes on reboot
# Not sure why/how the newer grub package mangles the configuration but it does
sudo apt-mark hold grub-common
sudo apt-mark hold grub-gfxpayload-lists
sudo apt-mark hold grub-pc
sudo apt-mark hold grub-pc-bin
sudo apt-mark hold grub2-common
# Ready to go to 17.10
sudo apt-get update
sudo apt-fast dist-upgrade
# You could use 'sudo do-release-upgrade -d' instead of dist-upgrade
# !!Reboot - welcome to 17.10!!
# Optional post-install tweaks
# Upgrade Intel and Mesa drivers to oibaf's builds
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-fast update
# Enable Intel ilo gallium driver - if not using Wayland
# Put in /etc/X11/xorg.conf:
Section "Device"
Identifier "Device0"
Driver "Intel"
Option "DRI" "ilo"
EndSection
# Install Chrome stable
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-fast update
sudo apt-fast install google-chrome-stable
# Install Chrome Canary (unstable) and override GPU blacklist in chrome://flags
# Seems to work fine at the moment - usually the blacklist lags behind driver updates
sudo apt-fast install google-chrome-unstable
# Welcome to a hot rodded ChromeBook, faster than ChromeOS, it seems
# Why this way? I wanted to keep most of the Galliumos tweaks and live on the bleeding edge
@LarryYourWaiter
Copy link

@atiensivu wudda god. I am like the onyl person dum enough to not be able to do this on my own.
again, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment