Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4551  / 2 Years ago, fri, october 7, 2022, 11:01:17

I found answer near to this question but not exact answer in Ubuntu-forums.I found answer to




  1. How to create swap partition after installing Ubuntu.

  2. How to create or add swap file to existing swap partition.



But now for this question.
Since at the time of installation i don't know the use of swap partition, i installed Ubuntu 12.10 without swap partition and i used second method as mentioned in "http://www.thegeekstuff.com/2010/08/how-to-add-swap-space/" to create swapfile and got this error while using mkswap



# mkswap /root/myswapfile
Setting up swapspace version 1, size = 1048572 KiB
**no label, UUID=cc477ba5-e2d9-495c-a63b-300c4e5e0048**


and each time UUID differs. But i ignored and continued with next steps and when i tried to hibernate my system i got these errors



PM: swap header not found,
cannot get swap device try swapon -a,
cannot get swap writer


I just want to hibernate my system only using swapfile without creating swap partition. Is it possible? I'm new to ubuntu.


More From » hibernate

 Answers
4

Due to the various concerns voiced here and also here I would caution against using a swap file. Maybe change your question and we can walk you through the retroactive installation of a swap partition.


[#32439] Friday, October 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
3 Years ago
;