[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:hibernation [2012/08/28 23:59 (UTC)] – created yenn | howtos:hibernation [2012/09/25 02:46 (UTC)] (current) – moved to the howtos:slackware_admin section mfillpot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Hibernation ====== | ||
- | Hibernation (also known as suspend-to-disk) is method how to power down computer while preserving state of the operating system. Once powered up, operating system will be in the exact state as it was at the time of hibernation. | ||
- | |||
- | In Slackware it works out-of-the-box. However, in order to resume successfully from hibernated state, you need to configure bootloader, so it knows where to resume from. | ||
- | |||
- | ===== Hibernating ===== | ||
- | |||
- | ==== Desktop Environments ==== | ||
- | |||
- | KDE, XFCE and other [[slackware: | ||
- | |||
- | ==== lightweight windows managers ==== | ||
- | |||
- | You can hibernate your system from console. Either as root via pm-utils or D-Bus as regular user. | ||
- | |||
- | === pm-utils === | ||
- | |||
- | As root, you can hibernate via '' | ||
- | |||
- | === D-Bus === | ||
- | |||
- | == HAL == | ||
- | |||
- | Since HAL is deprecated and removed from Slackware 14.0, this works for older Slackware releases. | ||
- | <code bash> | ||
- | $ dbus-send --system --print-reply --dest=" | ||
- | / | ||
- | </ | ||
- | |||
- | == UPower == | ||
- | |||
- | <code bash> | ||
- | $ dbus-send --system --print-reply --dest=" | ||
- | / | ||
- | </ | ||
- | |||
- | ===== Booloader configuration ===== | ||
- | |||
- | ==== Non-LVM setup ==== | ||
- | |||
- | === LILO configuration === | ||
- | |||
- | To tell your kernel where to resume from, you need to write the info to '' | ||
- | < | ||
- | append=" | ||
- | </ | ||
- | Replace ''/ | ||
- | |||
- | ==== LVM setup ==== | ||
- | |||
- | LILO doesn' | ||
- | |||
- | You don't have to adjust '' | ||
- | < | ||
- | mkinitrd -c -k < | ||
- | </ | ||
- | * -h set your hibernation/ | ||
- | * -L activate LVM | ||
- | |||
- | Afterwards, run lilo. | ||
- | |||
- | ===== Further reading ===== | ||
- | |||
- | * Hibernate to encrypted swap - [[http:// | ||
- | |||
- | ===== Sources ===== | ||
- | * Original source: [[http:// | ||
- | * Originally written by Unknown Slacker | ||
- | * Rewritten by me ([[wiki: | ||
- | |||
- | {{tag> |