Help with hibernation

I’ve had a working hibernation foe few months (nixos24.11+systemd-boot+swap-partition).
yesterday when i merged 2 partition i forgot to make required changes breaking hibernation.
but even after making necessary changes its not working.

<<<< NixOS Stage 1 >>>
loading module dn_mod...
running udeu...
Starting systemd-udeud version 256.10
starting device mapper and LUM...

Im stuck here when resuming hibernation.

heres the code block i used for hibernation

  # Bootloader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  boot.resumeDevice = "/dev/disk/by-uuid/419d433e-2ff1-4359-87ad-ecd397133677";
  
  # Set kernel parameters for hibernation
  boot.kernelParams = [ "resume=UUID=419d433e-2ff1-4359-87ad-ecd397133677" ];

  # Enable Swap
  swapDevices = [
    { device = "/dev/disk/by-uuid/419d433e-2ff1-4359-87ad-ecd397133677"; } 
  # { device = "/dev/nvme0n1p5"; }
  ];

pls help since no hibernation on laptop sucks (also its an amd laptop 3500u)

First of all, «hibernation not working» can mean a ton of different behaviours, you need to be more specific. Second, you should probably attach a relevant dmesg dump (what does «relevant» mean depends on the exact scenarion of not working).

1 Like