320
submitted 3 months ago by FQQD@lemmy.ohaa.xyz to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] gaylord_fartmaster@lemmy.world 241 points 3 months ago

The power is out and my laptop has less than 10% battery left?

It's pacman -Syu time.

[-] PlexSheep@infosec.pub 20 points 3 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 17 points 3 months ago* (last edited 3 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 7 points 3 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.

[-] sukhmel@programming.dev 6 points 3 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 3 points 3 months ago* (last edited 3 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).

[-] EuroNutellaMan@lemmy.world 1 points 3 months ago

Yeah but how can you download without internet

[-] kolorafa@lemmy.world 1 points 3 months ago* (last edited 3 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
load more comments (11 replies)
load more comments (16 replies)
this post was submitted on 04 Aug 2024
320 points (87.7% liked)

linuxmemes

21281 readers
273 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS