Bugzilla – Bug 1220795
[Agama live-cd] Two EFI partitions are "found", but there is only one
Last modified: 2024-03-18 10:10:56 UTC
Created attachment 873158 [details] Agama: screenshot of the partitioner There is a Fedora (and another TW) installed on the NVME which I'm trying to reuse for new installation. The UI shows two EFI partitions, but there is only one. One is VFAT, the other is ext4. Fedora uses both of them for /boot and /boot/efi IIUC. Tumbleweed partitioner shows them correctly. This is seen ONLY in Agama.
Created attachment 873159 [details] fdisk output
Created attachment 873160 [details] Logs from Agama
Created attachment 873162 [details] cfdisk screenshot
From the attached y2logs tarball: storage-inst/01-probed.yml: # 2024-03-01 10:54:56 +0100 --- - disk: name: "/dev/nvme0n1" size: 500107608 KiB (476.94 GiB) block_size: 0.5 KiB io_size: 0 B min_grain: 1 MiB align_ofs: 0 B partition_table: gpt partitions: - free: size: 1 MiB start: 0 B - partition: size: 600 MiB (0.59 GiB) start: 1 MiB name: "/dev/nvme0n1p1" type: primary id: esp file_system: vfat - partition: size: 1 GiB start: 601 MiB (0.59 GiB) name: "/dev/nvme0n1p2" type: primary id: linux file_system: ext4 - partition: size: 404841 MiB (395.35 GiB) start: 1625 MiB (1.59 GiB) name: "/dev/nvme0n1p3" type: primary id: linux file_system: btrfs label: fedora btrfs: subvolumes: - subvolume: path: home - subvolume: path: root - subvolume: path: root/var/lib/machines - partition: size: 83886407.5 KiB (80.00 GiB) start: 406466 MiB (396.94 GiB) name: "/dev/nvme0n1p4" type: primary id: linux file_system: btrfs btrfs: default_subvolume: "@/.snapshots/1/snapshot" subvolumes: - subvolume: path: "@" - subvolume: path: "@/var" nocow: true - subvolume: path: "@/usr/local" - subvolume: path: "@/srv" - subvolume: path: "@/root" - subvolume: path: "@/opt" - subvolume: path: "@/home" - subvolume: path: "@/boot/grub2/x86_64-efi" - subvolume: path: "@/boot/grub2/i386-pc" - subvolume: path: "@/.snapshots" - subvolume: path: "@/.snapshots/1/snapshot" - subvolume: path: "@/.snapshots/2/snapshot" - subvolume: path: "@/.snapshots/3/snapshot" - subvolume: path: "@/.snapshots/4/snapshot" - subvolume: path: "@/.snapshots/5/snapshot" - subvolume: path: "@/.snapshots/6/snapshot" - subvolume: path: "@/.snapshots/7/snapshot" - subvolume: path: "@/.snapshots/8/snapshot" - free: size: 16.5 KiB start: 500107591.5 KiB (476.94 GiB) - disk: name: "/dev/sda" size: 500107608 KiB (476.94 GiB) block_size: 0.5 KiB io_size: 0 B min_grain: 1 MiB align_ofs: 0 B partition_table: gpt partitions: - free: size: 69909 MiB (68.27 GiB) start: 0 B - partition: size: 417677 MiB (407.89 GiB) start: 69909 MiB (68.27 GiB) name: "/dev/sda7" type: primary id: linux encryption: type: luks name: "/dev/mapper/cr-auto-1" - free: size: 819544 KiB (0.78 GiB) start: 487586 MiB (476.16 GiB) - disk: name: "/dev/sdb" size: 3856 MiB (3.77 GiB) block_size: 0.5 KiB io_size: 0 B min_grain: 1 MiB align_ofs: 0 B partition_table: msdos mbr_gap: 1 MiB partitions: - free: size: 32 KiB start: 0 B - partition: size: 647284 KiB (0.62 GiB) start: 32 KiB name: "/dev/sdb1" type: primary id: '' file_system: iso9660 label: agama-live mount_point: "/run/initramfs/live" fstab_options: - ro - relatime - nojoliet - check=s - map=n - blocksize=2048 - iocharset=utf8 - partition: size: 20 MiB start: 647316 KiB (0.62 GiB) name: "/dev/sdb2" type: primary id: esp file_system: vfat label: BOOT - free: size: 3280748 KiB (3.13 GiB) start: 667796 KiB (0.64 GiB)
Does it also take the ESP on /dev/sdb2 (the installation image) into consideration?
No it does not even list the USB Drive within the available disks. It probably knows it's the installer device.
Created attachment 873257 [details] List of installation devices with details
The condition for detecting EFI partitions was wrong in Agama UI. Fixed as part of https://github.com/openSUSE/agama/pull/1082.