WhitewaterFoundry / Fedora-Remix-for-WSL

Fedora Remix for Windows Subsystem for Linux.
Other
715 stars 51 forks source link

Document Fedora distro version upgrade process #197

Open shoffmeister opened 1 year ago

shoffmeister commented 1 year ago

Some simple documentation on how to perform a Fedora distro version upgrade would probably be very welcome.

I managed to get my Fedora 37 lifted to Fedora 38 through some random poking around with

sudo update.sh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=38

followed by a "reboot" (a wsl --shutdown to be on the safe side) followed by

upgrade.sh

And somehow I did end up with a fully upgraded Fedora 38 which even still works rather well.

But then random poking around doesn't seem to be that much of a fantastic idea for a carefree upgrade procedure (I had created a backup of the working Fedora 37 vhdx)

crramirez commented 1 year ago

Hello @shoffmeister,

The documentation is here: https://www.whitewaterfoundry.com/blog/2022/11/15/fedora-remix-for-wsl-37-released

The process for Fedora 38 is on the way.

Maybe you are referring to put the documentation in the wiki?

I also suggest everyone to subscribe to the mailing list in https://www.whitewaterfoundry.com also follow us on Twitter @PengwinLinux because we usually publish upgrade process and other stuff regularly.

Regards, Carlos

shoffmeister commented 1 year ago

Whee, had I seen the blog post before making the upgrade, I would not have done it!

I had systemd enabled (and running), no (rawhide gpg) key management, no erasing, no skip broken - basically, I treated this as a plain normal Fedora upgrade. And it worked! (I even got minikube to start on rootless podman, haven't had a chance to try this yet.)

At least I paid attention to not installing a kernel or grub, and I did the backup - but I physically copied the vhdx itself; 60 GB with a 2.5 GB/s write rate on a really fast SSD is much much faster than the truly atrocious official .tar.gz export.

Yes, something in the wiki, or perhaps even in the README (this is something I actually do skim), would be quite helpful - even it is only a link to a blog post, or the mailing list, or ....

FWIW, I am trying to stay off subscriptions / notifications as much as possible.

crramirez commented 1 year ago

Hello @shoffmeister

Check this: https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/pull/199

"no (rawhide gpg) key management, no erasing, no skip-broken" To comply with the remix program requirement, we need to delete the fedora-release package and install the generic-release. Sometimes, those packages have dependency problems because as it is not the regular behavior, they don't test it.

About SystemD, I tested in the pass and it destroyed the installation. But I can try again.