12

I've always noticed the resume=/dev/foo entry in /boot/grub/menu.lst, and that it corresponds to the swap partition, but I've never questioned its use.

title SUSE Linux Enterprise Server 11 SP2 - 3.0.13-0.27 (default)
    root (hd0,0)
    kernel /boot/vmlinuz-3.0.13-0.27-default root=/dev/sda1 insmod=qla4xxx resume=/dev/sda2 crashkernel=256M-:128M showopts
    initrd /boot/initrd-3.0.13-0.27-default

I was rebooting a server this morning and saw a boot message stating Starting manual resume from disk. Sounds like some sort of hibernate. So what exactly is resume? I'm trying to Google it, but all I'm seeing is resumes/CVs for Linux Admins :).

Banjer
  • 2,870
  • 6
  • 27
  • 35

1 Answers1

10

From the list of kernel parameters:

resume=     [SWSUSP]
        Specify the partition device for software suspend

where

SWSUSP  Software suspend (hibernation) is enabled.

So yes, it's used for hibernation.

Madhur Ahuja
  • 1,501
  • 3
  • 12
  • 14
Renan
  • 16,976
  • 8
  • 69
  • 88
  • 5
    Thanks for the info and link. Removing the `resume=` option and specifying the `noresume` option disables it. – Banjer Jun 11 '12 at 14:03