Bug 1058130

Summary: expert partitioner tool - won't let me put the disks the right way round without a (false) "GPT disk label" error message
Product: [openSUSE] openSUSE Distribution Reporter: Jedi Beeftrix <jedibeeftrix>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell, jedibeeftrix, jlopez
Version: Leap 42.3Flags: jlopez: needinfo? (jedibeeftrix)
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jedi Beeftrix 2017-09-11 15:16:21 UTC
I have a 128GB SSD for root/swap/efi, and a 500GB disk for home. 

Yast is trying to put everything on the 500GB disk, showing the 500GB drive first, with the SSD listed underneath....
No problem, that's why we have the expert partitioner!
So I delete partions, recreate them where they need to be, click accept and...

"Warning: With your current setup, your installation will encounter problems when booting, because the disk you have your /boot partition on does not contain a GPT disk label."

The message goes on to say something about being able to fix this in the expert partitioner, but doesn't say how and there is nothing i can see that looks like what its talking about. I ignored the warning (that if I proceeded with the install it would probably never boot properly) and installed anyway.

It completed the install. It did the first boot into the desktop. It restarted and got back to the desktop. It did a full online update, and got back to desktop from a restart. In short it seems fine.

Two problems:
1. It seems like a bug where the installer is reporting a problem that the installer has already corrected as a response to my rebuilding of the default partitions in the expert installer.
2. Although the error message states the problem can be fixed in the expert partitioner, it doesn't say where, and there is no indication that any of the available options might fix [this] problem.

Kind regards. Jbt
Comment 3 Arvin Schnell 2017-09-12 13:11:20 UTC
This seems to be the message:

  https://github.com/yast/yast-storage/blob/master/src/include/partitioning/custom_part_helptexts.rb#L172

It is displayed here:

  https://github.com/yast/yast-storage/blob/master/src/include/partitioning/custom_part_check_generated.rb#L500

In the beginning of supporting EFI it was assumed that EFI requires GPT. This
is in general not the case.

Otherwise in the expert partitioner in the overview dialog for a specific disk
behind the "Expert..." button there is an entry "Create New Partition Table".
Comment 4 José Iván López González 2017-09-13 08:11:54 UTC
According to Arvin's explanation, you could avoid the message by creating a new GPT partition table for the disk. To do that, you have use the button "Expert ..." in the disk view and then "Create New Partition Table".

Indeed the message could be improved, but Leap 42.3 will only receive critical updates. Moreover, next releases are coming with a totally new storage layer, so this kind of improvements probably will be fixed there.