• RootAccess@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    Out of curiosity: Which operating system(s) can you shutdown while the kernel is being overwritten? I wouldn’t imagine that as a limitation of Arch Linux specifically.

    • palordrolap@kbin.run
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      Mint definitely keeps a couple of previous kernels around, so that might be a Debian and Ubuntu thing too.

      That said, there’s always going to be a critical point of failure that a power loss could cause things to break, no matter your OS or distro.

      Writing the bootloader or updating a partition table for example.

    • themoonisacheese@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      Anything running on a copy-on-write filesystem can trivially rollback changes using a rescue partition.

      I also expect most immutable distros would be able to be especially good at tanking this.

    • technocat@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      I think fedora would survive this abuse. It doesn’t replace when you install kernels, but instead adds it.

    • leftzero@lemmynsfw.com
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      I assume NixOs would just let you load a previous working configuration if the current one got corrupted (though in this case it probably could simply rebuild the current one).