• PlexSheep@infosec.pub
    link
    fedilink
    arrow-up
    22
    arrow-down
    2
    ·
    5 months ago

    Wait if the power is out, how do they have Internet to load new packages? Something doesn’t make sense here

    • kolorafa@lemmy.world
      link
      fedilink
      arrow-up
      18
      arrow-down
      1
      ·
      edit-2
      5 months ago

      It first downloads all packages from net, then it proceed totally offline starting by verifying downloaded files, signatures, extracting new packages and finally rebuilding initramfs.

      Because arch is replacing the kernel and inittamfs in-place there is a chance that it will not boot if interrupted.

      This issue was long resolved on other distro.

      One way to mitigate it is by having multiple kernels (like LTS or hardened) that you can always pick in grub if the main one fail.

      • superkret@feddit.org
        link
        fedilink
        arrow-up
        7
        ·
        5 months ago

        This issue was solved on Slackware in 1993.
        It installs a “huge” kernel that contains all drivers to run on almost any hardware by default, alongside the “generic” kernel with only the modules you need. If the generic kernel fails to boot, you always have the backup, which is known to work, cause it’s the kernel you first boot into after installation.

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          6
          ·
          4 months ago

          I’m not familiar with slackware but why is specific kernel called generic, while generic one is not called generic? I’m puzzled

          • superkret@feddit.org
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            4 months ago

            I have no idea either.

            Edit: Did some reading. “Linux-generic” is just the name of the linux kernel that is used in most computers (as opposed to Linux-realtime, which is the only other Linux kernel that’s still relevant).

        • kolorafa@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          4 months ago

          (No internet =} no download = no failure

          You can even host repo mirror locally, that will still work without internet ;)

          How to have internet without power?

          • Mobile hotspot
          • Router and AP using UPS
    • Artyom@lemm.ee
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      5 months ago

      Cable internet tends to stay online even if your power is out. You’d need a battery backup for your modem/router, but it is possible to stay online. Houses can be clever like that, almost all of your utilities will partially work, even when service is interrupted.

      • cmnybo@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        7
        ·
        5 months ago

        That depends on the ISP having backup batteries for their equipment. It will usually only last a couple of hours. 5G will usually stay up for a few days. For longer outages, you will need satellite internet and lots of fuel for your generator.

    • devfuuu@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      My router has a 5G backup connection and a battery. Light could be out and I’d still have internet. So, yeah, it’s possible :P

        • Strykker@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          Nah, cell towers often have some kind of backup power good for a couple hours or more, at least in the city where I am. I think I once had an outage last 3 days when a tornado wrecked the local transformer station, and still had cell service the entire time.

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      arrow-up
      8
      arrow-down
      15
      ·
      5 months ago

      Average Linux solution.

      “Got an emergency? It’s so EZ. Just open up the terminal and copy/paste [long string of unreadable text]. Btw fuck windows.”

      • felsiq@lemmy.zip
        link
        fedilink
        arrow-up
        36
        ·
        5 months ago

        Yea as opposed to the windows method of “just open regedit and navigate 8 folders below HKEY_CURRENT_USER to change some ambiguous system variable in hex” lmao

        I’ll take editing a text file in /etc/ for my configuration any day