UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Let's see if we can be a little more constructive here, shall we.
@dhrumantgoradia, your swap isn't being mounted - hence you're not accessing it. "swapon -s" will tell you if it's mounted. Most likely reason is the UUID doesn't match what is in fstab - any re-run of mkswap will change the UUID. Best bet is to have a look in dmesg for swap related messages.
Try "blkid | grep -i swap" and check the UUID - update fstab in need. You can just issue "swapon /dev/sda5" to get it active for now.
Thank you Guru syg00, for being more constructive and actually trying to help. I will try what you instructed. You are probably right as i restored my ubuntu partition from a backup but re-created the swap in this HDD.
I misread the free -m output since my output was the same, and I thought I was using swap. Turns out I, too, had my swap space inactive. Since this laptop has 3 Gb of memory (It came with vista installed.), I never noticed that swap was off.
This seems to be a bug in the last SEVERAL ubuntu releases, including up to and including Jaunty 9.04.
It is easily duplicated if you rebuild or change your swap file in any way that changes the UUID.
BTW: I think putting the UUID in the fstab is just a TERRIBLE hack.
"Ah, yes. The OLD ones. Yes. I remember the OLD ways."
Not quite the correct quote from "What Are Little Girls Made Of" ... but you get the idea I trust.