Re: ThinkPad X220 does not wake up after suspend (since Saturday)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 3, 2016 at 4:59 AM, Martin Ueding <lists@xxxxxxxxxxxxxxxx> wrote:
> Am 23.03.2016 um 20:54 schrieb Chris Murphy:
>> What do you get for 'efibootmgr -v' and 'ls -l /sys/firmware/efi/efivars/'
>
> I attached the output. I am not sure how to read that, it looks like
> there is actual content.
>
>> I'd sooner think there's NVRAM corruption. It's so common Apple has
>> had a keyboard shortcut to blow away NVRAM contents for something like
>> 20+ years across every Mac hardware model they've made.
>
> That would also explain why I cannot save anything in the UEFI any more.
> Is this something fixable?

Yep it looks full of superfluous boot entries. There were some
combination of firmware and shim.efi that caused this problem.

You can delete Boot0019 through Boot0129. Use either 'efibootmgr -b
XXXX -B' or rm from efivars/ but I wouldn't try deleting 0000 through
0018. Basically don't delete anything you don't know exactly what it
does. But any boot entry that's pointing to shim.efi can be removed.

Next make sure you have a current shim.efi. I can't tell you if the
Fedora shim package overwrites EFI/BOOT/ so I would just remove
whatever is in there, and then 'dnf reinstall shim grub2-efi' and
that'll repopulate both EFI/BOOT/ and EFI/fedora/ with the right
things. While it shouldn't matter, you could top it all off with
'grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg' to get it back to a
stock state.

# sha256sum /boot/efi/EFI/BOOT/BOOTX64.EFI
475552c7476ad45e42344eee8b30d44c264d200ac2468428aa86fc8795fb6e34
/boot/efi/EFI/BOOT/BOOTX64.EFI

What you should have now at reboot is a one time fallback to
BOOT/BOOTX64.EFI which won't find a proper boot entry, and it'll
create one and one only. And you won't even notice that happen
probably. So reboot a few times and check 'efibootmgr -v' to see if
you start getting accumulating boot entries again or not.

And if you haven't done it already make certain the firmware is up to date.

-- 
Chris Murphy
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux