[Bug 869716] New: Installer messed up on UEFI

https://bugzilla.novell.com/show_bug.cgi?id=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c0 Summary: Installer messed up on UEFI Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: nrickert@ameritech.net QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=583212) --> (http://bugzilla.novell.com/attachment.cgi?id=583212) Compressed tarball of YaST2 logs User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Background: This is a new box (Lenovo TS140 Think Server). It came with no installed operating system (and actually, no hard drives - I had to add those). This was a clean install of 13.1 on a new system. Preliminary work -- before the install: I set the BIOS to use UEFI mode, with fallback to legacy (secure-boot disabled). I partitioned the disk as I wanted it, including an EFI partition of 500M, formatted to FAT32. I did that mostly while booted to live media. I also created an encrypted LVM where I plannned to install the system, and a separate "/boot" (unencrypted) First problem: The proposed partition offered by the installer did not include anything mounted as "/boot/efi". I proceeded, in expert partitioning mode, to setup the partitions as desired. Second problem: Yast complained that the boot partition was < 12M and too small. I think it was looking at the EFI partition on the USB from which I was installing (I had the DVD image on that USB). I told it to ignore the error. Third problem: Yast then complained that there was no FAT partition mounted as "/boot/efi". The complaint was false -- I had set that up properly. I again told it to ignore the error. Thereafter, the install went smoothly and everything worked. This bug is about those bogus error messages and the bad initially proposed partitioning. I'll add Yast logs shortly. Note that the first time this happened, I aborted the install. I then formatted the EFI partition as FAT (I had not done that previously). On the second try, the same thing happened even though the EFI partition was already formatted as FAT. This time I let it go through to see if the install worked (which it did). I'm guessing that this is because Windows was not already installed. However the installer should not trip up on that. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. I've set the severity to "Major". Feel free to change. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c1 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@suse.com AssignedTo|yast2-maintainers@suse.de |aschnell@suse.com --- Comment #1 from Josef Reidinger <jreidinger@suse.com> 2014-03-24 09:02:17 UTC --- arvin - can you please check it? Bootloader message is generated also from target map which storage return -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c2 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |aschnell@suse.com InfoProvider| |nrickert@ameritech.net --- Comment #2 from Arvin Schnell <aschnell@suse.com> 2014-03-24 21:03:20 UTC --- The first issue I cannot verify from the logs. The proposal has: Create boot volume /dev/sdb2 (156.88 MB) with vfat Since this is an EFI system that means the mount point is /boot/efi, also visible in the logs: get_inst_prop ... $["create":true, "device":"/dev/sdb2", "format":true, "fs_options":$[], "fsid":259, "fstopt":"umask=0002,utf8=true", "fstype":"EFI boot", "inactive":true, "mount":"/boot/efi", "nr":2, "region":[1, 20], "size_k":160650, "type":`primary, "used_fs":`vfat] For the other two issue please give the exact message so that I can identify them in the code. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c3 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nrickert@ameritech.net | --- Comment #3 from Neil Rickert <nrickert@ameritech.net> 2014-03-24 22:44:31 UTC --- Thanks for checking. I guess I missed that "/dev/sdb2". I was looking for it to use "/dev/sda2", which I had created and formatted to use as an EFI partition. I looked through the logs. I could not find the other messages. Maybe they weren't logged. In any case, repeating this would require that I reformat everything on the disk back to empty file systems. It's not worth the effort. You can close this bug report if you wish. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c4 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Arvin Schnell <aschnell@suse.com> 2014-03-25 07:41:21 UTC --- OK, closing. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c5 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #5 from Neil Rickert <nrickert@ameritech.net> 2014-05-29 22:59:44 UTC --- I'm reopening this. I just did an install of "openSUSE-FTT-DVD-x86_64-Snapshot20140528-Media.iso". On completing the partitioning section, there was a popup with this message: "Warning: With your current setup, your openSUSE installation will encounter problems when booting, because you have no FAT partition mounted on "/boot/efi". That was the first paragraph of the message (I hand-wrote it). I told it to ignore the problem and continue. I'll note that I did have "/dev/sda2" mounted as "/boot/efi" (in the partitioning setup). It is formatted as FAT and flagged as an EFI partition. The message was clearly wrong. The install completed without problems. The system boots successfully. It boots into emergency mode, but that's due to an entirely different problem (I'll report that as a separate bug). -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c6 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Installation |Installation Version|Final |13.2 Milestone 0 AssignedTo|aschnell@suse.com |yast2-maintainers@suse.de Product|openSUSE 13.1 |openSUSE Factory Target Milestone|--- |13.2 Milestone 1 --- Comment #6 from Neil Rickert <nrickert@ameritech.net> 2014-05-29 23:07:30 UTC --- Changing from 13.1 to Factory. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c7 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |nrickert@ameritech.net AssignedTo|yast2-maintainers@suse.de |aschnell@suse.com --- Comment #7 from Josef Reidinger <jreidinger@suse.com> 2014-05-30 06:22:12 UTC --- Then please attach fresh logs so we can check what is going wrong. 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.

https://bugzilla.novell.com/show_bug.cgi?id=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c8 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|nrickert@ameritech.net | --- Comment #8 from Neil Rickert <nrickert@ameritech.net> 2014-05-30 15:33:04 UTC --- Created an attachment (id=592832) --> (http://bugzilla.novell.com/attachment.cgi?id=592832) compressed tarball of YaST2 logs, from May 29. Here are the logs. Sorry, I did not have time to get to them yesterday. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c9 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #9 from Arvin Schnell <aschnell@suse.com> 2014-06-02 10:12:03 UTC --- So now this bug report is only about a wrong warning popop. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c10 --- Comment #10 from Neil Rickert <nrickert@ameritech.net> 2014-06-02 14:56:50 UTC ---
So now this bug report is only about a wrong warning popop.
Yes, correct. I did not see the other problems with the 20140528 snapshot. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c11 --- Comment #11 from Arvin Schnell <aschnell@suse.com> 2014-06-03 13:15:19 UTC --- The problem here is that sda has a bios-grub partition (which is AFAIK not needed on EFI machines). Anyway, that partition leads to partition sanity check to the wrong popup. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c12 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #12 from Arvin Schnell <aschnell@suse.com> 2014-06-03 13:27:00 UTC --- Fixed in YaST master repository. Should be in factory soon. -- 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=869716 https://bugzilla.novell.com/show_bug.cgi?id=869716#c13 --- Comment #13 from Neil Rickert <nrickert@ameritech.net> 2014-06-03 14:33:09 UTC ---
The problem here is that sda has a bios-grub partition (which is AFAIK not needed on EFI machines).
Interesting. Thanks. You are right, that this is not normally needed on an EFI machine. However, I'm using this as a test machine, and I want to be able to install non-EFI systems (such as 32bit systems) for testing. That's why I created that grub partition. Thanks for fixing. -- 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