by chme · 10y ago · 0 comments
Maybe take a look at the various debian bootstrap methods then you can create minimal sd-images and even apply some changes to the root fs and partition table before booting the rpi.
This way you could implement encryption of the root partition or specification of partition size etc.
Here is one of the many bootstrap methods: http://liw.fi/vmdebootstrap/
I will be doing the same process with Raspbian Lite (as having a minimal image is the most wanted feature) and allowing users to choose whether they want to use Full or Lite when writing to SD.
Maybe cygwin can help here? Or run this stuff on a virtual system, vagrant, virtual box, qemu... I have no idea how to do this in windows/macos.
Or encourage your users to just ditch those proprietary systems ;)