Started on chroot script, realized it can't be generalized easily.