Hot answers tagged swap
The commands you copy-pasted here are messed up. Enter them one by one and it should work: sudo dd if=/dev/zero of=/swapfile bs=64M count=16 sudo mkswap /swapfile sudo swapon /swapfile You can check if it worked with: swapon -s It should show something like: Filename Type Size Used Priority /swapfile file ...
You must mount the partition on a temporary directory name to copy files to it the original /home. Open a terminal (CtrlAltT). Run it: Find out the name of the partition sudo -i fdisk l Suppose it is /dev/sda7 You create the directory sudo -i mkdir /media/hometemp Mount partition mount /dev/sda7 /media/hometemp To copy: cd /home cp -ax . ...
/proc/sys/vm/swappiness is used to decide what and how much to swap, when you have swap space available. It obviously does nothing if you have no swap space configured; but in Linux you can add swap space in any moment via, for example, swap files --- and in that case the system will behave following the parameters it has set.
I fixed it. Turns out my resume file wasn't updated to account for the new UUID! I followed everything in the link below and hibernation works again. http://askubuntu.com/a/196365/123256
Only top voted, non community-wiki answers of a minimum length are eligible