Hey, thought I'd also drop how I did this for upgrading my SD from 256GB to 512GB on Linux, before i knew windows had tools, for posterity, because i don't know if all the tools that make this easier are ported to Linux. I've just used DD and gparted for it.
1. Copy the whole SD with DD, using...