Linux and android are live boots directly from the SD card. It happens before the switch OS, Horizon, therefore nothing Nintendo related is ever loaded.
As for the same SD it does not matter. I found it easier just to use a spare 128Gb and keep it separate. It's nice because I can pop it in and it'll boot from any (exploitable) switch and keep my data. I also have an sd for lakka