# Hiberner sous debian

**URL:** <https://www.debian-fr.org/t/hiberner-sous-debian/29206>\
**Category:** Trucs et Astuces\
**Created:** [Février 20, 2016, 11:54 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206 "2016-02-20T23:54:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![thuban](https://www.debian-fr.org/user_avatar/www.debian-fr.org/thuban/32/4177_2.png) [@thuban](https://www.debian-fr.org/u/thuban)\
**Post date:** [Février 20, 2016, 11:54 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/1 "2016-02-20T23:54:14Z")

</div>

Suite à quelques petites recherches que j’ai dû faire pour que l’hibernation marche correctement, je fais un mini tuto ici pour que d’autres cherchent moins.  
Tout d’abord, installer le paquet pm-utils :

```auto
# aptitude install pm-utils

```

Ensuite, il faut dire à grub quelle sera la partition sur laquelle est “enregistré” le système. Il s’agit de votre partition swap. Donc (pour grub2), il faut éditer le fichier /etc/default/grub pour avoir :

```auto
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=/dev/sda6"

```

où /dev/sda6 est ma partition swap.  
Pensez à mettre à jour grub :

```auto
# update-grub
```

Enfin, vous pouvez maintenant hiberner sans souci au reboot. Pour hiberner, ce sera la commande

```auto
pm-hibernate

```

Pour la lancer en tant que simple utilisateur, mettre ceci dans le /etc/sudoers :  
(lancer visudo en root)

```auto
ALL=NOPASSWD:/usr/sbin/pm-hibernate

```

---

<div class="post-metadata">

**Author:** ![ricardo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ricardo/32/3864_2.png) [@ricardo](https://www.debian-fr.org/u/ricardo)\
**Post date:** [Février 20, 2016, 11:54 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/2 "2016-02-20T23:54:54Z")

</div>

Il y a ça aussi :  
[http://www.debian-fr.org/hiberner-en-un-clic-avec-s2disk-sous-kde-4-4-t28371.html](http://www.debian-fr.org/hiberner-en-un-clic-avec-s2disk-sous-kde-4-4-t28371.html)

---

<div class="post-metadata">

**Author:** ![Cyrilleb](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@Cyrilleb](https://www.debian-fr.org/u/Cyrilleb)\
**Post date:** [Février 20, 2016, 11:55 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/3 "2016-02-20T23:55:54Z")

</div>

Aussi dans Trucs & Astuces  
[script-au-sortir-de-l-hibernation-ou-du-suspend-t17182.html](http://www.debian-fr.org/script-au-sortir-de-l-hibernation-ou-du-suspend-t17182.html)

---

<div class="post-metadata">

**Author:** ![ricardo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ricardo/32/3864_2.png) [@ricardo](https://www.debian-fr.org/u/ricardo)\
**Post date:** [Février 20, 2016, 11:56 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/4 "2016-02-20T23:56:08Z")

</div>

[PC] avec tout ça, on a de quoi passer l’hiver au chaud 😃 [/PC]

---

<div class="post-metadata">

**Author:** ![cdarsac](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/c/dec6dc/32.png) [@cdarsac](https://www.debian-fr.org/u/cdarsac)\
**Post date:** [Octobre 26, 2019, 4:32 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/5 "2019-10-26T04:32:43Z")

</div>

@thuban

Merci pour ton message.

Cependant, je pense que je n’arrive pas à visualiser les commandes que tu as écrites.

Ex: Tout d’abord, installer le paquet pm-utils :  
RIEN

Enfin, vous pouvez maintenant hiberner sans souci au reboot. Pour hiberner, ce sera la commande  
RIEN

Un pb local avec mon navigateur (Firefox Quantum 60.9 sous Debian10) ou tous les utilisateurs ont-ils le même pb ? 🙂

---

<div class="post-metadata">

**Author:** ![Clochette](https://www.debian-fr.org/user_avatar/www.debian-fr.org/clochette/32/8757_2.png) [@Clochette](https://www.debian-fr.org/u/Clochette)\
**Post date:** [Octobre 26, 2019, 5:22 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/6 "2019-10-26T05:22:02Z")

</div>

L’article à 4 ans, depuis il me semble que c’est géré ‘’‘out of the box’’’.  
Sachant que ce n’est pas la catégorie Support je te conseil d’ouvrir un nouveau fil de discussion dans Support pour ton souci d’hibernation.

---

<div class="post-metadata">

**Author:** ![Clochette](https://www.debian-fr.org/user_avatar/www.debian-fr.org/clochette/32/8757_2.png) [@Clochette](https://www.debian-fr.org/u/Clochette)\
**Post date:** [Octobre 26, 2019, 5:23 UTC](https://www.debian-fr.org/t/hiberner-sous-debian/29206/7 "2019-10-26T05:23:30Z")

</div>

A fermé ce sujet (le Octobre 26, 2019, 5:23 UTC)


