Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I downgraded my system from 13.04 to 12.04, and in the processes messed up cryptswap.

Each time i booted, i would get a warning about cryptswap not being there, so I deleted cryptswap using a tutorial i found here

and added a swap partition using tutorial here

now, the system recognizes that I have a swap partition, but does not load it. This is my understanding. My Boot-Info details are here Boot info

How do i get the computer to recognize the swap partition?

share|improve this question
add comment

1 Answer

You need to edit /etc/fstab and add an entry for your new swap partition

Modify the line:

UUID=4b1e51e4-03f2-447f-94a8-6890006b7ef7  none swap sw 0 0

remove (comment out) the other line

#/dev/sda7 none swap sw 0  0

Save the changes and run swapon

sudo swapon

Post any error messages you have.

See also: https://help.ubuntu.com/community/SwapFaq#How_do_I_add_more_swap.3F

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.