Here it goes a solution:

1-Download ans install uswsusp and hibernate
2- edit this file /etc/uswsusp.conf with this content 

    resume device = /dev/sda2
    splash = n
    compress = y
    early writeout = y
    RSA key file = /etc/uswsusp.key
    shutdown method e= shutdown 

Obviously, change /dev/sda2 for the partition that match your swap.
Gparted should give you that information

3- try it by typing "sudo s2disk". Normally appears a message showing
the process. If it doesn't, and strange things appear don't panic and
wait, it happens sometimes.

4- Restart the computer and see the results. If it have worked you can
make the changes to avoid typing s2disk everytime you want to hibernate.
Do the following

5- make a backup of the file we're going to modify:
    sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux 
/usr/lib/hal/scripts/linux    /hal-system-power-hibernate-linux.bak

6- now edit : sudo gedit /usr/lib/hal/scripts/linux/hal-system-power-
hibernate-linux

7- delete all the content and write this :
#!/bin/sh
/sbin/s2disk

8-update the kernel with :  sudo update-initramfs -u

I hope it works, apologizes for my bad English (this is from the Spanish
forum Ubuntu-es)

-- 
Hardy : suspend and hibernate fail on resume.
https://bugs.launchpad.net/bugs/246172
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to