Bug 806490

Summary: live-installer does not put EFI: 1 in install.inf
Product: [openSUSE] openSUSE 12.3 Reporter: Thomas Fehr <fehr>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Thomas Fehr 2013-02-27 14:56:35 UTC
yast2-storage relies on the KEY "EFI" in /etc/install.inf to 
determine if the system has an EFI BIOS and therefore it 
needs to propose /boo/efi with vfat filesystem as boot partition.

YaST2 client live-installer.ycp does not provide this information.
Therefore installation from a live CD will not propose  a /boot/efi 
as boot partition. So the installed system cannot be booted if
it uses a EFI BIOS.

This is not a new problem, but since with secure boot lots of
system will use an EFI bios and for these installation from 
live CD will fail, it gets more urgent with 12.3.

Jiri, I assign this to you since you did last changes in changelog.
Please reassign properly.
Comment 1 Bernhard Wiedemann 2013-03-05 15:00:36 UTC
This is an autogenerated message for OBS integration:
This bug (806490) was mentioned in
https://build.opensuse.org/request/show/157380 Factory / libstorage
Comment 2 Jiri Srain 2013-03-07 11:55:08 UTC
The one who is (for normal installation) responsible for writing install.inf is not YaST, but Linuxrc. YaST only reads data from this file.

However, for the live installer use-case, install.inf does not exist at all and therefore you cannot rely in it (just brought the live installer up).

This means that we have basically two options:
- introduce something that will take care of writing install.inf for the live CD
- make partitioner (and possibly also bootloader) detect EFI a different way (Bootloader seems to check presence of /sys/firmware/efi directory)

Thomas, I'm sorry I cannot help more now...
Comment 3 Thomas Fehr 2013-03-07 12:01:46 UTC
libstorage was already changed to look at /sys/firmware/efi/vars to 
detect EFI.