[Bug 780677] New: Installer creates invalid elilo.conf causing ELILO not to boot system
https://bugzilla.novell.com/show_bug.cgi?id=780677 https://bugzilla.novell.com/show_bug.cgi?id=780677#c0 Summary: Installer creates invalid elilo.conf causing ELILO not to boot system Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dexter.1234@hotmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 On a UEFI x86_64 platform, when doing an UEFI install and selecting ELILO as the boot loader, any global ELILO option that is not assigned a value during installation is written to elilo.conf as just the option string alone. This causes elilo.efi to hang when run due to a syntax error. ELILO requires options be written in the form "option = value". For example, if a value is not specified in the installer for the option "verbose" then the installer writes to elilo.conf: verbose This syntax error causes elilo.efi to hang leaving system unbootable. The installer should not write any global option for which no value has been entered. Reproducible: Always Steps to Reproduce: 1. Start installer in UEFI mode 2. Select ELILO as the bootloader 3. Allow installer to reboot system Actual Results: ELILO reports multiple syntax errors and waits for user intervention. ELILO cannot load kernel. Expected Results: ELILO should have run elilo.efi, in other words, the installer must not emit options to elilo.conf that are not in the form "option = value" to avoid syntax errors and ELILO hanging. When ELILO is selected as the boot loader during a UEFI mode install, the installer also installs the GRUB2 UEFI loader at EFI/opensuse/grub2.efi - but does not configure grub2 nor write and entry for grub2 in the UEFI BOOTXXX variables. The ELILO UEFI loader is installed at EFI/SuSE/elilo.efi. It has been a while since I have read the UEFI spec but I vaguely recall that a vendor should use only one directory in the ESP, so two directories violate the spirit of the spec. There is really no reason to have two different boot loaders installed on a non-development (end-user) machine anyway. Also, rEFit and rEFInd boot managers will find the erroneous GRUB2 UEFI loader. If the user selects the GRUB2 UEFI loader these boot managers will load it. Since GRUB2 was not configured, GRUB2 configuration is run. This issue was discovered because GRUB2 failed to install due to some errors during installation, don't remember what they were, but they occurred every time the system installer was run. Switch to ELILO because it is reliable. This bug is not friendly to a non-technical user. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780677 https://bugzilla.novell.com/show_bug.cgi?id=780677#c1 kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |kkzhang@suse.com InfoProvider| |dexter.1234@hotmail.com --- Comment #1 from kk zhang <kkzhang@suse.com> 2012-09-19 10:08:01 UTC --- Hi,could you please help to provide y2logs according to the following URl? http://en.opensuse.org/openSUSE:Bugreport_YaST -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780677 https://bugzilla.novell.com/show_bug.cgi?id=780677#c2 Jiaying ren <jren@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED CC| |jren@novell.com InfoProvider|dexter.1234@hotmail.com | Resolution| |NORESPONSE --- Comment #2 from Jiaying ren <jren@novell.com> 2012-11-01 02:56:32 UTC --- Long time no response.So closed. Feel free to reopen it.Thanks:) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com