this post was submitted on 04 Aug 2024
319 points (87.7% liked)

linuxmemes

20750 readers
296 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] kolorafa 17 points 1 month ago* (last edited 1 month ago) (2 children)

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.

[–] [email protected] 7 points 1 month ago (1 children)

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.

[–] [email protected] 6 points 1 month ago (1 children)

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

[–] [email protected] 3 points 1 month ago* (last edited 1 month 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 1 points 1 month ago (1 children)

Yeah but how can you download without internet

[–] kolorafa 1 points 1 month ago* (last edited 1 month 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