Bug 2264412 - partitions are created 1 MB smaller than requested; biosboot partition ends up having 512 bytes and installation crashes
Summary: partitions are created 1 MB smaller than requested; biosboot partition ends u...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Martin Pitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2024-02-15 12:33 UTC by Kamil Páral
Modified: 2024-02-16 12:05 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-16 12:05:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
webui.log (838.18 KB, text/plain)
2024-02-15 12:33 UTC, Kamil Páral
no flags Details

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.


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