• TheCheddarCheese@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    1 year 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
      ·
      1 year 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
        1 year 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
          ·
          1 year 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
          ·
          1 year 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
      ·
      1 year 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
        ·
        1 year 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