this post was submitted on 20 Mar 2025
21 points (100.0% liked)

Linux

2720 readers
29 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 2 years ago
MODERATORS
 

The Linux Ship of Theseus

Crossposted from: https://lemmy.ml/post/27387345

  1. pick any distro and install it.
  2. Then, without installing another distro over the top of it, slowly convert it into another distro by replacing package managers, installed packages, and configurations.
  • System must be usable and fully native to the new distro (all old packages replaced with new ones).
  • No flatpaks, avoid snaps where physically possible, native packages only.

Difficulties:

  • Easy: pick two similar distros, such as Ubuntu and Debian or Manjaro and Arch and go from the base to the derivative.
  • Medium: Same as easy but go from the derivative to the base.
  • Hard: Pick two disparate distros like Debian and Artix and go from one to the other.
  • Nightmare: Make a self-compiled distro your target.

Clarifications

  • chroot, dd, debootstrap, and partition editors that allow you to install the new system in an empty container or blanket-overwrite the old system go against the spirit of this challenge.
  • These are very useful and valid tools under a normal context and I strongly recommend learning them.
  • You can use them if you prefer, but The ship of Theseus was replaced one board at a time. We are trying to avoid dropping a new ship in the harbor and tugging the old one out.
  • It may however be a good idea to use them to test out the target system in a safe environment as you perform the migration back in the real root, so you have a reference to go by.
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 10 hours ago (1 children)

I have done this it's not that hard if you use two disks so you can run on one then bootstrap the other then share the the home directory over. I guess you could also use BTRFS and run on two subvolumes and do it on one drive.

I would also add an extra hard mode going from a Linux distro to a bsd distro

[–] [email protected] 1 points 8 hours ago (1 children)

I would also add an extra hard mode going from a Linux distro to a bsd distro

I wonder if Debian could do it, since they have kFreeBSD as one of their ports. I'm not sure how that will work, but hey, could be fun!

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

Yeah but you gave me a better idea going to Hurd instead

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

Oof.

But why not TempleOS?