The bash statement that I found somewhere else on the web which made the partition persistent, used piping and a command I’d never heard of. I had no idea what it was doing, which is why I had so many problems making it work…and all it was doing was creating a file!
There’s a lesson here for people offering “help”, The person being helped needs to understand what they’re doing as far as is possible, so the commands need to be as simple as possible and what they are doing needs to be explained. Writing a flashy super-complex command to show off their expertise might boost the poster’s ego - but it wouldn’t be any help to the reader and might make things much worse.