I hadn't allocated any swap partition while installing ubuntu before so I couldn't hibernate my laptop which gave error: couldn't find swap device,try swapon. I then created a swap partition using GParted of size about 10Gb and checked on swapon.
I then checked the size of swap in terminal,
I don't understand what this means and I am not sure what should I do after this. Still, I am unable to hibernate and now it says Swap header not found. What should I do to solve this problem?