04-02-2019, 11:31 AM
(03-30-2019, 04:15 PM)wood Wrote:(03-28-2019, 05:38 PM)InsideJob Wrote: I'd rather have 16GB for OS development just because it's so much faster to backup and restore.
You can always make your partitions smaller and just block copy the individual partition devices. As long as you make sure the partition table stays the same, things line up.
A long time ago I used to do this to snapshot the bootblock, boot, and root partitions of some systems that had to be rebuilt frequently. Since the layout never changed, I would just dd sda and set bs and count to copy to the end of the root partitions block. As long as it was going back to the same device/block layout. recovery was just another dd call.
bs=512 always works since there's an abstraction layer between physical and logical, no math required. F2FS actually reports this after formating. Any number that's evenly divisible works when restoring and if you have plenty of free space at the end you can safely bs=1M or 4M (no math required again).
Anywho, I made an ARM64 build of Ubuntu 18.04 about a year ago for my Pi 3B and called it PELinux64. I'll probably keep this one to myself though.
Cya.