Bug 2264412

Summary: partitions are created 1 MB smaller than requested; biosboot partition ends up having 512 bytes and installation crashes
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: cockpitAssignee: Martin Pitt <mpitt>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: anaconda-maint, kkoukiou, mmarusak, mpitt, patrick, robatino, slavik.vladimir, stefw, w
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-16 12:05:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2187792    
Attachments:
Description Flags
webui.log none

Description Kamil Páral 2024-02-15 12:33:21 UTC
Installer WebUI Critical Error:
Installation of the system failed: Installing boot loader org.fedoraproject.Anaconda.BootloaderInstallationError: boot loader install failed

This happens when I try to create a 1MB biosboot partitions. Instead, it creates just a 512-byte partition. (This was mentioned in bug 2263871 comment 8).


Reproducible: Always

Steps to Reproduce:
1. use cockpit partitioning to create a 1 MB biosboot partition (change the unit first and place the value second, to avoid bug 2263871). Of course when using BIOS boot.
2. create remaining partitions
3. start installation
4. crash during end of installation

Comment 1 Kamil Páral 2024-02-15 12:33:53 UTC
Created attachment 2016908 [details]
webui.log

Comment 2 Kamil Páral 2024-02-15 12:37:21 UTC
Proposing as a Beta blocker:
"
When using both the installer-native and the blivet-gui-based custom partitioning flow on the GTK-based installer, and the Cockpit-based custom partitioning flow on the webui-based installer, the installer must be able to: 
Assign sizes to newly-created storage volumes and containers
Reject or disallow invalid disk and volume configurations without crashing.
"
https://fedoraproject.org/wiki/Fedora_40_Beta_Release_Criteria#Custom_partitioning

Comment 3 Martin Pitt 2024-02-15 15:38:05 UTC
This is fixed in 311 and waiting in https://src.fedoraproject.org/rpms/cockpit/pull-request/236 for an anaconda-webui release. It already landed in F38/F39.

Comment 4 Martin Pitt 2024-02-15 16:02:53 UTC
Released: https://bodhi.fedoraproject.org/updates/FEDORA-2024-92819ae62d

Comment 5 Kamil Páral 2024-02-16 12:05:15 UTC
In my testing, this seems resolved in Fedora-Workstation-Live-x86_64-40-20240216.n.0.iso.