Bug 2324913 - Web-UI Share disk with existing Fedora installation re-formats EFI partition
Summary: Web-UI Share disk with existing Fedora installation re-formats EFI partition
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: f42webuitestday
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-09 14:58 UTC by Paul K
Modified: 2025-04-23 09:28 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-23 09:28:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of chosen disk options (76.42 KB, image/png)
2024-11-09 14:59 UTC, Paul K
no flags Details
Screenshot of summary page with disk plan (66.08 KB, image/png)
2024-11-09 15:00 UTC, Paul K
no flags Details
Resulting GRUB boot screen (8.94 KB, image/png)
2024-11-09 15:00 UTC, Paul K
no flags Details

Description Paul K 2024-11-09 14:58:37 UTC
The Web-UI installer re-formats the existing EFI System Boot partition instead of retaining and adding to it.


Reproducible: Always

Steps to Reproduce:
1. Create EFI VM with an existing OS, say Fedora 41
2. Run installer per https://fedoraproject.org/wiki/QA:Testcase_webui_partitioning_guided_free_space
3. Attempt to boot original OS
Actual Results:  
The Web-UI installer obliterates the existing OS bootloader by reformatting the EFI system partition.

Expected Results:  
The Web-UI installer retains the original operating system and both OS boot correctly.

Possible fix:
An existing EFI boot partition must be retained and added to in order to retain original OS boot capability.

Comment 1 Paul K 2024-11-09 14:59:36 UTC
Created attachment 2056669 [details]
Screenshot of chosen disk options

Comment 2 Paul K 2024-11-09 15:00:16 UTC
Created attachment 2056670 [details]
Screenshot of summary page with disk plan

Comment 3 Paul K 2024-11-09 15:00:56 UTC
Created attachment 2056671 [details]
Resulting GRUB boot screen

Comment 4 Paul K 2024-11-09 15:01:35 UTC
EFI boot menu shows one option - Fedora, rather than two.

Comment 5 Katerina Koukiou 2024-11-21 13:07:18 UTC
This is indeed a bug, but present only when the pre-existing OS is also Fedora.

Comment 6 Aoife Moloney 2025-02-26 13:15:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 7 Jiri Konecny 2025-04-02 13:01:58 UTC
This bug is in Anaconda for a long time already. Switching to anaconda component and moving to Rawhide as we are post-freeze deadline so we can't get the fix in anyway.

Comment 8 Jiri Konecny 2025-04-23 09:28:29 UTC
Hi Paul, we tried to resolve this issue with:
- https://github.com/rhinstaller/anaconda/pull/6210
- https://github.com/rhinstaller/anaconda-webui/pull/656

however, after a few failing attempts we have reached the grub team for an advice. We have found out that having Fedora next to Fedora is not supported as the /boot/efi/fedora path is hard-coded in RPMs directly. Because of that we are not able to fix it on side of Anaconda. You can resolve this issue by having two different EFI partitions on different disks but unfortunately we are currently not able to support having two Fedora installations next to each other.

Based on the above I'm closing this bug. If you want to have this supported you have to file an RFE on grub component.

However, Anaconda should avoid this situation to happen so we are filing https://issues.redhat.com/browse/INSTALLER-4186 to warn user about potential problems.


Note You need to log in before you can comment on or make changes to this bug.