#!/bin/sh # script to 'boot' the arch chroot environment # this should be called from ChromeOS SDCARD=/dev/mmcblk1p1 CHROOTDIR=/home/root/arch mount $SDCARD $CHROOTDIR #make it so the chroot's resolv.conf is the same as chromeos's mount --bind /etc/resolv.conf $CHROOTDIR/etc/resolv.conf chroot $CHROOTDIR /boot.sh &