Install scripts for Alpine on Asus Chromebook C201
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mio b44dff100a Include instructions to enable USB boot 2 months ago
.gitignore Include instructions to enable USB boot 2 months ago
00-settings-sample.sh Add locale setup 2 months ago
01-flash.sh Include instructions to enable USB boot 2 months ago
02-chroot-setup.sh Add locale setup 2 months ago
02-chroot.sh Make flash script more Alpine-friendly 2 months ago
03-config.sh Add locale setup 2 months ago
README.md Include instructions to enable USB boot 2 months ago

README.md

Alpine on Asus Chromebook C201

This set of scripts can be used to set up an Alpine file system on external media for the Asus Chromebook C201. Some of it is lifted from the alpine-conf scripts (see links below).

It currently uses the veyron kernel via Arch Linux ARM packages. Alpine packages and mainline kernel may be supported in the future.

Caution!

The script will wipe the chosen storage device and replace it with a new installation. Please check the device path carefully before running the scripts. Although the scripts should be (mostly) functional, the author(s) and contributor(s) will not be held liable for any loss of data or other damages as a result of using the scripts.

Please use at your own risk.

Requirements

  • USB boot enabled on the Chromebook (see below)

  • An existing Linux host installation on the device or with the same architecture (armv7). This is currently needed to chroot into the OS and set up a new user that can be used to log in, as well as bootstrap wireless packages if planning to use the built-in wifi chip. The script might work in crosh (the ChromeOS developer shell) with some adjustments, but is untested.

  • Host system dependencies: curl cgpt partx util-linux vboot-utils

Enable USB boot

  • Access recovery mode by pressing Esc + Refresh/F3 + Power, then activate developer mode (Ctrl + D).

  • Turn off OS verification, and wait for the system to transition to developer mode.

  • Reboot and switch to a shell by pressing Ctrl + Alt + →/F2.

  • Login as chronos and obtain superuser privileges: sudo bash

  • Set the boot parameters below and reboot.

    crossystem dev_boot_signed_only=0
    crossystem dev_boot_usb=1
    

Usage

  • Open 00-settings-sample.sh and edit the values to suit. Rename the file to 00-setting.sh.

  • Run 01-flash.sh on the host OS to flash the kernel and set up the file system.

  • Run 02-chroot.sh on the host OS to chroot into the new file system. Inside the chroot, run /02-chroot-setup.sh to pre-install a few packages and add a new user. Exit the chroot and run 02-chroot.sh on the host OS again to unmount the media.

  • After enabling USB boot, boot into the new installation by pressing Ctrl + U at boot and running /03-setup.sh to set up Bluetooth and install other packages.

Thanks

Special thanks to wsinatra and lucidiot for their help in getting the hardware detected and running, as well as answering Alpine-specific questions.

License

CC0