|mio b44dff100a||2 months ago|
|.gitignore||2 months ago|
|00-settings-sample.sh||2 months ago|
|01-flash.sh||2 months ago|
|02-chroot-setup.sh||2 months ago|
|02-chroot.sh||2 months ago|
|03-config.sh||2 months ago|
|README.md||2 months ago|
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.
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.
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
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.
chronos and obtain superuser privileges:
Set the boot parameters below and reboot.
crossystem dev_boot_signed_only=0 crossystem dev_boot_usb=1
00-settings-sample.sh and edit the values to suit. Rename the file to
01-flash.sh on the host OS to flash the kernel and set up the file
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