On Linux, it's even easier (lol, who would have guessed?).<p>I recently had the need to compile quite a bit of software to run on the Pi zero, and the ability to be able to "chroot" to the Pi on my PC has made the experience so much more pleasant. Everything compiles ten times faster!<p>I also noticed that none of the available guides work well with Ubuntu 17.04 (and possibly newer/older), so I put together a simple script to do that on Ubuntu for anyone who is interested. It will always work when you chroot on the sdcard:<p><a href="https://gist.github.com/htruong/7df502fb60268eeee5bca21ef3e436eb" rel="nofollow">https://gist.github.com/htruong/7df502fb60268eeee5bca21ef3e4...</a><p>You can theoretically chroot into the image directly, but the resizing the partitions operation is unreliable on the host for some reason, and it might cause the image to not be bootable. I've found myself better off booting the sd card once with the vanilla image on the Pi first so it resizes itself before chrooting into the SD card.