[Bug 902982] New: UEFI not working properly with 13.2 RC or 13.1 live media, only runs into Grub Rescue Command Prompt
http://bugzilla.opensuse.org/show_bug.cgi?id=902982 Bug ID: 902982 Summary: UEFI not working properly with 13.2 RC or 13.1 live media, only runs into Grub Rescue Command Prompt Classification: openSUSE Product: openSUSE Distribution Version: 13.2 RC 1 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Major Priority: P5 - None Component: Bootloader Assignee: jsrain@suse.com Reporter: studiosofinkblot@gmail.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Hardware ======== Dell XPS 13 9333 (i5 Version) Brief Description ===== When attempting to boot into openSUSE live media in UEFI mode the media (even when properly formatted and so on) always redirects to the grub command prompt (ENTER GRUB COMMAND...) and doesn't show any signs of starting up. I tried booting into the 13.1 Live GNOME media in UEFI as well, but that didn't work either. However, when I try booting from the both mediums via Legacy boot mode, the startup works just fine. Note: I tried booting with UEFI in both Secure boot on and off options. However, distributions such as Ubuntu or Fedora work well either way. Expected Result =============== When booting in either UEFI boot mode the live media should start up with grub-efi and then boot up as usual. How reproducible: ================= 1: Plug in the live media via USB or insert the Live CD/DVD into a USB disk drive. (Either way does the same thing) 2: Start up the laptop, go to the boot menu, and select the USB device name or DVD device name. 3:Let the startup initialize, and see the GRUB Rescue command prompt pop up! (Thus Ruining all chances of enjoying the fun of openSUSE with the latest boot-up technology on the XPS 13!) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Jiri Srain
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Neil Rickert
From your description, my best guess would be that your problem has to do with how you prepared the USB. For example, it is well known that using "UNetbootin" to prepare a boot USB does not work well with opensuse.
I prepared my USB with a raw copy of the image over the USB device: dd_rescue openSUSE-13.2-KDE-Live-Build0019-x86_64.iso /dev/sdd The tricky part of UEFI is getting the boot process started. If you got as far as the grub2 command prompt, then you already got past that stage. This suggests to me that grub2-efi is running, but is failing on its search for the install media, which it searches for using UUID. (Just my two cents). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Michael Chang
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Aidan Collier
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Jiri Srain
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Andrei Borzenkov
But for the installer which looks up most of it's files and contents in iso9660 fs that become a problem as it's case sensitive.
As far as I know ISO9660 is case insensitive? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
--- Comment #9 from Michael Chang
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Stefan Quandt
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Andrei Borzenkov
Created attachment 636944 [details] Attempt to boot USB from tumbleweed-DVD-i586-Snapshot20150603
Are you sure you attached the right picture? It does not have anything related to booting at all.
Please note just the slash i inserted in the prefix path before 'EFI'.
Both strings you show are exactly the same. Both do not have leading slash.
I.e. in which situations booting SUSE live images is compromised (and since when)?
What do you mean "compromised"? Apparently information returned by firmware lacks leading slash. To debug it we would need output from test version of grub; you will need to either enroll additional key or disable secure boot to run it. If you are OK, I'll prepare version with additional debug output. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
--- Comment #14 from Andrei Borzenkov
Please note just the slash i inserted in the prefix path before 'EFI'.
Likely fixed by
commit 7e7293d745ef7c0a13d8cbf12f474843edfdd0ab
Author: Vladimir Serbinenko
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Stefan Quandt
Are you sure you attached the right picture? Oops, attachment 636944 was a completely wrong file :)
Both strings you show are exactly the same. Pardon, what I observe from the "set" command is prefix=(hd0,msdos1)EFI/BOOT It lacks the'/' before EFI as in original attachment 612574.
And of course for booting properly i use prefix=(hd0,msdos1)/EFI/Boot normal
Apparently information returned by firmware lacks leading slash. Ah, did not know that "EFI/BOOT" comes from the firmware.
I don't know if the Dell XPS 13 9333 has the same UEFI firmware as my Asus UX501, but its the same bug. The BIOS/UEFI utility of my UX501 is Aptio Setup Utility 2.15.1236 from American Megatrends. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
--- Comment #16 from Stefan Quandt
Are you sure you attached the right picture? Oops, attachment 636944 was a completely wrong file :)
Both strings you show are exactly the same. Pardon, just a typo. What I observe from the "set" command is prefix=(hd0,msdos1)EFI/BOOT It lacks the'/' before EFI as in original attachment 612574.
And of course for booting properly i use prefix=(hd0,msdos1)/EFI/Boot normal
Apparently information returned by firmware lacks leading slash. Ah, did not know that "EFI/BOOT" comes from the firmware.
I don't know if the Dell XPS 13 9333 has the same UEFI firmware as my Asus UX501, but its the same bug. The BIOS/UEFI utility of my UX501 is Aptio Setup Utility 2.15.1236 from American Megatrends. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
--- Comment #17 from Neil Rickert
Attempt to boot USB from tumbleweed-DVD-i586-Snapshot20150603 (responding to c12)
I am not able to make sense of this. Firstly, you are using the 32-bit installer ("i586"). As far as I know, there is no support for UEFI with that. You will need the x86_64 installer. Secondly, as far as I know, the 32-bit installer boots with "syslinux". So the grub prompt that you are getting is probably coming from somewhere else and not from the DVD installer. Thirdly, your attachment has some nice scenery, but does not appear to be related to the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
--- Comment #18 from Andrei Borzenkov
Created attachment 636946 [details] Attempt to boot USB from tumbleweed-DVD-i586-Snapshot20150603
OK so it confirms 64 bit EFI boot. Would you test grub version with proposed fix? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982 Stefan Quandtchanged: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(studiosofinkblot@ | |gmail.com), | |needinfo?(squan@web.de) | --- Comment #25 from Stefan Quandt --- (In reply to Andrei Borzenkov from comment #20) > Created attachment 637068 [details] > Fixed GRUB2 EFI x86_64 unsigned > > (In reply to Stefan Quandt from comment #19) > Attached is grub.efi built with patch. Please do the following > > 1. Disable secure boot. Verify that you still see the problem with secure > boot disable. With secure boot disabled 1) the problem occurs using an image of the openSUSE-13.2 KDE live CD (current release) and 2) the problem does not occur with a recent KDE live CD image from http://download.opensuse.org/tumbleweed/iso/ I.e. the latter boots fine into KDE, but in KDE i could not run the yast live installer because it always crashes immediately after start (and for that reason i could only succeed with installation by using the released 13.2 CD image (with the workaround of setting prefix as described in comment #12 (and comment #6))). > 2. Download attached grub.efi > 3. Mount first partition of your USB media; it contains ESP > 4. Copy modified grub.efi to /EFI/BOOT on first partition. After modifying the USB stick as described it properly boots into KDE (problem resolved). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Andrei Borzenkov
1) the problem occurs using an image of the openSUSE-13.2 KDE live CD (current release) and
Could you please attach screenshot of failed boot?
2) the problem does not occur with a recent KDE live CD image from http://download.opensuse.org/tumbleweed/iso/
As far as I know Live images do not even support EFI boot and your original report was for full DVD, not for Live.
I.e. the latter boots fine into KDE, but in KDE i could not run the yast
How is it related to GRUB inability to find its configuration?
After modifying the USB stick as described it properly boots into KDE (problem resolved).
Sorry, I am not convinced these tests actually tested the problem. You should have used the same image as in comment 16 to be sure we test the same problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Michael Chang
Maybe I should add an important note regarding EFI:
The program genisoimage is in a state where mkisofs has been in May 2004, mkisofs since then has evolved a lot.
Genisoimage does not support EFI boots, but mkisofs added support for EFI via the -eltorito-platform option. Check the man page and use -eltorito-platform efi
Also check the new option -modification-date that has been added on request of Oracle in order to allow to have UUIDs in the image.
Thanks for providing info, I added Steffen and Marcus who could be interested on the information here.
Regarding the bugs in genisoimage: there are many.... genisoimage typically creates images with structural problems that do not follow the standard. These problems have been fixed in mkisofs in Autumn 2006, allowing to make backup copies of whole directories trees of bootable disks using all correct meta data in Rock Ridge.
I don't follow any cdrkit changes and don't know what happened to it, but googling it did reveal they are not as actively maintained as cdrtools and are more problematic. We should take it into account. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
--- Comment #29 from Stefan Quandt
(In reply to Stefan Quandt from comment #25)
1) the problem occurs using an image of the openSUSE-13.2 KDE live CD (current release) and
Could you please attach screenshot of failed boot? I did not state this clear enough in comment 19, but the screenshot attachment 636945 is in fact from booting the openSUSE KDE live CD (from USB).
2) the problem does not occur with a recent KDE live CD image from http://download.opensuse.org/tumbleweed/iso/
As far as I know Live images do not even support EFI boot and your original report was for full DVD, not for Live. The tumbleweed-DVD-i586-Snapshot20150603 was one of the images i downloaded, but of coure it is not for x86-64 and therefor did not boot at all.
After modifying the USB stick as described it properly boots into KDE (problem resolved).
Sorry, I am not convinced these tests actually tested the problem. You should have used the same image as in comment 16 to be sure we test the same problem. In fact i did use the same image. As said it fails to boot without adjusting the '/' in the prefix path. And after applying the patch attachment 637068 to /EFI/BOOT/grub.efi (see instructions in comment 20) it boots into KDE without intervention.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Andrei Borzenkov
As said it fails to boot without adjusting the '/' in the prefix path. And after applying the patch attachment 637068 [details] to /EFI/BOOT/grub.efi (see instructions in comment 20) it boots into KDE without intervention.
OK, SR#311701. Thank you for testing! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902982
Michael Chang
participants (1)
-
bugzilla_noreply@novell.com