Turning an Acer Chromebook Into a Linux Laptop
My Acer Chromebook 311 contained an ordinary Intel processor, memory, storage, display, keyboard and Wi-Fi adapter.
It did not contain an ordinary PC boot path.
Community UEFI firmware made it boot Tails and NixOS in 2022, though 32 GB of internal storage made local NixOS builds miserable. Four years later, remote builds, a couple of audio fixes and a USB-C Power Delivery workaround turned it into a permanent NixOS Jellyfin client next to my TV.
A laptop-shaped appliance
The machine is an Acer Chromebook 311 (CB311-9HT-C4UM), based on Google’s BOBBA board in the OCTOPUS Gemini Lake platform.
It has a Celeron N4000 with Intel UHD 600 graphics, 4 GB of RAM and 32 GB of eMMC storage.
ChromeOS verified boot and recovery are sensible security features for the product Google intended. They also make the machine unlike a normal x86 laptop whose owner can simply insert another operating-system installer.
Developer Mode weakens the stock verified-boot policy and exposes a root-capable environment. Replacing the firmware entirely also requires disabling hardware write protection, which on CR50 devices means either a Suzy-Q debugging cable or disconnecting the battery and powering the board externally. Flashing a Full ROM can brick the machine, so keeping a backup of the stock firmware is mandatory.
The April 2022 UEFI release
In April 2022, MrChromebox added Apollo Lake and Gemini Lake UEFI support and published a coreboot/TianoCore Full ROM for BOBBA.
The Full ROM replaces ChromeOS’s firmware and recovery environment. After that replacement, the Chromebook behaves much more like a conventional UEFI x86-64 computer.
My note from 9 April 2022 was short:
On 9 April 2022 a UEFI firmware was released. It works with Tails and NixOs.
The next day I was running NixOS on the Chromebook, with networking still to fix.
First attempt: 32 GB meets NixOS
NixOS booted, and the experiment became one of my early examples of NixOS turning a vendor appliance into a general Linux computer.
It did not become a satisfying standalone NixOS laptop in 2022. The internal 32 GB eMMC was too small for local evaluations, builds and generations. Tails running from removable media fit the cramped hardware much better at the time, so the Chromebook sat around mostly as an occasional travel machine.
Four years later: remote builds and a TV job
In October 2026 I brought it back as a real NixOS host (chrome) managed from the same flake as the rest of my machines.
The 32 GB limit stopped being a dealbreaker once the Chromebook no longer built its own system. My desktop evaluates and builds the closure and pushes it over SSH:
nh os switch ~/zuffie-nixos -H chrome \
--target-host niteria@chrome.local \
--elevation-strategy passwordless
The shared XFCE/LightDM closure came out to about 13.4 GiB and still left roughly 2.8 GiB free with previous generations retained in systemd-boot.
Adding intel-media-driver gave Gemini Lake’s UHD 600 proper VA-API hardware video decoding in the browser.
That earned the Chromebook a permanent spot next to the TV as a Jellyfin client—better for that job than my Steam Deck because hardware-accelerated video decoding actually works cleanly.
Bobba audio and a deadlocked HDMI adapter
Two hardware quirks stood between “boots XFCE” and “works reliably next to a TV.”
First, audio on BOBBA (Gemini Lake SOF with DA7219 headphones and MAX98357A speakers) stuttered under PipeWire’s default 24-frame ALSA headroom and froze after idle.
Following WeirdTreeThing/chromebook-linux-audio, I bumped api.alsa.headroom to 2048 for the speaker sink in WirePlumber.
For the freezes, an early udev rule was not enough because SOF re-enables codec runtime PM during its late component probe; a small systemd oneshot service now waits for sofglkda7219max to register and writes on to power/control for both the PCI audio controller (0000:00:0e.0) and the HDA codec (ehdaudio0D2) before the display manager starts.
Second, my USB-C to HDMI adapter (a cheap Marsnaska DZ00834-01 built on a Parade PS171 converter and an LDR6025S USB-C controller) worked on macOS and GrapheneOS but showed up completely dead on Linux.
Inspecting /dev/cros_ec with fw-ectool uncovered a circular USB-C Power Delivery negotiation deadlock in the ChromeOS EC (bobba_v2.0.835-c22c200785):
- the adapter advertised only DisplayPort pin assignment
D(VDO 0x00000805), - its initial DP Status ACK (
0x0000000a) left the multifunction-preference bit clear and HPD low, - the EC’s
pd_dfp_dp_get_pin_mode()masks out multifunction assignmentsB,DandFwhen that bit is clear, leaving zero usable pin assignments, sosvdm_dp_config()quietly returns without ever sendingDP Configure.
To break the deadlock without reflashing the EC, I wrote a small zero-dependency Go daemon (chrome-hdmi-recovery) triggered when /dev/cros_ec appears.
When it sees that exact adapter (VID 0x2d79, PID 0xe001) stuck in SRC_READY on an unconfigured port, it locates the port’s TCPC on the EC I2C bus (either the ANX7447 on port 0 or the PS8751 on port 1), reads the live next PD message ID, switches the mux to dock mode and sends the missing DP Configure VDM (0xff018111, 0x00000806) in separate I2C transactions.
The adapter immediately answers with Attention 0x0000009a—both HPD and multifunction preference now asserted—and hands its EDID to i915.
It works on both USB-C ports in both plug orientations.
Two kinds of limitation
Before the firmware replacement, the limitation was imposed by product policy. The hardware could boot standard operating systems, but the stock boot chain did not offer that choice.
After the replacement, the limitation was simply the hardware I had bought: a Celeron N4000, 4 GB of memory and 32 GB of storage.
I prefer the second kind. Once remote NixOS builds bypassed the storage limit and a few targeted workarounds sorted out audio, VA-API and USB-C HDMI, a four-year-old low-end Chromebook stopped collecting dust and took over TV duty.