<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slackwiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yenn</id>
	<title>SlackWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.slackwiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yenn"/>
	<link rel="alternate" type="text/html" href="https://www.slackwiki.com/Special:Contributions/Yenn"/>
	<updated>2026-04-08T15:06:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Hibernate&amp;diff=730</id>
		<title>Hibernate</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Hibernate&amp;diff=730"/>
		<updated>2012-08-17T21:47:49Z</updated>

		<summary type="html">&lt;p&gt;Yenn: major rewrite + hibernating from console&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Slackware, hibernation works out-of-the-box and can be easily done from KDE's menu or XFCE logout dialog. Resuming from hibernation, however, is not set up, so when you turn on your computer again, it starts as normal. That is, if your hardware supports it and if you've set up a swap space larger than your RAM.&lt;br /&gt;
&lt;br /&gt;
== Hibernating in lightweight windows managers ==&lt;br /&gt;
&lt;br /&gt;
In case you aren't using KDE, XFCE or other desktop environments, you can hibernate your system from console.  &lt;br /&gt;
&lt;br /&gt;
=== pm-utils ===&lt;br /&gt;
&lt;br /&gt;
As root, you can hibernate via &amp;lt;tt&amp;gt;pm-hibernate&amp;lt;/tt&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
=== As regular user ===&lt;br /&gt;
&lt;br /&gt;
==== HAL ====&lt;br /&gt;
&lt;br /&gt;
Since HAL is deprecated and removed from Slackware 14.0, this works for older Slackware releases.&lt;br /&gt;
&lt;br /&gt;
 $ dbus-send --system --print-reply --dest=&amp;quot;org.freedesktop.Hal&amp;quot; \&lt;br /&gt;
 /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate&lt;br /&gt;
&lt;br /&gt;
==== UPower ==== &lt;br /&gt;
 dbus-send --system --print-reply --dest=&amp;quot;org.freedesktop.UPower&amp;quot; \&lt;br /&gt;
 /org/freedesktop/UPower org.freedesktop.UPower.Hibernate&lt;br /&gt;
&lt;br /&gt;
== Booloader configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Non-LVM setup ===&lt;br /&gt;
&lt;br /&gt;
==== LILO configuration ====&lt;br /&gt;
&lt;br /&gt;
To tell your kernel where to resume from, you need to write the info to ''lilo.conf'':&lt;br /&gt;
&lt;br /&gt;
 append=&amp;quot; resume=/dev/sda6&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Replace ''/dev/sda6'' with your actual swap space. Swap partitions are perfect, I think swap files should work too. If you don't know where your swap lies, look at ''/proc/swaps''.&lt;br /&gt;
&lt;br /&gt;
=== LVM setup ===&lt;br /&gt;
&lt;br /&gt;
LILO doesn't support booting from LVM, therefore you have to create initial ramdisk (initrd). You need one even though your kernel has build-in support for LVM.&lt;br /&gt;
&lt;br /&gt;
You don't have to adjust ''lilo.conf'' because you can set everything resume-related in initrd.&lt;br /&gt;
&lt;br /&gt;
 mkinitrd -c -k &amp;lt;kernel-version&amp;gt; -f &amp;lt;fs_type&amp;gt; -m &amp;lt;fs_type&amp;gt; -r &amp;lt;root_partition&amp;gt; -h /dev/volumegroup/swap -L&lt;br /&gt;
&lt;br /&gt;
* -h set your hibernation/swap logical volume&lt;br /&gt;
* -L activate LVM&lt;br /&gt;
&lt;br /&gt;
Afterwards, run lilo.&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
&lt;br /&gt;
* Hibernate to encrypted swap - [http://slackware.osuosl.org/slackware-13.1/README_CRYPT.TXT REAME_CRYPT.TXT]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Yenn</name></author>
	</entry>
</feed>