After recent Fedora InstallFest event in Brno, we've seen that the common use case of how university students install Fedora has changed compared to past. Now, their notebooks run with UEFI. Also, very often students put in a second drive for Fedora installation. This ticket is a request to cover a frequent installation scenario with OpenQA.
The purpose of this test would be to finish a Fedora installation to a second disk, but re-use the ESP from the first disk. This use case is purportedly not as recommended by anaconda/storage team as having a separate ESP on the second disk (already covered in #127), but this might be necessary with certain poor firmware implementations that ignore requests to boot from the second disk.
The installation would be performed on an UEFI system and the first disk would contain an existing partition layout including ESP (EFI system partition). Having the layout resemble default Windows disk layout including NTFS partitions would be a plus (including a similar ESP contents). The second disk would be expected to end up with Fedora's installation partitions, but no ESP. The first disk is expected to get untouched during the installation process except for ESP. The rebooted system is expected to boot into Fedora bootloader showing the new Fedora system and the pre-existing system (if we can fake it) and booting Fedora should work (it might be tricky to verify the pre-existing system would also boot ok).
This scenario would be nice to get automated using custom partitioning (of course, having blivet-gui covered as well wouldn't hurt either, but I don't think we need to exhaustively cover everything).
1. Prepare an UEFI system with 2 disks.
2. Prepare an existing GPT layout on the first disk, including ESP (ideally with something resembling valid content) and some NTFS partitions. No free space.
3. Have the second disk empty.
4. Boot the installer.
5. In manual partitioning, select both disks, and then create a working layout consisting of mounting the first disk's ESP as /boot/efi and creating all other partitions on the second disk (no ESP there). Perform the installation.
6. Confirm the system reboots into Fedora GRUB.
7. If possible, verify that the pre-existing system boot option is present.
8. Boot the installed operating system, verify it boots correctly.
9. Verify that the first disk is untouched except for ESP, which should receive Fedora-specific files.
I've opened a Workstation WG issue, based on the use case described here, to add to our installer prioritization list. I think this is an important use case to just do better out of the box using all installation interfaces.
/dev/vda: ESP + Windows
/dev/vdb: Empty or optionally in reclaim space delete or shrink a partition.
Select both drives, with automatic partitioning: The installer reuses (without reformatting) the ESP on vda, everything else goes on vdb. The GRUB menu has a Windows boot entry.
Selection only vdb drive, with automatic partitioning: Everything is on vdb including a new EFI system partition. The GRUB menu has a Windows boot entry.
to comment on this ticket.