Description of problem: Firmware is UEFI. Device has an existing MBR partition and single file system with 50g free. Install using Automatic partitioning succeeds but the ESP unexpectedly has a type code of 6. Version-Release number of selected component (if applicable): anaconda-34.24.3-1.fc34.x86_64 python3-blivet-3.3.2-2.fc34.noarch How reproducible: Always Steps to Reproduce: 1. UEFI firmware, pre-existing MBR on the disk, no reclaim 2. Do an Automatic installation 3. Actual results: ESP type code '6' Expected results: ESP type code 'EF' Additional info: # fdisk -l /dev/vda Disk /dev/vda: 100 GiB, 107374182400 bytes, 209715200 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x57f83851 Device Boot Start End Sectors Size Id Type /dev/vda1 2048 104859647 104857600 50G 7 HPFS/NTFS/exFAT /dev/vda2 * 104859648 106088447 1228800 600M 6 FAT16 /dev/vda3 106088448 108185599 2097152 1G 83 Linux /dev/vda4 108185600 209715199 101529600 48.4G 5 Extended /dev/vda5 108187648 209715199 101527552 48.4G 83 Linux While edk2-ovmf cooperates and boots this installation, not every firmware will agree to scan or boot from anything other than code EF.
Created attachment 1757969 [details] anaconda.log
Created attachment 1757970 [details] program.log
Created attachment 1757971 [details] storage.log
Created attachment 1757972 [details] storage.state
upstream PR: https://github.com/storaged-project/blivet/pull/933