Skip to content

Instantly share code, notes, and snippets.

@buhron
Last active March 24, 2025 01:20
Show Gist options
  • Save buhron/3c328b7c0ce01ec59f95b8e3c4fce9fa to your computer and use it in GitHub Desktop.
Save buhron/3c328b7c0ce01ec59f95b8e3c4fce9fa to your computer and use it in GitHub Desktop.
boot any linux kernel on a Chromebook

boot any linux distro on a Chromebook

Requirements

  • A Chromebook in Developer Mode
  • A development environment (you can use crouton or chromebrew)
  • Ability to read

Put Chromebook in Developer Mode

See https://www.chromium.org/chromium-os/developer-library/guides/debugging/debug-buttons/#firmware-keyboard-interface

Distros

Arch Linux

if to smack "I use arch btw" everywhere you go, sure i guess! You'll need an Arch system (you can also create a development chroot)

Create a development chroot

get resources

Go to archlinux.org/download, scroll all the way to whick server you want to download from, and download the bootstrap archive. (you have to save link as file because chrome thinks .zst files are text files

extract

using chromeos files, double click on the file, and drag the root.x86_64 folder to My Files.

chroot

you need to mount /home/chronos/user with exec and symfollow by running sudo mount -o remount,exec,symfollow /home/chronos/user go to vt-2 by using ctrl alt f2 (or forward, the one on top of keybord) and login as chronos if you hadn't already. After that you sudo mount --rbind /sys ~/MyFiles/root.x86_64/sys and sudo mount --rbind /dev ~/MyFiles/root.x86_64/dev and sudo mount -t proc proc ~/MyFiles/root.x86_64/proc then you remove ~/MyFiles/root.x86_64/etc/resolv.conf and copy /etc/resolv.conf to ~/MyFiles/root.x86_64/etc/resolv.conf then you chroot by sudo chroot ~/MyFiles/root.x86_64

partition the thing

for this tutorial we'll be using unused ROOT-C and KERN-C You prioritize KERN-C so the BIOS boots from it

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