萬法唯心 – Impermanence

Missing SWAP with Ubuntu 6.10

November 7, 2006 7:23 pm

Today I just realized that my comp is getting very slow when the ram usage is above 80%. As I remember before the upgrade to 6.10, it was able to manage/perform much better than that. So I found that that swap partition is actually missing and so I look in the Ubuntu forum to see if I can found anything. Seems that I'm not the only one, but I guess I can't complain as I have two swap partitions. Anyway this is the solution if you have the same problem.

List your partitions
 - Disk admin does not come with 6.10, can use this to list your partitions.

sudo fdisk -l

Mount your swap partition
 - dev/hda8 is mine swap partition, likely to be different for you.

sudo mkswap /dev/hda8

swapon -a

If these doesn't work, try:

sudo swapon /dev/hda8 

That's it, good luck. view source

No Responses to “Missing SWAP with Ubuntu 6.10”

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word