
I am fine with a "threat", but it is an interesting thought.
I have 65Gb stick for this experiment (they are getting very cheap).
My preferred lightweight distro would probably do live install in less than 1Gb (and it runs as root all the time

)
I've done it with PCLinuxOS as live usb stick and it runs perfectly fine
Back to your script - I declare it's proper dog's cojones
It now just runs (regardless whether root or user) and no error messages of any kind.