Moves as much setup before the chroot as possible