installing arch linux on a chromebook


followed the pretty straightforward instructions to put the alarm image on an sd card from chrome

tried to follow the instructions again to wipe chromium etc but, oops, no cgpt within Arch

installed cgpt on sd card via pacman -s cgpt (which is an alias for vboot-utils somehow?), lucky break


What that means is, while a mediump can contain a value up to 1024 without losing integral precision (the next increment it will be able to represent is 1026), it can only represent fractions of any granularity for much smaller ranges - from 513 to 1024, it'd be wholes, 256 to 512 it'd be halves, 128 to 256 quarters, 64 to 128 eighths, 32 to 16 the largest fractions would be sixteenths. Only values absolutely smaller than 8 are precise to the 1/32, smaller than 4 1/64, smaller than 2 1/128, and only fractions below a whole are precise to 1/256 (2^-8) - fractions of precision 2^-9 or 2^-10 only being under a half and a quarter, respectively (and fractions beyond that having no guarantees of precision per the spec). (Conversely, 1026 to 2048 will jump by twos, 2052 to 4096 by fours, 4104 to 8192 by eights, and 8208 to 16384 by sixteens.)

(FAKE EDIT: I just checked the OP, and what I'm about to describe doesn't quite match its figures, though that could just be because I'm bad at estimating framerates.


From installation media

closely following

as root outside chroot (essentially, from memory)

  • blkid
  • parted: add 512mb fat32 partition followed by 513MB-100% ext4 partition
  • mkfs.fat for ESP, mkfs.ext for root (with label 'stushiba')
  • label ESP 'ESP'
View simplifyMLZPath.js
// run on
var tolerance = 5;
function simplifyMLZPath(path) {
var polys = JSON.parse('[['+path
var segments = [];
# Packages required
# dosfstools parted
# Can be run on any Linux system
echo "creating image to fit on 1Gb card"
dd if=/dev/zero of=arch-rpi.img bs=1M count=925
echo "Partitioning"

This was a script I wrote in early 2014 for my original draft pitch for Hutpass, a startup that would provide HTTPS as a service (the same way CloudFlare would go on to do in October 2014).

It uses a compiled JSON file of all the profiles in, checking them for an "https" field.

I ended up throwing out the figure this returned in favor of using BuiltWith's figures (which were much more stark) a few days later, but it's still an interesting analysis.

View populate.html
<!DOCTYPE html>
<title> test data spammer</title>
<script src='/primus/primus.js'></script>
<script src='/stream.js'></script>
var messages = [

sturling creation procedure 2015-01-20

from stushiba


  • gparted format 64gb microsd card with 4096MiB FAT32 'saboot' partition, fill rest with f2fs 'saroot' partition
  • sudo -i (in theory - in reality I messed up and did this late)
  • mount new /dev/sde2 to /mnt, mkdir /mnt/boot, mount /dev/sde1 /mnt/boot
  • pacstrap /mnt base base-devel gnome