[Bug 822770] New: Install of grub2-efi failed
https://bugzilla.novell.com/show_bug.cgi?id=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c0 Summary: Install of grub2-efi failed Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 0 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: nrickert@ameritech.net QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 During the initial install, an error window popped up during boot install. It indicated a failure of "mkinitrd". However, "initrd" appears to have been correctly built. I believe it to be a grub2-efi install failure. I managed to get into the system (booting with the grub menu from a 12.3 system). I attempted to reinstall grub2-efi again. There was a similar popup window indicating a grub2-efi install failure. I tried several times, each with the same result. The initial install problem might be related to Bug 812266 comment 6. At least some of my attempts were after fixing that problem, disabling secure boot, and making sure that there would be no nvram conflicts. I'll note that all of the relevant files were installed in "/boot/efi/EFI/opensuse_alt". The NVRAM entry was not installed (probably the cause of the error), and "/boot/grub2/grub.cfg" was not built. I ran "grub2-mkconfig" to correct that latter problem. Shortly after the failure (before booting into the system), I booted the install DVD in rescue mode. I attempted to force-add an NVRAM entry with "efibootmgr -c". There was no error message, but "efibootmgr -v" done immediately afterward showed that no entry had been added. I'm not sure whether that is related. I was able to force-add an entry by booting the 12.3 rescue live CD, and using "efibootmgr -c" from there. Here are a few lines extracted from "y2log": 2013-06-01 17:49:26 <1> nwr8.cs.niu.edu(2407) [pbl] yast-0930.1 Core::UpdateBoot loader.1603: rename /etc/default/grub.new -> /etc/default/grub 2013-06-01 17:49:26 <1> nwr8.cs.niu.edu(2407) [pbl] yast-0930.1 Core::RunCommand .1641: run /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg
/var/log/Y aST2/y2log_bootloader 2>&1 - ret 256 + output: 2013-06-01 17:49:26 <3> nwr8.cs.niu.edu(2407) [pbl] yast-0930.1 Core::RunCommand.1642: Error: Command '/usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg >/var/log/YaST2/y2log_bootloader 2>&1' failed with code 256 and output: 2013-06-01 17:49:26 <1> nwr8.cs.niu.edu(2407) [YCP] bootloader/routines/lib_iface.ycp:281 return value from updateBootloader: false
Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c1 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |arvidjaar@gmail.com InfoProvider| |nrickert@ameritech.net --- Comment #1 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-01 22:30:20 UTC --- Please attach full save_y2logs from installed system. Due to package installation order initrd is rebuilt multiple times before grub2 is actually installed, so there are multiple initrd failures during installation. I do not know how to really fix it. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c2 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nrickert@ameritech.net | --- Comment #2 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 06:07:03 UTC --- Created an attachment (id=542195) --> (http://bugzilla.novell.com/attachment.cgi?id=542195) result of save_y2logs ('.tgz' format) -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c3 --- Comment #3 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 06:26:48 UTC --- comment 1: "initrd is rebuilt multiple times" The first error popup that I saw was during the grub2-efi install near the end of installation. There was also a question as to whether to retry. I did not retry. I had guessed (wrongly) that this was the same problem as Bug 820542 and retry wouldn't work. Fortunately, the install proceeded after the failed boot install, and I merely had to work out an alternative way to boot the system. IMO, "mkinitrd" should never try to reinstall grub. Whether to reinstall should be a separate decision. An unnecessary reinstall of grub can cause problems, which a simple "grub2-mkconfig" does not cause. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c4 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nrickert@ameritech.net --- Comment #4 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-02 10:21:03 UTC --- I performed test installation using x86_64 DVD on MacBook (Pro?) 3.1 using direct EFI boot from CD, selecting minimal text installation. I enabled Secure Boot in bootloader properties. Installation went OK, it installed bootloader including shim and created EFI boot entries (both opensuse and opensuse-secureboot). To my surprise they even worked (judged by message during boot, shim was indeed loaded - you can be sure with Apple :) ) I also tried to set alternate Distributor, but it was ignored. May be I made mistake. In your logs the only failure is with shim installation. What makes it quite puzzling, grub2-install itself works. 2013-06-01 17:41:33 <1> pbl-5222.2 Core::RunCommand.1641: run /usr/sbin/grub2-install --target=x86_64-efi >/var/log/YaST2/y2log_bootloader 2>&1 - ret 0 + output: Installation finished. No error reported. 2013-06-01 17:41:33 <1> pbl-5222.2 Core::RunCommand.1641: run /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg
/var/log/YaST2/y2log_bootloader 2>&1 - ret 256 + output:
Could you test whether shim-install called manually works? -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c5 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nrickert@ameritech.net | --- Comment #5 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 12:05:51 UTC --- Created an attachment (id=542196) --> (http://bugzilla.novell.com/attachment.cgi?id=542196) Transcript of shim installation, etc. Manually installing the shim actually worked. I have attached a transcript. I'm not sure why it failed during the install. I seem to recall that efibootmgr showed entries numbered up through 9 at one stage, so perhaps some limit was hit. Looking in that script I see a section "# Delete old entries from the same distributor." I was mistakenly blaming the firmware for that. With the failure of my attempt to change the distributor, that deleted the entry for my working 12.3 install on the same computer. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c6 --- Comment #6 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 12:26:13 UTC --- I take that back. The shim-install did not work. It silently failed. If it had worked, there should have been an entry there for "opensuse_alt-secureboot" and there isn't. The new entry should have been the first in the boot order, but entry 4 remained first in the boot order. I reran the shim-install with: bash -x /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg so that you can see what it is doing. This echoes my earlier experience. Manually adding an NVRAM entry with "efibootmgr -c" failed when I ran from a rescue-boot of the 13.1M1 install DVD, but later succeeded from the 12.3 live rescue system. It looks to me as if "efibootmgr" is broken. I don't know if that is a code bug or a kernel bug. I have Tumbleweed on my 12.3 install for that box, so I can manually run "efibootmgr -c" with either 3.7.10-1.11 kernel or 3.9.3-10 kernel if that would be useful. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c7 --- Comment #7 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 12:27:34 UTC --- Created an attachment (id=542197) --> (http://bugzilla.novell.com/attachment.cgi?id=542197) typescript of shim install run with "bash -x" -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c8 --- Comment #8 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 14:33:16 UTC --- I am rethinking this. Or, if you like, I have put 2 and 2 together, and come up with 4 (or is it 5). If you look at bug 820542, you will see a similar problem. Namely, grub.cfg was not properly updated because of an error that occurred while reinstalling grub. That happened at least twice. However, it was fine with the most recent Tumbleweed kernel update. My current guess is that there was a kernel bug in communicating with the UEFI firmware that caused the failure with 13.1 and with some Tumbleweed kernel updates. And the bug is fixed in the latest Tumbleweed kernel. Regrettably, I don't have those old kernels to retest, and I think they are gone from the Tumbleweed repo. I don't have them, because my 13.1 install reused the same partition. My suggestion - don't spent too much time looking at this. Perhaps a newer kernel version in 13.1M2 will already fix it. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c9 --- Comment #9 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 15:19:29 UTC --- I did a google search for: efibootmgr kernel 3.9 and that came up with many hits. Lots of folk seem to be running into this problem in a variety of distros. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c10 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nrickert@ameritech.net --- Comment #10 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-02 23:13:41 UTC --- (In reply to comment #6)
I take that back.
The shim-install did not work. It silently failed.
If it had worked, there should have been an entry there for "opensuse_alt-secureboot" and there isn't.
What is shim-install exit code in this case (echo $? immediately after running shim-install)? Could you manually run efibootmgr -c -d /dev/sda -p 1 -w -L opensuse_alt-secureboot -l '\EFI\opensuse_alt\shim.efi' echo $? Does it fail to add menu entry as well? If it fails - could you run strace -f -o /tmp/efibootmgr.log efibootmgr -c -d /dev/sda -p 1 -w -L opensuse_alt-secureboot -l '\EFI\opensuse_alt\shim.efi' and attach here /tmp/efibootmgr.log? I wonder if your firmware places restriction on modifying some of environment variables in secure boot mode ... you are running with secure boot enabled, right? -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c11 --- Comment #11 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 23:52:43 UTC --- Created an attachment (id=542219) --> (http://bugzilla.novell.com/attachment.cgi?id=542219) Transcript of requested commands -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c12 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nrickert@ameritech.net | --- Comment #12 from Neil Rickert <nrickert@ameritech.net> 2013-06-02 23:56:32 UTC --- Created an attachment (id=542221) --> (http://bugzilla.novell.com/attachment.cgi?id=542221) requested strace output As expected, the command fails. I then reran the same command on the same box, while running 12.3. And that worked just fine. If you want a transcript of that, I can attach. My install of 13.1M1 was done with secure-boot enabled. However, I disabled after that, and I think all of the transcript files were done with secure-boot disabled. Likewise, the strace was with secure-boot disabled. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c13 --- Comment #13 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 00:26:23 UTC --- (In reply to comment #12)
Created an attachment (id=542221) --> (http://bugzilla.novell.com/attachment.cgi?id=542221) [details] requested strace output
open("/sys/firmware/efi/vars/new_var", O_WRONLY) = 3 write(3, "B\0o\0o\0t\0000\0000\0000\0003\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2084) = -1 ENOSPC (No space left on device)
As expected, the command fails.
I then reran the same command on the same box, while running 12.3. And that worked just fine. If you want a transcript of that, I can attach.
If the same command works on the same system under different kernel version it becomes kernel issue and has to be reassigned to it. OTOH in installation logs we have seen that grub2-install apparently worked and immediately following shim-install failed. Both use the same efibootmgr with the only difference that grub2-install should point to \EFI\opensuse_alt\grubx64.efi. Does it fail too? I.e. efibootmgr -c -d /dev/sda -p 1 -w -L opensuse_alt-secureboot -l '\EFI\opensuse_alt\shim.efi' Also you somewhere else suggested that your firmware allows only one boot entry per hard disk. Could you remove existing boot entries on this ESP and retry? I'm not sure how many do you have, but at least Windows and openSUSE ones point to different partitions. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c14 --- Comment #14 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 00:27:34 UTC --- (In reply to comment #13)
Does it fail too? I.e.
efibootmgr -c -d /dev/sda -p 1 -w -L opensuse_alt-secureboot -l '\EFI\opensuse_alt\shim.efi'
\EFI\opensuse_alt\grubx64.efi' of course -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c15 --- Comment #15 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 01:08:09 UTC --- Related to https://bugzilla.novell.com/show_bug.cgi?id=815170 ? -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c16 --- Comment #16 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 01:11:36 UTC --- Also https://bugs.archlinux.org/task/34641#comment110020 has interesting observations: --><-- When I boot using EFI Stub, Efibootmgr silently fails, but when I boot using GRUB 2, it's work. Boots parameters are sames... --><-- I just tried this myself and same thing happens with me... EFISTUB not working, GRUB2 works --><-- In our case it translates to using linuxefi (which calls kernel EFI stub even if secure boot is disabled) vs. linux loader in grub.cfg. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c17 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nrickert@ameritech.net --- Comment #17 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 02:18:07 UTC --- OK, so it looks like this is caused by additional protection against NVRAM overflow added to Linux kernel. See extensive discussion also here: https://bugzilla.redhat.com/show_bug.cgi?id=947142 Could you check - you do not have dmesg dumps stored there. See http://mjg59.dreamwidth.org/23554.html and https://bugzilla.redhat.com/show_bug.cgi?id=947142#c27. If yes, you can try to remove them. You will need multiple reboots as far as I understand. - before you do it, could you please test updated efibootmgr that should better report OOM conditions: zypper add obs://home:/arvidjaar:branches:Base:System/openSUSE_Factory efibootmgr zypper refresh efibootmgr zypper update -r efibootmgr efibootmgr (do not use other packages there, I'm not sure in which state they are) Test the same efibootmgr commands as before - it should now report error it got from kernel/EFI. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c18 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsrain@suse.com AssignedTo|jsrain@suse.com |arvidjaar@gmail.com --- Comment #18 from Jiri Srain <jsrain@suse.com> 2013-06-03 02:34:34 UTC --- Andrey, since you started handling this bug, I'm reassigning it to you for now... -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c19 --- Comment #19 from Neil Rickert <nrickert@ameritech.net> 2013-06-03 07:28:53 UTC --- *** Reply to comment 14 The entry for grubx64.efi works ------- # efibootmgr -c -d /dev/sda -p 1 -w -L opensuse_alt-secureboot -l '\EFI\opensuse_alt\grubx64.efi' BootCurrent: 0004 Timeout: 0 seconds BootOrder: 0003,0004,0000,0001,0002 Boot0000* Windows Boot Manager Boot0001* P0: WDC WD10EZEX-75ZF5A0 Boot0002* P1: HL-DT-ST DVD+/-RW GHA2N Boot0004* opensuse-secureboot Boot0003* opensuse_alt-secureboot # echo $? 0 ------- Well, that's confusing, because the name "opensuse_alt-secureboot" was still used in the suggested command. But "efibootmgr -v" shows that the entry now refers to grubx64.efi *** Reply to comment 17 # mount -t pstore /sys/fs/pstore /sys/fs/pstore mount: /sys/fs/pstore is already mounted or /sys/fs/pstore busy # mount|grep pstore pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) ls -la /sys/fs/pstore total 0 drwxr-xr-x 2 root root 0 Jun 3 07:41 . drwxr-xr-x 7 root root 0 Jun 3 07:41 .. It looks as if pstore is already mounted, and empty. I also looked in "/sys/firmware/efi/efivars". There's nothing with "dump" in the name. I assume you still want me to try the updated efibootmgr. I post another comment when I get to that. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c20 --- Comment #20 from Neil Rickert <nrickert@ameritech.net> 2013-06-03 07:41:22 UTC --- I missed responding to comment 15:
Related to https://bugzilla.novell.com/show_bug.cgi?id=815170 ?
Yes, it is very likely to be related. I notice in 815170#c12 that shim.efi will be copied to /EFI/Boot/bootx64.efi I am not sure that works. After my failed install of 13.1M1, the BIOS boot menu included an item to boot my second hard drive, where I had manually done that copy. And that did not work. When shim.efi is copied there, how does it know where the rest of the files are? Or should the entire directory be copied? While I am off-topic, grub.cfg somewhere uses "set root='hd1,gpt4' to reference the second drive. My tests show that should be 'hd2,gpt4'. Apparently the BIOS device numbering puts the DVD before the second hard drive. (Not a big deal, since the uuid check overrides this). -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c21 --- Comment #21 from Neil Rickert <nrickert@ameritech.net> 2013-06-03 07:54:35 UTC --- Reply to comment 17
- before you do it, could you please test updated efibootmgr
I changed the "add" to "ar" (zypper did not like "add") However, when I try to refresh, it says that the URI is invalid. Can you recheck. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c22 --- Comment #22 from Neil Rickert <nrickert@ameritech.net> 2013-06-03 10:25:12 UTC --- I have not yet responded to this in comment 13 --- Also you somewhere else suggested that your firmware allows only one boot entry per hard disk. Could you remove existing boot entries on this ESP and retry? I'm not sure how many do you have, but at least Windows and openSUSE ones point to different partitions. --- At the time of the install, there was only one entry for that ESP (Windows). The firmware does not block new entries, as far as I can tell. It just cleans them out on the next boot. This blog post seems relevant to the problem: http://mjg59.dreamwidth.org/25091.html -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c23 --- Comment #23 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 12:16:52 UTC --- (In reply to comment #21)
However, when I try to refresh, it says that the URI is invalid. Can you recheck.
Sorry, my fault. zypper ar obs://home:arvidjaar:branches:Base:System/openSUSE_Factory efibootmgr -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c24 --- Comment #24 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-03 12:31:30 UTC --- (In reply to comment #20)
I am not sure that works. After my failed install of 13.1M1, the BIOS boot menu included an item to boot my second hard drive, where I had manually done that copy. And that did not work. When shim.efi is copied there, how does it know where the rest of the files are? Or should the entire directory be copied?
Yes. EFI provides interface to find out from where program was loaded. So all files related to shim must be in the same location. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c25 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nrickert@ameritech.net | --- Comment #25 from Neil Rickert <nrickert@ameritech.net> 2013-06-03 13:50:24 UTC --- Created an attachment (id=542383) --> (http://bugzilla.novell.com/attachment.cgi?id=542383) Transcript with modified "efibootmgr" This time the command worked. So I guess you won't get the extra info. I'm getting the impression that the problem is fragmentation in the NVRAM space causing incorrect estimates of space allowed (See that link I provided in a recent comment). I renamed my other install -- the one using /dev/sdb1 for ESP -- so that it is now called "tumbleweed-secureboot" instead of "opensuse-secureboot". That a preemptive action to prevent name conflicts when a future install fails to honor the Distributor definition. The effect of that, and other changes, may have reorganize NVRAM, reducing the fragmentation. You may also note that, after the install, I did: efibootmgr -o 3,0 That's because those (tumbleweed and Windows) are the two entries I want to keep. (If I don't keep Windows, then Windows will reinstall it and mess up my boot order). I followed that with efibootmgr -n 4 which makes entry 4 (the new opensuse_alt-secureboot) the next boot target. The effect on my BIOS is that it will not delete entry 4 (at least for now), since it will next boot from that. Otherwise it would have deleted it on the next boot. Those are there mostly to illustrate how my BIOS behaves in limiting to one boot entry per ESP. I guess this is better than what Will Honea is describing for HP, with it overfilling NVRAM. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c26 --- Comment #26 from Neil Rickert <nrickert@ameritech.net> 2013-06-03 14:02:55 UTC --- An addendum. My BIOS misbehaved. On reboot it delete boot entry 4, and booted to entry 3, ignoring that "-n". Okay, I remember. I have updated (reflashed) the BIOS since I had last tested that. I guess that behavior has changed. And thanks for responding about '/EFI/Boot'. I have now copied everything there, then renamed shim.efi to the default name. I can't test it, though. My BIOS normally doesn't show that boot entry, unless there is nothing else bootable on that disk. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c27 --- Comment #27 from Neil Rickert <nrickert@ameritech.net> 2013-06-16 11:30:17 UTC --- Update for 13.1M2. The problem seems solved. The install of grub2-efi was fine. This is most likely due to kernel changes in 3.10.0-rc4. I'll continue to monitor this with future milestone releases. -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c28 dale ritchey <mergan14846@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mergan14846@gmail.com --- Comment #28 from dale ritchey <mergan14846@gmail.com> 2013-06-20 08:29:19 UTC --- i got this error with secure boot Kernel image: /boot/vmlinuz-3.10.0-rc4-1-desktop Initrd image: /boot/initrd-3.10.0-rc4-1-desktop KMS drivers: i915 Root device: /dev/disk/by-id/scsi-TOSHIBA_External_USB_3.0_2011072510801-0:0-part1 (/dev/sdb1) (mounted on / as ext4) Kernel Modules: thermal_sys thermal processor fan scsi_dh scsi_dh_hp_sw scsi_dh_rdac scsi_dh_emc scsi_dh_alua video button i2c-algo-bit drm drm_kms_helper i915 usb-storage xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung libcrc32c xor zlib_deflate raid6_pq btrfs crc32c-intel Features: acpi kms plymouth block usb btrfs resume.userspace resume.kernel umount: /sys: umount failed: No such file or directory Perl-Bootloader: 2013-06-20 10:21:40 <3> pbl-6646.2 FileIO::ReadFile.85: Error: Failed to open /proc/misc: No such file or directory Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/vendor_perl/5.16.2/Bootloader/Tools.pm line 431. There was an error generating the initrd (2) -- 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=822770 https://bugzilla.novell.com/show_bug.cgi?id=822770#c29 --- Comment #29 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-06-20 10:07:49 UTC --- (In reply to comment #28)
i got this error with secure boot
umount: /sys: umount failed: No such file or directory Perl-Bootloader: 2013-06-20 10:21:40 <3> pbl-6646.2 FileIO::ReadFile.85: Error: Failed to open /proc/misc: No such file or directory Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/vendor_perl/5.16.2/Bootloader/Tools.pm line 431. There was an error generating the initrd (2)
That's entirely different problem. Please open separate bug report if it persists. -- 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