Skip to content

Instantly share code, notes, and snippets.

@ohsevin
Last active May 20, 2018 23:22
Show Gist options
  • Save ohsevin/2dde524a8c3742654be9153687862732 to your computer and use it in GitHub Desktop.
Save ohsevin/2dde524a8c3742654be9153687862732 to your computer and use it in GitHub Desktop.
INSTALL guide for ANY GalliumOS (Braswell) based kernel image & firmware required
# Prerequisites Files:
galliumos-braswell_4.9.4-galliumos2_amd64.tar.gz
galliumos.gpg
linux-firmware-image-4.9.4-galliumos-braswell_4.9.4-galliumos2_amd64.deb
linux-headers-4.9.4-galliumos-braswell_4.9.4-galliumos2_amd64.deb
linux-image-4.9.4-galliumos-braswell_4.9.4-galliumos2_amd64.deb
## GALLIUMOS BRASWELL 4.9.4 KERNEL USAGE GUIDE FOR OTHER LINUX DISTROS: ##
INSTALL guide for ANY GalliumOS (Braswell) based kernel image & firmware required;
Here is some bonus shit that may be of interest in your success upon this journey:
#Debian based included sources.list (found on Slax distro): (http://p.ip.fi/V9gM)
#This is a repogen sources.list &more software sources incl.: (http://p.ip.fi/A8Ux)
1) Install the distro to the best of your ability and given provided function of PC
2) Start your chromebook with your new Ubuntu, Debian based system. Do NOT update anything. *Launch terminal.* (Hopefully you chose a distro w/ a working keyboard functionality chromebook--not all, most Distros are far from fitting of hardware.
{Note:} I have had success using many randomly chosen Distro variants over the past year or two that had some function out-the-book such as the keyboard and wifi card, etc. BUT I have also used virtual (pop-up and click-keys) keyboard application as a means of getting the initiial install on the partition during THIS \/ & followed step-by-step the setup/integration of ONLY Braswell supported kernels from the GalliumOS repository... just my experience =] All works out 9/10 times though--just make sure to not try to rush nor cut any corners moving quickly!
3) Add the GalliumOS repository. "sudo nano /etc/apt/sources.list.d/galliumos.list" and provide the below repository listings within the sources.list:
#
deb http://apt.galliumos.org xenon main
deb-src http://apt.galliumos.org xenon main
#
4) Now, import the required galliumos gpg key.
## Make sure you have "sudo apt-get install curl" installed first or "wget" as shown used instead below yet accomplishing adding the key all the same:
#
"sudo wget https://apt.galliumos.org/galliumos.gpg"
"sudo apt-key add galliumos.gpg"
#
## You should see "OK" if this has been done correctly.
5) Update the packages.
"sudo apt-get update"
This installs "galliumos-base" along with other necessary pieces in order to effectively and correctly utilize the *oh-so-wonderful* GalliumOS repository lib:
#
"sudo apt-get update"
"sudo apt-get dist-upgrade"
#
6) {Note:} Sometimes this part becomes of issue--more specifically an issue of "when" the ability to alter this .pref becomes available--all dependent upon how your "Other Distro" has been "accepting" and smooth-sailing with the above changes completed. Yes--they may seem so dismal and non-impactful... just listen and follow the directions in chronological order and WHEN or IF you have a moment of inconsistency within your system's environment resulting from these steps... take a deep breath and step back and repeat the steps to clarify [if any] mistakes made. This DOES work. Period lol.
Now back to the real deal... Edit this file "sudo nano /etc/apt/preferences.d/galliumos.pref" And now you /should/ see content within this file /already/ and see where you can easily change/replace the following little itty-bity detail:
Change "Pin-Priority: 9999" to "Pin-Priority: 1". Click "ctl-x" then yes, save it.
7) Update and dist-upgrade again.
DO NOT BE A LAZY F### AND SKIP THIS STEP haha
Just do it!
#
"sudo apt-get update"
"sudo apt-get dist-upgrade"
#
[[ CRITICAL!!: ]] If there are NO messages saying "The following packages will be DOWNGRADED", then you've done this correctly and can proceed with finishing the last couple steps to complete your upgrade and/or "injection" of GalliumOS kernel:
8) Install the kernel and galliumos-braswell packages:
#
"sudo apt-get install linux-image-galliumos galliumos-braswell"
#
9) Uninstall the old kernel(s) your system has already (intalled) NOW! And update grub real quick for good measure:
#
"sudo apt-get remove linux-*generic"
"sudo update-grub"
#
10) Reboot and proceed like in a normal Ubuntu installation.
#
{Optional} "sudo apt-get update" Just to check if there's any task(s) left hanging
There should NOT be any further required steps to be taken so just rip the plug out that bitch and reboot'her up guy and see if you haven't royally fucked up lol.
#
"sudo reboot"
#
Everything works perfectly like I mentioned earlier, roughly 8or9 out of 10 times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment