Re: Pi 5
I've been playing with OS'es for a Pi 5 as well. Not quite the same situation as you as I wasn't trying to upgrade so I might be a bit off target with this suggestion..
My first attempt using the full fat version of Pi OS on a Pi 5 was a bit of a disaster so I dropped that approach and installed the light CLI version and then added X and Mate to that.
I'm currently trying Sparky Linux which has some nice touches and I'll be trying MX when I'm sobe with Sparky.
In case it's of any use my crude notes describe the process as,
2024-03-15-raspios-bookworm-arm64-lite.img.xz, installed onto 256G USB stick.
First boot is slow but gets to shell, logon works.
Screen res is 4k. Need a magnifiyig glass... quixk search and fixed it with,
sudo nano /boot/firmware/cmdline.txt
and add to the end of the line, video=HDMI-A-1:1920x1080M@60
reboot
Now I can read the screen, get OS up-to-date
sudo su
apt update
apt dist-upgrade
reboot
Install X and Mate. (No Wayland.) A couple of searches and I pieced this bit together.
sudo su
install xserver-xorg -y
install mate-desktop-environment-core
apt install lightdm -y
reboot
Boots to shell, logon and try startx, command not found.
sudo apt install xinit
Still boots to shell by this time startx gets it running. Changed resolution to 1920x1080 then had a look at the apps on the menus, nicely sparse.
installed lightdm-gtk-greeter-settings
Then worked out how to change runlevel using systemd,
sudo systemctl set-default graphical.target
reboot.
Finally a system that boots cleanly into a Mate GUI and the option to install other wm's and select them.
sudo apt install synaptic
to list of what's available and install favourite apps.
For sparky, I'd learnt a lesson and started with the CLI version.
apt install sparky-desktop-mate
It adds a lot more apps than the previous method but does save a lot of typing.