I am trying to make a USB stick that boots a working kali system. Well, it's parrots Linux if that matters.

I was doing ok until I got to the "echo ?/ union? > /mnt/name/persistence.conf here I got "permission denied" I tried sudo nothing worked.
I get bash /mnt/name/persistence.conf

I would appreciate any input.