Bug 1211701 - openSUSE Installer fails to install GRUB2 on EFI platform
Summary: openSUSE Installer fails to install GRUB2 on EFI platform
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Leap 15.4
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Chang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-25 07:21 UTC by Dexter Foster
Modified: 2023-06-27 04:57 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
mchang: needinfo? (dexter.1234)


Attachments
yast install logs (1.71 MB, application/x-compressed-tar)
2023-05-26 07:39 UTC, Dexter Foster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dexter Foster 2023-05-25 07:21:42 UTC
OVERVIEW
When installing openSUSE LEAP 15.4 on desktop EFI-based platforms where the hard drive(s) are prepartitioned and filesystems preformatted, the installer fails to install GRUB2 in the EFI partition with the following two error dialogs:

YaST2

 Error

 Execution of command "[["/usr/bin/grub2-editenv","list"]]" failed.
 Exit code: 1
 Error output: /usr/bin/grub2-editenv: error: ../grub-core/kem/fs.c:121:unknown filesystem.


YaST2

 Error

 Execution of command "[["/usr/sbin/grub2-install","--target=x86_64-efi","--force","--skip-fs-probe"]]" failed.
 Exit code: 1
 Error output: Installing for x86_64-efi platform.
 /usr/sbin/grub2-install: error: ../grub-core/kern/fs.c:121:unknown filesystem.

After the error dialogs, the installer reboots the system then restarts the installation process from the beginning.

STEPS TO REPRODUCE
1. Format hard drive(s) GPT then partition and format filesystems on partitions. In this case drive partitioning was done with GParted Live v1.4.0-1 and v1.5.0-1 (version of GParted had no effect on the outcome).

2. Install openSUSE from the distribution ISO. Key steps:
a) At "System Role" page select "Desktop with GNOME",
b) At "Suggested Partitioning" page select "Expert Partitioner -> Start with Existing Partitions" then "Edit" each partition specifying DO NOT FORMAT, mount the partition and partition mount point,
c) At "Installation Setting" page under Booting select:
Boot Loader Type: GRUB EFI
Secure Boot: disable
Update NVRAM: enabled
d) Select any packages to install or just accept the default packages - it does not matter.
e) Proceed with installation

NOTE: Secure Boot is disabled in the platform UEFI BIOS.

ACTUAL RESULTS
At the point in the installation where the installer writes GRUB2 EFI to the EFI partition, the previously stated error dialogs are produced and the installer reboots and starts installation again from the beginning.

EXPECTED RESULTS
The installer should write GRUB2 EFI to the EFI partition and complete installation.

BUILDS
Three ISOs have been tried and all fail to install GRUB2 EFI when the hard drives are prepartition/preformatted, the ISOs are:
openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso
openSUSE-Leap-15.4-CR-DVD-x86_64-Build31.329-Media.iso
openSUSE-Leap-15.4-CR-DVD-x86_64-Build31.354-Media.iso

ADDITIONAL BUILDS AND PLATFORMS
First observed July 2022 on ASUS X570 plaform with installation ISO "openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso".

Problem recurred again recently on a different (new) hardware platform. The three previously mentioned build were tried with the same failure mode. Additionally, two different versions of GParted were used to exclude GParted as the source of error. INXI of the latest platform is below.

WORKAROUND
In step 2b in "STEPS TO REPRODUCE" when editing each partition, instruct the installer to format the partition. The installer will then install GRUB2 EFI and complete installation normally.

INXI OF RECENT PLATFORM
System:
  Kernel: 5.14.21-150400.24.63-default x86_64 bits: 64 compiler: gcc
  v: 7.5.0 Desktop: GNOME 41.9 Distro: openSUSE Leap 15.4
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI)
  v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 4602
  date: 02/23/2023
CPU:
  Info: 8-Core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3
  rev: 2 cache: L2: 4 MiB
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  bogomips: 134401
  Speed: 4228 MHz min/max: 2200/4200 MHz boost: disabled Core speeds (MHz):
  1: 4228 2: 4214 3: 4204 4: 4191 5: 4222 6: 4232 7: 4219 8: 4252 9: 4146
  10: 4199 11: 4163 12: 4198 13: 4196 14: 4228 15: 4198 16: 4200
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Tul
  driver: amdgpu v: 5.18.13 bus-ID: 0a:00.0
  Display: wayland server: SUSE LINUX 1.20.3 compositor: gnome-shell driver:
  loaded: amdgpu note: n/a (using device driver) - try sudo/root
  resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD Radeon RX 6600 (navi23 LLVM 15.0.3 DRM 3.48
  5.14.21-150400.24.63-default)
  v: 4.6 Mesa 22.3.0-devel direct render: Yes
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
  bus-ID: 0a:00.1
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
  driver: snd_hda_intel v: kernel bus-ID: 0c:00.4
  Sound Server-1: ALSA v: k5.14.21-150400.24.63-default running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
  Sound Server-3: PipeWire v: 0.3.49 running: no
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel bus-ID: 03:00.0
  IF: wlan1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: ASUSTeK driver: r8169 v: kernel port: f000 bus-ID: 04:00.0
  IF: eth0 state: down mac: <filter>
  IF-ID-1: br0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
  v: 0.8 bus-ID: 3-5:4
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 3.65 TiB used: 18.74 GiB (0.5%)
  ID-1: /dev/sda vendor: Western Digital model: WD2003FZEX-00SRLA0
  size: 1.82 TiB
  ID-2: /dev/sdb vendor: Western Digital model: WD2003FZEX-00SRLA0
  size: 1.82 TiB
Partition:
  ID-1: / size: 62.44 GiB used: 16.78 GiB (26.9%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 2 GiB used: 152 KiB (0.0%) fs: vfat dev: /dev/sda1
  ID-3: /home size: 502.89 GiB used: 218.1 MiB (0.0%) fs: ext4
  dev: /dev/sda5
  ID-4: /tmp size: 124.93 GiB used: 16 MiB (0.0%) fs: ext4 dev: /dev/sda4
  ID-5: /var size: 62.44 GiB used: 759.8 MiB (1.2%) fs: ext4 dev: /dev/sda3
Swap:
  ID-1: swap-1 type: partition size: 72 GiB used: 0 KiB (0.0%)
  dev: /dev/sda7
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 337 Uptime: 0h 7m Memory: 62.7 GiB used: 1.65 GiB (2.6%)
  Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Packages: N/A
  note: see --pkg Shell: Bash v: 4.4.23 inxi: 3.3.07
Comment 1 Stefan Hundhammer 2023-05-25 08:25:26 UTC
Like with every YaST related bug report, please attach the resulting file of the supplied "save_y2logs" script; see also

https://en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug,_and_now_I_am_asked_to_"attach_y2logs"_(for_package_installation_also_"libzypp_logging")._What_does_that_mean,_and_how_do_I_do_that?


But I have a hunch what might have happened here:

In recent months, we had a number of cases where the by-id device name of disks were not as stable as they should be; and I see two disks of the same make and model in your hardware list.

Sometimes, hardware makers don't assign a unique serial number to every individual disk during manufacturing, and then it's a matter of coincidence which one of the disks the kernel discovers first, and that one gets a number 00001 appended, and the other one 00002 (or similar).

You can check this with

  ls -l /dev/disk/by-id | grep -v 'part'

This is a known problem, and we are working on it.
Comment 2 Stefan Hundhammer 2023-05-25 08:33:07 UTC
On my machine, those device names look like this:

scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921828 -> ../../sdb
scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921835 -> ../../sda
scsi-0ATA_Samsung_SSD_860_S3YJNX0K873041Y -> ../../sdc

The first two, /dev/sda and /dev/sdb, are rotational disks also of the same make and model. You can see that the long names are different only in the last two digits.

When grub2 is to be installed on /dev/sda1, and after rebooting the kernel changes the order of those disks, it might check /dev/sdb1 instead; and if there is a Windows partition and not the expected EFI system partition, you might just get that error that you saw.

Using /dev/disk/by-id device names, not simple kernel devices like /dev/sda, was a requirement years ago because back then those /dev/sda, /dev/sdb etc. names were even less stable.

We might have to reevaluate that strategy, or even use /dev/disk/by-uuid instead.
Comment 3 Stefan Hundhammer 2023-05-25 08:34:21 UTC
See also bug #1210446
Comment 4 Lukas Ocilka 2023-05-25 08:58:10 UTC
Here, I think, the most important part is this (taken from the initial comment):

Error output: /usr/bin/grub2-editenv: error: ../grub-core/kem/fs.c:121:unknown filesystem.

WORKAROUND
In step 2b in "STEPS TO REPRODUCE" when editing each partition, instruct the installer to **format the partition**. The installer will then install GRUB2 EFI and complete installation normally.

And I feel we already had similar bugreport. Assigned to GRUB2 maintainer?

And JFTR bug #1187471 is about something else. Although it also appears on the radar.
Comment 5 Stefan Hundhammer 2023-05-25 09:12:43 UTC
Ouch. Yes, you are right: It won't work with an unformatted partition. I overlooked that part.
Comment 6 Stefan Hundhammer 2023-05-25 09:15:25 UTC
Dexter, please notice that not formatting the ESP (EFI System Partition) is only an option if you are sure that there already is one with a valid filesystem. If there is nothing yet, it needs to be created first, i.e. formatted.
Comment 7 Josef Reidinger 2023-05-25 10:00:50 UTC
It should be already VFAT. But I am not sure if it is enough, as ESP requires specific entry in GPT. So it is possible that in this case GUID for partition in GPT is not set to C12A7328-F81F-11D2-BA4B-00A0C93EC93B but to something else. So here my wild guess ( without logs hard to say for sure ) is that premade partitioning does not match EFI requirements.
Comment 8 Martin Wilck 2023-05-25 10:54:05 UTC
(In reply to Stefan Hundhammer from comment #2)
> On my machine, those device names look like this:
> 
> scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921828 -> ../../sdb
> scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921835 -> ../../sda
> scsi-0ATA_Samsung_SSD_860_S3YJNX0K873041Y -> ../../sdc
> 
> The first two, /dev/sda and /dev/sdb, are rotational disks also of the same
> make and model. You can see that the long names are different only in the
> last two digits.

But they do differ. So what exactly is the issue with these by-id links?
Comment 9 Martin Wilck 2023-05-25 11:00:06 UTC
> scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921828 -> ../../sdb

For ATA devices, the /dev/disk/by-id/ata-* symlink would be preferred over "scsi-0". Example:

ata-WDC_WD5003ABYX-50WERA1_WD-WMAYP2337147 -> ../../sda
scsi-0ATA_WDC_WD5003ABYX-5_WD-WMAYP2337147 -> ../../sda

In my case there's also 

scsi-350014ee0ad9e9909 -> ../../sda
scsi-1ATA_WDC_WD5003ABYX-50WERA1_WD-WMAYP2337147 -> ../../sda
scsi-SATA_WDC_WD5003ABYX-5_WD-WMAYP2337147 -> ../../sda
wwn-0x50014ee0ad9e9909 -> ../../sda

All these, except scsi-S*, would be preferred to scsi-0*.

Note that we want to get rid of the scsi-0 and scsi-S symlinks in the future (https://jira.suse.com/browse/PED-2687)
Comment 10 Stefan Hundhammer 2023-05-25 11:03:18 UTC
(In reply to Martin Wilck from comment #8)
> (In reply to Stefan Hundhammer from comment #2)
> > On my machine, those device names look like this:
> > 
> > scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921828 -> ../../sdb
> > scsi-0ATA_SAMSUNG_HD103SJ_S246JD2Z921835 -> ../../sda
> > scsi-0ATA_Samsung_SSD_860_S3YJNX0K873041Y -> ../../sdc
> > 
> > The first two, /dev/sda and /dev/sdb, are rotational disks also of the same
> > make and model. You can see that the long names are different only in the
> > last two digits.
> 
> But they do differ. So what exactly is the issue with these by-id links?

That was on my machine, just as an example. It may be different on the bug reporter's machine. We are still waiting for logs.
Comment 11 Dexter Foster 2023-05-25 21:54:08 UTC
(In reply to Stefan Hundhammer from comment #1)
> Like with every YaST related bug report, please attach the resulting file of
> the supplied "save_y2logs" script; see also
> 
> https://en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug,
> _and_now_I_am_asked_to_"attach_y2logs"_(for_package_installation_also_"libzyp
> p_logging")._What_does_that_mean,_and_how_do_I_do_that?

I will have to do a re-install to obtain yast logs. The system was successfully installed as I stated in the "WORKAROUND" section of my original post. It will be two or three days before I can do so.

As I have never had to obtain yast install logs I am a bit unclear how to obtain them. The link you referenced seems to apply to a system that can boot. However, as GRUB2 EFI is not installed the system cannot boot. The installer issues the two mentioned error dialogs then goes to the reboot system dialog. I assume that the installer is writing logs to RAM disk, so, are volatile (unless they are written to hard disk). It would seem that to obtain the logs I would have to cancel the reboot prompt then copy the log file from RAM disk - is this correct?
 
> But I have a hunch what might have happened here:
> 
> In recent months, we had a number of cases where the by-id device name of
> disks were not as stable as they should be; and I see two disks of the same
> make and model in your hardware list.
> 
> Sometimes, hardware makers don't assign a unique serial number to every
> individual disk during manufacturing, and then it's a matter of coincidence
> which one of the disks the kernel discovers first, and that one gets a
> number 00001 appended, and the other one 00002 (or similar).
> 
> You can check this with
> 
>   ls -l /dev/disk/by-id | grep -v 'part'

Not the problem:

cosmic@peach:~> ls -l /dev/disk/by-id | grep -v 'part'
total 0
lrwxrwxrwx 1 root root  9 May 25 15:09 ata-WDC_WD2003FZEX-00SRLA0_WD-WCC6N24R1751 -> ../../sda
lrwxrwxrwx 1 root root  9 May 25 15:09 ata-WDC_WD2003FZEX-00SRLA0_WD-WCC6NLLRDU25 -> ../../sdb
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-0ATA_WDC_WD2003FZEX-0_WD-WCC6N24R1751 -> ../../sda
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-0ATA_WDC_WD2003FZEX-0_WD-WCC6NLLRDU25 -> ../../sdb
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-1ATA_WDC_WD2003FZEX-00SRLA0_WD-WCC6N24R1751 -> ../../sda
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-1ATA_WDC_WD2003FZEX-00SRLA0_WD-WCC6NLLRDU25 -> ../../sdb
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-350014ee26ae2b7aa -> ../../sdb
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-350014ee2c04cdd4e -> ../../sda
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-SATA_WDC_WD2003FZEX-0_WD-WCC6N24R1751 -> ../../sda
lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-SATA_WDC_WD2003FZEX-0_WD-WCC6NLLRDU25 -> ../../sdb
lrwxrwxrwx 1 root root  9 May 25 15:09 wwn-0x50014ee26ae2b7aa -> ../../sdb
lrwxrwxrwx 1 root root  9 May 25 15:09 wwn-0x50014ee2c04cdd4e -> ../../sda
Comment 12 Dexter Foster 2023-05-25 22:12:32 UTC
(In reply to Stefan Hundhammer from comment #6)
> Dexter, please notice that not formatting the ESP (EFI System Partition) is
> only an option if you are sure that there already is one with a valid
> filesystem. If there is nothing yet, it needs to be created first, i.e.
> formatted.

But of course! See section "STEPS TO REPRODUCE" step #1 in my original post.

The REAL issue is just what Lukas noted as important in comment #4 - the installation succeeds when the installer is allowed to format existing partitioned/formatted drives.

This is a LEAP 15.4 issue. As I mentioned in my original post, I first observed the problem almost a year ago. Since the problem did not go away I decided to file a bug report as, IMHO, this is an installer bug. LEAP 15.3 works as expected. In fact, SUSE all the way back to SUSE 10 (yup, been on SUSE that long) works as expected.
Comment 13 Dexter Foster 2023-05-25 22:24:53 UTC
(In reply to Josef Reidinger from comment #7)
> It should be already VFAT. But I am not sure if it is enough, as ESP
> requires specific entry in GPT. So it is possible that in this case GUID for
> partition in GPT is not set to C12A7328-F81F-11D2-BA4B-00A0C93EC93B but to
> something else. So here my wild guess ( without logs hard to say for sure )
> is that premade partitioning does not match EFI requirements.

GParted partitions/formats drives correctly. The drives are EFI conformant. The EFI partition is VFAT and labeled (flagged) correctly:

cosmic@peach:~> sudo parted -l /dev/sda
Model: ATA WDC WD2003FZEX-0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  2149MB  2147MB  fat32           ESP   boot, esp
 2      2149MB  70.9GB  68.7GB  ext4            OS
 3      70.9GB  140GB   68.7GB  ext4            VAR
 4      140GB   277GB   137GB   ext4            TMP
 5      277GB   827GB   550GB   ext4            HOME
 6      827GB   1923GB  1096GB  ext4            DATA
 7      1923GB  2000GB  77.3GB  linux-swap(v1)  SWAP  swap

The issue, as Lukas observed in Comment #4, is the incorrect behavior of the installer. The installer will install GRUB2 EFI, if and only if, the installer is allowed to format the hard drives even when the hard drives are correctly prepartitioned and preformatted.
Comment 14 Dexter Foster 2023-05-25 22:36:58 UTC
FWIW, this bug is easily reproduced. All that is required is a plaform with UEFI BIOS with CSM disabled. Install LEAP 15.4 from ISO as outlined in the section "STEP TO REPRODUCE" of my original post.

Use any partitioning/formatting tool to format a hard drive - the tool does not matter.

What I failed to mention in my first post is that the installer does install the selected software to the hard drive.

The installer screws up at the point of installing GRUB2 EFI to the ESP if the installer is NOT permitted to format already formatted partitions - that is the bug.

HTH
Comment 15 Lukas Ocilka 2023-05-26 06:47:44 UTC
(In reply to Dexter Foster from comment #13)
> The issue, as Lukas observed in Comment #4, is the incorrect behavior of the
> installer. The installer will install GRUB2 EFI, if and only if, the
> installer is allowed to format the hard drives even when the hard drives are
> correctly prepartitioned and preformatted.

The "installer" consists of many pieces. As this have failed in GRUB2, I'd rather ask our GRUB2 maintainer first. Michael, can you please take a look?
Comment 16 Dexter Foster 2023-05-26 07:34:56 UTC
(In reply to Dexter Foster from comment #11)
> (In reply to Stefan Hundhammer from comment #1)
> > Like with every YaST related bug report, please attach the resulting file of
> > the supplied "save_y2logs" script; see also
> > 
> > https://en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug,
> > _and_now_I_am_asked_to_"attach_y2logs"_(for_package_installation_also_"libzyp
> > p_logging")._What_does_that_mean,_and_how_do_I_do_that?
> 
> I will have to do a re-install to obtain yast logs. The system was
> successfully installed as I stated in the "WORKAROUND" section of my
> original post. It will be two or three days before I can do so.
> 
> As I have never had to obtain yast install logs I am a bit unclear how to
> obtain them. The link you referenced seems to apply to a system that can
> boot. However, as GRUB2 EFI is not installed the system cannot boot. The
> installer issues the two mentioned error dialogs then goes to the reboot
> system dialog. I assume that the installer is writing logs to RAM disk, so,
> are volatile (unless they are written to hard disk). It would seem that to
> obtain the logs I would have to cancel the reboot prompt then copy the log
> file from RAM disk - is this correct?
>  
> > But I have a hunch what might have happened here:
> > 
> > In recent months, we had a number of cases where the by-id device name of
> > disks were not as stable as they should be; and I see two disks of the same
> > make and model in your hardware list.
> > 
> > Sometimes, hardware makers don't assign a unique serial number to every
> > individual disk during manufacturing, and then it's a matter of coincidence
> > which one of the disks the kernel discovers first, and that one gets a
> > number 00001 appended, and the other one 00002 (or similar).
> > 
> > You can check this with
> > 
> >   ls -l /dev/disk/by-id | grep -v 'part'
> 
> Not the problem:
> 
> cosmic@peach:~> ls -l /dev/disk/by-id | grep -v 'part'
> total 0
> lrwxrwxrwx 1 root root  9 May 25 15:09
> ata-WDC_WD2003FZEX-00SRLA0_WD-WCC6N24R1751 -> ../../sda
> lrwxrwxrwx 1 root root  9 May 25 15:09
> ata-WDC_WD2003FZEX-00SRLA0_WD-WCC6NLLRDU25 -> ../../sdb
> lrwxrwxrwx 1 root root  9 May 25 15:09
> scsi-0ATA_WDC_WD2003FZEX-0_WD-WCC6N24R1751 -> ../../sda
> lrwxrwxrwx 1 root root  9 May 25 15:09
> scsi-0ATA_WDC_WD2003FZEX-0_WD-WCC6NLLRDU25 -> ../../sdb
> lrwxrwxrwx 1 root root  9 May 25 15:09
> scsi-1ATA_WDC_WD2003FZEX-00SRLA0_WD-WCC6N24R1751 -> ../../sda
> lrwxrwxrwx 1 root root  9 May 25 15:09
> scsi-1ATA_WDC_WD2003FZEX-00SRLA0_WD-WCC6NLLRDU25 -> ../../sdb
> lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-350014ee26ae2b7aa -> ../../sdb
> lrwxrwxrwx 1 root root  9 May 25 15:09 scsi-350014ee2c04cdd4e -> ../../sda
> lrwxrwxrwx 1 root root  9 May 25 15:09
> scsi-SATA_WDC_WD2003FZEX-0_WD-WCC6N24R1751 -> ../../sda
> lrwxrwxrwx 1 root root  9 May 25 15:09
> scsi-SATA_WDC_WD2003FZEX-0_WD-WCC6NLLRDU25 -> ../../sdb
> lrwxrwxrwx 1 root root  9 May 25 15:09 wwn-0x50014ee26ae2b7aa -> ../../sdb
> lrwxrwxrwx 1 root root  9 May 25 15:09 wwn-0x50014ee2c04cdd4e -> ../../sda

Okay, I figured out how to obtain the yast logs, forget I asked...
Comment 17 Dexter Foster 2023-05-26 07:39:27 UTC
Created attachment 867238 [details]
yast install logs
Comment 18 Dexter Foster 2023-05-26 07:57:13 UTC
Yast install logs at the failure point have been obtained and uploaded.

The empty prepartitioned/preformatted hard drive looks like this:

user@debian:~$ sudo fdisk -l /dev/sda
Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2003FZEX-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 99115135-5AD0-4907-A349-582FEF9F1CA3

Device          Start        End    Sectors  Size Type
/dev/sda1        2048    4196351    4194304    2G EFI System
/dev/sda2     4196352  138414079  134217728   64G Linux filesystem
/dev/sda3   138414080  272631807  134217728   64G Linux filesystem
/dev/sda4   272631808  541067263  268435456  128G Linux filesystem
/dev/sda5   541067264 1614809087 1073741824  512G Linux filesystem
/dev/sda6  1614809088 3756029951 2141220864 1021G Linux filesystem
/dev/sda7  3756029952 3907024895  150994944   72G Linux swap

user@debian:~$ sudo parted -l /dev/sda
Model: ATA WDC WD2003FZEX-0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  2149MB  2147MB  fat32           ESP   boot, esp
 2      2149MB  70.9GB  68.7GB  ext4            OS
 3      70.9GB  140GB   68.7GB  ext4            VAR
 4      140GB   277GB   137GB   ext4            TMP
 5      277GB   827GB   550GB   ext4            HOME
 6      827GB   1923GB  1096GB  ext4            DATA
 7      1923GB  2000GB  77.3GB  linux-swap(v1)  SWAP  swap

All software (OS and apps) are properly installed on the hard drive.

New info (because I did not look before) is that the ESP partition is empty, i.e., nothing was installed. The ESP partition filesystem (VFAT) is intact and the GUID is correct. The ESP partition is unalted.
Comment 19 Michael Chang 2023-06-27 04:57:34 UTC
(In reply to Dexter Foster from comment #14)
> FWIW, this bug is easily reproduced. All that is required is a plaform with
> UEFI BIOS with CSM disabled. Install LEAP 15.4 from ISO as outlined in the
> section "STEP TO REPRODUCE" of my original post.
> 
> Use any partitioning/formatting tool to format a hard drive - the tool does
> not matter.

Did you perform the pre-format to the disk from a Leap 15.4 system or from a more recent release like Tumbleweed ? IMHO the file-system formatting tool does matter since new features may be added that will necessitate grub to patch it's own file-system drivers if that change turns out to be backward incompatible.

Example:
https://savannah.gnu.org/bugs/?61606