On Fri, 2008-11-14 at 16:08 +0000, link178 wrote:
> Public bug reported:
> 
> Binary package hint: pm-utils
> 
> 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)
> 
> ** Affects: pm-utils (Ubuntu)
>      Importance: Undecided
>          Status: New
> 
Firstly, this is a bug tracker. You don't post "solutions" here, you
post bugs here. 
Secondly, your "solution" is terrible. To use uswsusp, you change ONE
LINE in /etc/pm/config.d/00sleep_module. (uncomment
SLEEP_MODULE="kernel" and replace "kernel" with "uswsusp")

Since this isn't a bug, but a "solution" to god knows what, I'm marking
this invalid. Have a nice day.

  status invalid
-- 
Chow Loong Jin


** Changed in: pm-utils (Ubuntu)
       Status: New => Invalid

-- 
the solution to the hibernate problem
https://bugs.launchpad.net/bugs/298102
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