Well, I know that my question title is not clear so I'll explain. .
Background: I have a laptop with dead battery. (Won't even charge) It also have dead hard drive. (Thrown away) And have 1000MiB RAM just to let you know for walk through.
So I decided to use a 16GB USB stick with single flash chip to install Lubuntu 15.10. It is working great although the stick is a bit of bottle neck since it only have one chip.
I knew if I made swap partition on it, it would slow down even worse so I decided to not make one. .
Problem: I wanted to hibernate my computer but I couldn't without a swap file or swap partition. I can't use stanby 'cause battery is dead. Swap file will try to write quite a bunch of data so it will slow down the computer and kill my USB faster. .
Question: How can I make a swap file for hibernate only? I want to hibernate my computer but don't want to it to start using swap for "performance boost."
If there is possible solution, could I get a walk through of it?