Breathe life back into your old Chromebook with GalliumOS
Recovery and Developer Mode
The keyboard shortcut Esc+F3+Power boots the Chromebook's recovery system; when you get there, pressing Ctrl+D – not displayed on the screen – boots into Developer mode. In the graphical login manager, log in as a guest and start a Chrome Shell (Crosh) with Ctrl+Alt+T. In a second browser tab, go to the MrChromebox [8] website, which provides the Chrome OS Device Firmware Utility Script (Listing 3), which can be downloaded using curl
at the Crosh terminal (Listing 3, first line). Then proceed to install and launch (second and third line).
Listing 3
Launching the Firmware Utility
$ curl -LO mrchromebox.tech/firmware-util.sh $ sudo install -Dt /usr/local/bin -m 755 firmware-util.sh $ sudo firmware-util.sh
The largely self-explanatory utility script (Listing 4) installs either a UEFI update or a stock recovery image for Chrome OS. Some dead devices can also be persuaded to cooperate again by pressing C (Clear UEFI NVRAM) (Figure 7). Again, caution is advised; only start the firmware update if you have the correct hardware specs as identified by the script. If the aluminum rice grain is still in the right place, the script shows the note Fw WP: Disabled
in the fifth line of the hardware information. Then it should run without any problems, including booting from the USB stick.
Listing 4
firmware-util.sh
#!/bin/bash # # This script offers provides the ability to update the # Legacy Boot payload, set boot options, and install # a custom coreboot firmware for supported # Chrome OS devices # # Created by Mr.Chromebox <mrchromebox@gmail.com> # # May be freely distributed and modified as needed, # as long as proper attribution is given. # #where the stuff is script_url="https://raw.githubusercontent.com/MrChromebox/scripts/master/" #ensure output of system tools in en-us for parsing export LC_ALL=C #set working dir]\ if cat /etc/lsb-release | grep "Chrom" > /dev/null 2>&1; then # needed for ChromeOS/ChromiumOS v82+ mkdir -p /usr/local/bin cd /usr/local/bin else cd /tmp fi #get support scripts echo -e "\nDownloading supporting files..." rm -rf firmware.sh >/dev/null 2>&1 rm -rf functions.sh >/dev/null 2>&1 rm -rf sources.sh >/dev/null 2>&1 curl -sLO ${script_url}firmware.sh rc0=$? curl -sLO ${script_url}functions.sh rc1=$? curl -sLO ${script_url}sources.sh rc2=$? if [[ $rc0 -ne 0 || $rc1 -ne 0 || $rc2 -ne 0 ]]; then echo -e "Error downloading one or more required files; cannot continue" exit 1 fi source ./sources.sh source ./firmware.sh source ./functions.sh #set working dir cd /tmp #do setup stuff prelim_setup [[ $? -ne 0 ]] && exit 1 #show menu menu_fwupdate
Testing and Installing Gallium
At this point, the paths with and without tinfoil meet up again; now the USB stick with GalliumOS, created earlier on, is used for booting. As with all modern Linuxes, you can see how things will work using a live system before an installation on the hard disk gives you the hard facts. This includes accessing the hard disk previously used by Chrome OS, although recovery mode has permanently deleted it for security reasons.
Anyone who decides to install GalliumOS on the hard disk will quickly find themselves at home in Ubuntu's default installer, Ubiquity. From then on, the Chromebook behaves like any other PC or laptop system. The advantage is that the Linux image is already adapted to the existing hardware, much like with Apple. Now, at last, assuming everything worked out, the aluminum rice grain has to be removed. From now on, the Chromebook will boot willingly from USB.
Xfce Desktop with HDMI Output
The Xfce desktop on GalliumOS (Figure 8) has everything a modern desktop needs. The layout and many settings are well tailored to the small display and low-powered hardware of the Acer.
Having said this, the start menu already has a surprising number of entries, for example, a separate menu item for GalliumOSUpdate – a link to a root shell that executes apt -qq update
(Figure 9). The -qq
parameter ensures that all output except error messages is suppressed.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.