Use your Chromebook with Linux
Unleashed
Chromebooks are firmly locked in the Google jail, but with the right know-how, you can break out of vendor lock-in and operate the devices with free software.
Chromebooks have established themselves as a low-cost alternative to conventional entry-level laptops. Devices from many manufacturers and with many display sizes are available; however, all models are tightly tied to the Chrome OS operating system by Google.
Some potential buyers, toying with the idea of investing in such a device, are discouraged by the very limited capabilities of the operating system despite what is now quite powerful hardware. And, serious privacy concerns are another drawback to the system. Google is one of the largest collectors of data worldwide and makes things easy for itself by closely tying Chrome OS to its online services to extract personal data from users and thus generate profiles.
As a US corporate group, Google is forced to hand over the data to US authorities when ordered to do so. But the close bond between the operating system, Google's services, and the hardware is not hard-wired, so resourceful minds from the free developer community have broken these restraints and customized Linux for Chromebooks. The easiest approach is to create a dual-boot system using the ChrX tools [1]. Alternatively, you can use a separate Linux derivative in a window on Chrome OS in the form of Crouton [2].
Both of these options have serious drawbacks in that the parallel installation of two systems takes up unnecessary space on the relatively small Chromebook storage device. And, the use of Chrome OS rules out adequate data protection.
Therefore, the complete deletion of Chrome OS through an appropriately customized distribution is advisable. For cases in which users try to completely oust the system from their device, Google has taken numerous precautions to make it enormously difficult for less-skilled computer users to install alternative software.
Hurdles
Installing an alternative operating system instead of Chrome OS on a Chromebook involves not only replacing the device's firmware with a free alternative, but typically also includes some manipulation of the hardware. Most devices are equipped with a special jumper or a screw on the motherboard that switches the system software to read-only mode.
Write access is only allowed if you close the jumper or remove the screw; you can then modify the firmware. In many cases, both components are in place, and the manufacturer is likely to have glued a warranty seal over the corresponding screw so that the warranty is void in the case of removal. And, some companies do not disclose the position of the components on the motherboard of their devices, so you need to find these components by searching on the Internet.
Another problem is the lack of uniform hardware: Firmware modifications and thus replacement of the basic input/output system (BIOS) are by no means possible on all Chromebooks: Free solutions do not take into account certain Intel chipsets (yet) and will never work on Chromebooks with ARM architecture.
This rules out the exclusive installation of Linux on systems with Samsung's Exynos processors or Nvidia Tegra chips. Also CPUs by vendor Rockchip remain sidelined. Thus, it's advisable to check the lists with the basic technical specifications of the devices on the Internet before buying a Chromebook [3].
Software
For this test, my choice of distribution for the Chromebook was GalliumOS [4]. It is based on Xubuntu but is specifically optimized for the Intel hardware in some Chromebooks. Different versions of the system are available for different Intel processor generations; it currently supports the second generation (Sandy Bridge) architectures through the fifth generation (Broadwell).
Additionally, an ISO image for the Bay Trail architecture by Intel is also available, which groups the latest Atom processors. The ISO images each install a 64-bit operating system and are optimized in the form of special adaptations to the kernel especially for the less powerful hardware of the Bay Trail architecture. For example, two alternative schedulers for I/O operations (BFQ) and processes (BFS) are integrated into the kernel: They simplify process organization and minimize the latency when accessing memory.
The developers have also disabled unneeded modules in the kernel and removed unused system services. They have reduced the minimum GPU clock speed and improved the often unsatisfactory performance of the touchpad modules on standard systems by using the module from Chrome OS. Instead of the LightDM, LXDM – used regularly in Xubuntu – is on board as the display manager; again this conserves system resources.
GalliumOS is also very carefully documented; a compatible hardware list exists to help you choose the appropriate operating system components [5].
Hardware
To test the operating system as efficiently as possible, I used a brand-new Chromebook 14 G4 from Hewlett-Packard and a Chromebook 11 G4 EE by the same manufacturer (Table 1).
Table 1
Test Equipment
HP Chromebook 14 G4 | HP Chromebook 11 G4 EE |
|
---|---|---|
Processor |
Intel Celeron N2940 |
Intel Celeron N2840 |
Number of cores |
4 |
2 |
Frequency |
1.83 to 2.25 GHz |
2.16 to 2.58 GHz |
Memory |
4GB DDR3L SDRAM |
4GB DDR3L SDRAM |
Mass storage |
16 or 32GB eMMC |
16 or 32GB eMMC |
Display size |
14-inch LED screen |
11.6-inch (LED or IPS screen) |
Resolution |
1366x768 or 1920x1080 pixels |
1366x768 pixels |
Connections |
1 USB 3.0, 2 USB 2.0, HDMI, audio, network |
1 USB 3.0, 1 USB 2.0, HDMI, audio, network |
Communication |
WLAN 802 11ac, Bluetooth 4.0 |
WLAN dual-band 802.11a/b/g/n/ac, Bluetooth 4.0, optionally UMTS/HSPA/LTE |
Slots |
SD card slot for SD/SDHC/SDXC/MicroSD cards |
SD card slot for SD/SDHC/SDXC/MicroSD cards |
Price |
From $359 (with FHD display) |
From $169 |
The current hardware let us check whether corresponding drivers are available on GalliumOS and what kind of resources the less powerful hardware offers. After all, the Chromebook 14 is equipped with a Celeron type N2940 processor and is thus a latest generation Bay Trail processor, offering quad-core performance without hyperthreading [6].
The Chromebook 11 G4's Celeron N2840, however, has only two cores, although its clock speed is slightly higher [7]. The processors which belong to the Atom CPU family are characterized by extremely low power consumption: Under load, they need a maximum of 7.5 watts; long battery life can thus be expected. The devices also work without fans and thus silently.
Both CPUs access 4GB memory on their respective devices. Additionally, the 14-inch device offers a conventional HD display with a resolution of 1366x768 pixels, although the manufacturer alternatively offers FHD-IPS display (1920x1080 pixels resolution).
The Chromebook 11 has an 11.6-inch HD display. The dual-band WiFi adapter installed in both devices, which supports the standard 802 11ac, is brand new. The devices also provide three or two USB ports, an HDMI port, and a headphone jack. There is also a slot for SD cards [8]. In terms of mass storage, the devices have eMMC Flash modules installed, each with a capacity of 16GB. Alternatively, there are models with 32GB eMMC cards as internal storage.
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
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.