• TheCheddarCheese@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    11 months ago

    not trying to be the one person who pushes linux down everyones throats, but in all of my time using it i had to restart to update only once

    • ShouldIHaveFun@feddit.ch
      link
      fedilink
      arrow-up
      43
      ·
      11 months ago

      You do have to reboot to use your new kernel after an update. But it’s just a normal reboot, not the whole blocking installation process like in Windows.

      • Quadrexium@sopuli.xyz
        link
        fedilink
        arrow-up
        26
        arrow-down
        2
        ·
        edit-2
        11 months ago

        And a Linux reboot takes like 40s at most and everything works. Where in Windows it takes like 2m to be able to log in and a good 5-10m for all the apps to start working at normal speed

        • black0ut@pawb.social
          link
          fedilink
          arrow-up
          10
          ·
          11 months ago

          you can’t really hot swap the kernel, because all of the system runs on it.

          you’d need to stop the system (you can save its state and recover where you left), reboot to load the new kernel and let it take control.

          however, there are some distros and programs that allow you to hot swap certain parts of the kernel (mainly drivers) without rebooting. Note that, even though the system doesn’t reboot, most packages still need to be restarted for them to pick up the new driver.

        • usernamesAreTricky@lemmy.ml
          link
          fedilink
          arrow-up
          6
          ·
          11 months ago

          Not quite like that but there is a thing called live patching that some distros offer. It’s mainly to used fix security issues rather than a typical update

          Ubuntu livepatching and kpatch are some different tools out there for that if you want to look into it

    • seitanic@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      11 months ago

      Ever since I switched to Arch, I’ve never had to restart to update. I always restart anyway, because I want the update to apply to my current session, but I don’t have to.

      • Bene7rddso@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        lol Arch was the distro where I had to reboot the most after updates because the new kernel modules wouldn’t load with the old kernel