TItle

  • grue@lemmy.world
    link
    fedilink
    arrow-up
    22
    arrow-down
    3
    ·
    2 个月前

    Gather a lot of mint, put it in your cave in a pile, and lay down on it before going to sleep for the winter.

  • alt_xa_23@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 个月前

    On Debian, you need to have secure boot disabled in order to hibernate. I’m guessing it works similarly on mint

    • devnev@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      ·
      2 个月前

      Same for all Linuxes, it’s a current limitation of the Linux kernel. There’s an open issue about it, essentially working out how to use the TPM to sign the memory dump so that secureboot will accept the signature and load it from disk.

      • setVeryLoud(true);@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        2 个月前

        Which means hibernating is currently insecure on Linux as anyone can extract your disk and read the contents of your memory.

        Google got around this with ChromeOS, something about user / kernel mode, but I forget how.

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 个月前

    Someone can correct me if I’m wrong (I’m only half remembering), but don’t you also need as much swap as you do RAM to hibernate?

    • doubtingtammy@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      2 个月前

      You can get away with less if you don’t hibernate while using a ton of memory. For example, I have 32gb RAM and 16gb swap. If I tried to hibernate while rendering a video, then something would go wrong (IDK what tho. Maybe it would just say ‘no’?). But in most circumstances I’m just using like 8gb and hibernation works just fine.

  • sobchak
    link
    fedilink
    arrow-up
    2
    ·
    2 个月前

    Haven’t used Mint in a while, but I think it’s mostly a function of the kernel. IIRC, there’s a nice GUI for selecting what kernel you want on Mint. Would probably only make a difference if you have new hardware and need a newer kernel.

  • Stizzah@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 个月前

    You need a swap partition the size of your RAM, so if you installed it recently letting the installer do the partitioning you probably have a dynamic swap file and cannot hibernate. You can fix it with parted/gparted, then in fstab you need to add an argument to the line of the swap partition, but I can’t tell you anymore because I switched to Fedora. I found the info on Google anyway, probably the Mint forum.