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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.