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
[–] [email protected] 26 points 1 month ago (6 children)

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.

[–] technocat 23 points 1 month ago (2 children)

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

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

Also Fedora ships 3 kernels by default. If one breaks, maybe the others will keep working.

[–] zloubida 5 points 1 month ago (1 children)

With Manjaro you choose how much kernels you want.

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

Arch let's you install kernels till /boot is full...

[–] [email protected] 1 points 1 month ago

Yes. I have it set up this way. I forgot it wasn't the default. For the amount of headache it would solve, I wonder if the Arch team has a specific reason for not keeping a number of previous kernels by default.

[–] [email protected] 5 points 1 month ago

Ubuntu (and probably Debian too) will keep an old kernel in your grub list so you can boot off that one if needed.

[–] [email protected] 12 points 1 month ago

Arch Linux with 2 kernels ;)

[–] [email protected] 11 points 1 month 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.

[–] [email protected] 8 points 1 month 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.

[–] [email protected] 2 points 1 month 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).

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

Windows

Goes back to a previous restore point

[–] [email protected] 1 points 1 month ago

I haven't used Windows since Win7 - Is it possible nowadays to immediately cancel a kernel-level upgrade (say, Win7 to Win8) and have it gracefully stop and then boot into the pre-upgrade environment? If so, then Windows has come a long way. We use to be careful breathing-too-loudly around Windows computers during the upgrade process. Microsoft must be getting better.