Bug 1220795 - [Agama live-cd] Two EFI partitions are "found", but there is only one
Summary: [Agama live-cd] Two EFI partitions are "found", but there is only one
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: YaST Team
QA Contact: Jiri Srain
URL: https://trello.com/c/itrvP0fT
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-01 15:21 UTC by Lukas Ocilka
Modified: 2024-03-18 10:10 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Agama: screenshot of the partitioner (237.92 KB, image/png)
2024-03-01 15:21 UTC, Lukas Ocilka
Details
fdisk output (109.91 KB, image/png)
2024-03-01 15:21 UTC, Lukas Ocilka
Details
Logs from Agama (111.41 KB, application/x-xz)
2024-03-01 15:22 UTC, Lukas Ocilka
Details
cfdisk screenshot (284.80 KB, image/png)
2024-03-01 16:02 UTC, Lukas Ocilka
Details
List of installation devices with details (123.05 KB, image/png)
2024-03-06 10:37 UTC, Lukas Ocilka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ocilka 2024-03-01 15:21:02 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.
Comment 1 Lukas Ocilka 2024-03-01 15:21:39 UTC
Created attachment 873159 [details]
fdisk output
Comment 2 Lukas Ocilka 2024-03-01 15:22:07 UTC
Created attachment 873160 [details]
Logs from Agama
Comment 3 Lukas Ocilka 2024-03-01 16:02:22 UTC
Created attachment 873162 [details]
cfdisk screenshot
Comment 4 Stefan Hundhammer 2024-03-06 09:12:16 UTC
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)
Comment 5 Stefan Hundhammer 2024-03-06 09:16:46 UTC
Does it also take the ESP on /dev/sdb2 (the installation image) into consideration?
Comment 6 Lukas Ocilka 2024-03-06 10:35:26 UTC
No it does not even list the USB Drive within the available disks. It probably knows it's the installer device.
Comment 7 Lukas Ocilka 2024-03-06 10:37:26 UTC
Created attachment 873257 [details]
List of installation devices with details
Comment 8 José Iván López González 2024-03-18 10:10:56 UTC
The condition for detecting EFI partitions was wrong in Agama UI.

Fixed as part of https://github.com/openSUSE/agama/pull/1082.