Create a swap partition on already existing drive with zorin os installed

I don't know why the swap file gets unmounted after a while or a reboot. Why isn't it permanent?
Edit: Point 5 of this thread helped me

1 Like