• @DannyBoy@sh.itjust.works
    link
    fedilink
    English
    99 days 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
      link
      fedilink
      6
      edit-2
      9 days 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
        39 days 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.

    • alt_xa_23
      link
      fedilink
      59 days ago

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

      • B-TR3E
        link
        fedilink
        59 days ago

        Yes. Deleting partitions without editing /etc/fstab is a nice way to render your system unbootable.

          • B-TR3E
            link
            fedilink
            39 days ago

            You think means you’re assuming and relying on assumptions for critical options is deadly: Unless you’re adding the “noerror” option to the referring line in /etc/fstab the machine will fail to boot.

    • @BCsven@lemmy.ca
      link
      fedilink
      39 days 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