Easymode: pick a fedora ublue distro and go from bazzite to silver blue :)
Title
You can rebase with a single command I think.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Easymode: pick a fedora ublue distro and go from bazzite to silver blue :)
Title
You can rebase with a single command I think.
I've got a blank macbook air at home waiting for a project.
I've never undergone a project like this without cheating by using bedrock linux as an intermediary then "Unbedrocking" my install (officially impossible, unofficially insane) with another PM as my default to convert from debian to arch years ago.
This is gonna be fun, or hellish, idk I'll find out.
I've done the Arch to Artix. It wasn't hard, per se, but it took a while. I think that should be Medium, because Artix isn't just an Arch derivative.
In fact, might I suggest a different way of looking at the difficulties?
And so on. You get 1 point for Easy, 2 for Medium, 4 for Hard, and 8 for Extreme. Add 'em up, go for a high score.
I don't think rolling your own is that hard, TBH, unless you're expected to also build a package manager. If maintaining it would be harder than building it.
without installing another distro over the top of it ... [replace] package managers
The package manager is the distro, though.
$ pacman -S apk-tools
$ apk add alpine-base linux-lts
Then kexec
to alpine's kernel and the initramfs
generated by its installation (which would incidentally "replace" PID 1 with the new /sbin/init
). For clean up you could take a diff of "tar -t
" for all the installed packages from both distros then delete the files only in the old distro's packages.
Make a self-compiled distro your target.
Replace the first step with a compilation of apk
, abuild
everything required by alpine-base
and linux-lts
(git clone aports
to bootstrap that work), then add the package directory to /etc/apk/repositories
before the second step. Next, begin to worry that you haven't fully broken free yet, replace abuild
with a bespoke mybuild
and apk
with tar -x
, grapple with signed binaries, reflect on your own identity and authenticity, then take a tour through gentoo
and find yourself missing the $HOME
you left and its familiar comforts.
Okay i'll cheat with Guix then
This is what I was doing with my server. I've learned there's no better feeling than starting from scratch.
Love the idea of the challenge, my issue would be lack of a validator tool to confirm I'd completed the challenge - any suggestions?
After completing the challenge and making sure your system is usable and can survive a reboot:
If you've kept the old package manager, search for installed packages and make sure that the package manager itself is the only thing left. Then delete it.
You use the new franken system to do an update to the new version of that distro's flavour without bricking the system.
Ummm you go first.
I would watch a YouTube series doing this
whoever runs the channel will singlehandedly cause a worldwide antidepressant shortage
Reminds me of MattKC, a guy on YouTube who does similar stuff. He ported the .Net framework to win95. very interesting videos, if think this challenge would be exactly his type.
Love him. His lego island port has been a pleasure to watch.
Oh he's the Lego Island guy, I thought he sounded familiar.
Hell: from macOS to WSL.
But the rules say the system must be usable.
kid named nixos-infect:
Theoretically one could also prohibit rebooting.
IIRC kexec
is pivot_root but for the kernel.
So, any distro to any other distro?
Jobs done chief!
installs ubuntu, converts to mint. bam.
The beauty of this exercise is you can make it as easy or challenging as you want just by changing the targets, and finding different combinations can keep things interesting.
The compiled distros should be easy instead of nightmare tbh
I "broke" linux mint just by trying to pop KDE on, had to timeshift because it messed up my keyboard layout and a whole bunch of other things with my display.
I don't know how people do these crazy changes without pain, and have a feeling the answer is simply "there's pain" 😂
theres pain but its also very satisfying to pull this kind of stuff off. im more of a stable system kind of guy these days.
Reminds me of trying NsCDE… it changed a ton of settings and no other desktop looked right after that. I ended just blowing away my home folder and restoring my files
New Game+: speedrun it
Reminds me of a recent post someone converted their system from Debian to OpenBSD via SSH only
Why does that sound familiar.
Did they load an OS into ram to run ssh then rebuild the machine, also some VPS that the provider was dragging their feet on remote hands.
I can't find it now but basically something like that yeah. VPS provider only gave them SSH on linux so couldn't run the openbsd installer any normal way either
“Medium: Same as easy but go from the derivative to the base.”
I can't quite recall, but I think I did exactly that with Ubuntu -> Debian once upon a time. I think Ubuntu was only a year or so old though, so there wasn't a huge amount of divergence back then. As a bonus anecdote I also attempted a semi-successful build of Gentoo on a PPC Mac around the same time (nothing before or after that has compared in its level of nightmare).
I also attempted a semi-successful build of Gentoo on a PPC Mac around the same time (nothing before or after that has compared in its level of nightmare).
Amen!
I have seen dozens of systems migrated from Gentoo to CentOS by live swapping the userspace and eventually rebooting into the new kernel. A hair raising experience to be sure.
To add sadism on top of masochism, tell all your friends how you did it in great detail
I once switched from Debian i386 to amd64 in-place. That was MUCH harder than you would expect, I guess somewhere between medium and hard in your list. That server is still running that install btw, so in the end it all worked out.
i did a bit of back and forth with a couple of debian based distros in the past but it always ended up buggy and weird. it was a desktop install though, i imagine servers would be simpler.
I had forgotten about doing that myself. I did that on a couple servers once the distros had full 64 bit builds. Does that technically count as an architecture swap in-place as well?
Absolutely, that's basically the same thing
I think it would be very interesting to convert e.g. a regular Fedora installation into a (so-called “immutable”) Fedora Silverblue installation or vice-versa.
debootstrap makes this easy, and familiarity with that process introduces chroot skills.
Shouldn't everyone that installed Arch the right way be able to do it on most distros, simply after installing Pacman?
Though I think changing (shrink, create new, migrate, delete old) the partition layout would count as installing another distro on top...
Want a challange? Start with something like Silverblue.
Arch already has apt in the repo, so I'd imagine it's not super hard to build your own Debian from there.