• black0ut@pawb.social
      link
      fedilink
      arrow-up
      10
      ·
      10 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
      ·
      10 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