• DannyBoy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    12 hours ago

    Not only do I get this on shutdown I get a job on startup that runs for a minute thirty that looks for a swap partition that I have deleted.

    • B-TR3E@feddit.org
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      10 hours ago

      Did you delete it or comment it out in /etc/fstab? Adding

      noresume
      

      to your boot arguments should also help. You can try that out in “extended options” during boot and add it to /boot/grub/grub.cfg later. Don’t forget to run

      update-grub
      

      after editing.

      • DannyBoy@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 hours ago

        Yeah I just deleted the swap partition without updating anything. I’ve realized since then I need to update the fstab but I never think about it until the odd time I do a full reboot.

    • BCsven@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      As comments below you will need to check /etc/fstab and then run a mkgrub or mkgrub2 command with options like -o (you will have lookup the full string) and it will rewrite the info that the system is told at boot about drive partitions

    • alt_xa_23@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      11 hours ago

      I’ve had that problem before, I think I had to mess around with my fstab and grub config to fix it.