This test case ensures dual booting two Fedoras, with btrfs, works as expected
- Install Fedora 33 using Automatic partitioning (uses Btrfs)
- Finish the Gnome Initial Setup
- Prepare USB stick media with the desired 2nd installation image ISO
How to test
- Boot the second Fedora 33 installer, make sensible choices
- In Installation Destination, click Custom under Storage Configuration
- Locate the previous Fedora installation, click on it to reveal existing mount points for reuse
BIOS Bootmount point, on the right hand side at the top, find Mount Point field, type in
/boot/efi, click Update Settings button.
/bootmount point, on the right hand side at the top, find Mount Point field, type in
/boot, do not check the Reformat box, click Update Settings button.
/homemount point, on the right-hand side at the top, find Mount Point field, type in
/home, click Update Settings button.
- Click + button to create a new
/mount point (NOTE: this is required to be a new subvolume. Reformat will be checked, cannot be unchecked, but the underlying Btrfs is not reformatted. Optional: change the name of the subvolume from
rootjamper your preference). Click Update Settings button.
- Perform the installation and reboot the machine. At initial setup, it's recommended to use all the same settings as for the 1st installation.
- After logging in, check that your home directory or
/homecontains the files you created on your previous system (check their contents as well)
/boot/loader/entries/. There should be drop-in snippets with two machine-ids (the long random number at the beginning of the filename). If not, restore the missing snippets from the backup in Setup step 4. Ψ
- Reboot, holding the shift key to bring up the GRUB menu. Confirm you can boot both installations at will.
- The installation should continue without fail
/homedirectory should have your previously-created files
- Either Fedora installation can be successfully booted from the GRUB menu
NOTE: This test case assumes both installations are Fedora 33 or greater, and use Btrfs. But it should be adaptable for other storage setups such as LVM thinp+ext4.
Ψ EXPERIMENTAL: It's possible to use Fedora 31 or 32 as the 1st installation. But the 2nd installation must still be Fedora 33. In Setup step 4, also backup the
kernelopts line from the following command:
sudo grub2-editenv list. Restore it in Actions step 11, e.g.
sudo grub2-editenv - set kernelopts="root=UUID=32291cea-4dee-4e0d-bdf3-813314e2ab10 ro rootflags=subvol=root rhgb quiet"