Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  CGWD Gcompizthemer replacement woes.  Desktop EnvironmentsNext Question:  Opera  Desktop Environments
Question hibernate problemsswap ( Ubuntu Forums Hardware Laptops )
Updated: 2008-11-23 01:50:03 (7)
hibernate problemsswap

bump..

anyone? >

Answers: hibernate problemsswap ( Ubuntu Forums Hardware Laptops )
hibernate problemsswap

bump..

anyone? >

wastedfluid

hibernate problemsswap

Which partition have you deleted and which resized? If swap has been deleted you can't hibernate, because the content of RAM is copied to swap prior to hibernation.

mikewhatever

hibernate problemsswap

hda5 was my swap. I deleted it, and re-sized it.

hda5 is still there. The size is different. I can occasionally get swap to work with sudo swapoff -a and then a qucik sudo swapon -a

It's as if Ubuntu doesn't recognize it.. or something.

wastedfluid

hibernate problemsswap

I think you need to edit the /etc/fstab file. Try this link https://help.ubuntu.com/community/Sw...ght=%28swap%29
It shows how to add more swap and edit the fstab.

mikewhatever

hibernate problemsswap

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0


Is my fstab. I looked at it when I first re-partitioned.

wastedfluid@wastedfluid:~$ sudo swapon -a
swapon: /dev/hda5: Invalid argument
wastedfluid@wastedfluid:~$

wastedfluid

hibernate problemsswap

Well, this worked for me:

Code:
sudo swapoff -a
/sbin/mkswap /dev/hda5
sudo swapon -a
Code:
wastedfluid@wastedfluid:~$ free
             total       used       free     shared    buffers     cached
Mem:        904644     860132      44512          0      12048     633676
-/+ buffers/cache:     214408     690236
Swap:      1919728          0    1919728
wastedfluid@wastedfluid:~$
Sweetass.

Thanks!

wastedfluid

hibernate problemsswap

Try this:
Code:
sudo swapon -v /dev/hda5
Also, can you give the output for sudo fdisk -l

Edit: Oh, your problem is solved. No probs then

akudewan

Previous Question:  CGWD Gcompizthemer replacement woes.  Ubuntu Forums  Desktop EnvironmentsNext Question:  Opera  Ubuntu Forums  Desktop Environments

- Source: hibernate problemsswap Ubuntu Forums Hardware Laptops
- Previous Question: CGWD Gcompizthemer replacement woes. Ubuntu Forums Desktop Environments
- Next Question: Opera Ubuntu Forums Desktop Environments





AllQuests.com