Showing posts with label hibernate. Show all posts
Showing posts with label hibernate. Show all posts

Thursday, May 14, 2009

Hibernate fix in Eeebuntu after swap resize

I just got myself a nice ASUS EEEPC 1000H and directly installed Eeebuntu on it.

Hibernate was never working for me out of the box after installation, so I resized the swap space, because I thought it might be too small (which actually broke even more).

Here are the steps I used to finally enable Hibernation:
  • launch  gnome config sudo gconf-editor and navigate to "apps -> gnome-power-manager -> general" and make a mark at "can_hibernate"
  • in the terminal enter blkid and copy the UUID of the swap partition
  • edit the filesystem table using "sudo gedit /etc/fstab" and add previously copied UUID of the swap space to the line to mount the swap partition: UUID=xxxx none swap sw 0 0 (where xxxx is the copied UUID)
  • edit the initramfs settings for resuming using "sudo gedit /etc/initramfs-tools/conf.d/resume" and add the previously copied UUID: RESUME=UUID=xxxx (where xxxx is the copied UUID)
  • enable the new initramfs settings by typing sudo update-initramfs -u
This might also work for other netbooks and also other linux distributions.

Can't wait to try out the new eeebuntu 3, which should be available tomorrow.