Of course this is assuming you created a swap partition and initilized it? (I think) Nope, swapon doesn't care where it is going to swap to, but you can also share it with GNU/Linux, but then you have to use mkswapfs on the file/device.