yea. Voidlinux, I hibernated with “ZZZ”, now managed to boot to it from grub from another distro butt none of the services work I think and I can’t start a DE or start xorg or whatever. I tried removing the swap or turning it off ot whatrver and after I did swapoff it did seem to go away but then I had the samr problem and when I booted the same way the swap partition was on.

should i delete the swap partition and make another one later or…? pls help thanks a lot!

  • TheFrogThatFlies@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    I think there is something in grub’s kernel options that tells it where to look for the location of the hibernate image. So you could simply edit grub during boot and remove that setting.

  • Brickfrog@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    14 hours ago

    I don’t know Voidlinux but am curious, what GPU are you using? And is your Linux DE using Wayland or X? Nvidia GPU drivers are notorious for having issues with suspend/hibernate/resume. If it’s Nvidia you could try tinkering with enabling/disabling the driver options or the suspend/hibernate/resume services.

    These should give you some hints:

    https://wiki.debian.org/NvidiaGraphicsDrivers#Wayland_configuration

    https://gist.github.com/bmcbm/375f14eaa17f88756b4bdbbebbcfd029

    Unfortunately I don’t know what you’d do exactly to recover from a failed hibernate - the thing with hibernate is that the RAM of the running OS was saved to disk so even turning it off completely isn’t going to solve that, the whole point of hibernate is to be able to power off completely after all. When you get your system back up you should do some light testing with standby, not hibernate, just to see if there’s issues. Or do what I do and never standby/hibernate :P

    • HaraldvonBlauzahn@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      14 hours ago

      I’ve found similar issues with NVidia cards.

      A probable cause is bootloader/initrd issues since these need extra initrd support when booting, and a couple of things can go wrong in updates. You could try to chroot into the system and reinstall the kernel, initrd, and graphics driver.

      Oh, and hibernate doesn’t work with dual-booting Linux distros (it does not leave file systems unmounted), and although grub was once designed to dual- and multiboot distros, dual-booting is problematic today… I think some (graphics?) driver stuff can get put into the EFI partition where grub updates can step on other distro’s feet.

  • Dr. Wesker@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    15 hours ago

    Oddly, Void has been the first distro for me where it felt like hibernation just worked out of the box. Sorry though, I have no suggestions.

  • Sanctus@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    16 hours ago

    If you can access it just pull.your personal files and reinstall. Its not worth the chase unless you have a ton of irreplaceable shit on there.

    • mpramann@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      You can fix these things with Linux. That’s the magic of it. While it’s not as polished as other OSes (unlike others here keep insisting) you are actually able to fix almost every problem yourself. And while doing it you learn a thing or two.

      • Sanctus@anarchist.nexus
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        OP is posting on Lemmy. Idk your workflow but if I’ve gone from searching to.posting about it I’m already at the bottom of the barrel and its time to cut my loses

    • kylian0087@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      14 hours ago

      Backups are needed. But if you want to learn how to solve weird issue like this. This is good practice. But again make sure your files are safe.

      • Sanctus@anarchist.nexus
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        imo if OP made it here they have already traveled enough, and I know I didnt know in my comment, but the separate hone partition makes it a lot less painful.