I got this tip while going through the issue 15 of the free software magazine . The article is titled “Hibernate feature in Linux” by Bandan Das. Though I had the “Suspend to Disk” and “Suspend to RAM” while logging out from KDE, it never used to work. Selecting any of these options displays a “Preparing hibernate…” and then switches back to KDE. I got a temporary solution as mentioned in the article.It is as follows
- Note down your swap partition – To do this log in as root and type fdisk -l at the terminal. You must find a partition of type Linux swap or just swap. Note down the corresponding device address. In my case this was /dev/sda6
- As root type these commands
echo platform > /sys/power/disk
echo disk > /sys/power/state
That’s it. The system should immediately suspend to disk and power off. Power on the system and at the Grub screen.Type “e” to edit the boot options. Add this option
resume=/dev/sda6
Remember to point to your swap partition. Press Enter to boot.
This time it must boot faster and log you in to the state where you left it
0 Responses to “Suspend to disk in OpenSuse 10.2”