I've refreshed this write-up based on a system with Windows 10 and Fedora 39 on LUKS
on Btrfs, "installing" Fedora 40 along side via dnf system-upgrade.
The two installations share /boot, /boot/efi, /home, with the two root file systems on
Btrfs in their own subvolumes.
https://fedoraproject.org/wiki/User:Chrismurphy/Draft/dualboot_teststation
Features:
* no re-partitioning;
* no resizing;
* no extra drive;
* no installation or reinstallation, system upgrade is used instead;
* reversibility, or undoability, i.e. you can delete the "test OS", or for that
matter the older system root, with just a few steps.
--
Chris Murphy