[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-install deleting long UEFI entries bug ?
From: |
Andrei Borzenkov |
Subject: |
Re: grub-install deleting long UEFI entries bug ? |
Date: |
Sun, 23 Apr 2017 07:36:14 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
23.04.2017 03:54, adrian15 пишет:
> grub-install seems to be deleting long UEFI entries
>
> (*) What the bug is
>
> * Add an UEFI entry with this label (Remove the single quotes):
> '(Rescapp added) \EFI\ubuntu\MokManager.efi'
>
> Example:
>
> efibootmgr -c \
> -d /dev/sda \
> -p 2 \
> -L '(Rescapp added) \EFI\ubuntu\MokManager.efi' \
> -l '\EFI\ubuntu\MokManager.efi'
>
> * Run grub-install /dev/sda or maybe just grub-install
>
> I expect the newly added uefi entry to be there.
> What I find is that the entry has been lost or deleted!
>
What is value of GRUB_DISTRIBUTOR in /etc/default/grub?
...
>
> Maybe grub-install uses efibootmgr as an auxiliar tool and the problem
> is in Ubuntu's efibootmgr?
>
Yes.
> It would be nice if someone could point us on where does grub-install
> handles the uefi boot entries so that we can take a deeper look into it.
>
grub-core/osdep/unix/platform.c