[Bug 1568050] Re: grub-install removes other EFI boot entries

2017-12-06 Thread Chad Miller
I agree this shouldn't be Wishlist. I mentioned one other thing that would be nice to have when fixing an enormous error, and that was a mistake. grub-install un-installs things. That's a big bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1568050] Re: grub-install removes other EFI boot entries

2017-12-06 Thread Valentijn Sessink
The bug is somewhat worse than in the original report: grub-install will remove anything that has "Ubuntu" (case INsensitive!) in it's name. In a test, both "RAID Ubuntu /dev/sdc", "Ubuntu /dev/sdc" were removed by grub-install. A label "RAID fallback /dev/sdc" would survive a call to grub-install.

[Bug 1568050] Re: grub-install removes other EFI boot entries

2016-07-25 Thread Chad Miller
cyphermox, as for your complaint about grubx64.efi, I don't understand it and I don't think I ever typed that anywhere, so it must have come from grub. My "grub-install" just passes through things like that in "$@". -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1568050] Re: grub-install removes other EFI boot entries

2016-07-25 Thread Chad Miller
> AIUI you can have the same label as many times as you want FWIW, my practical attempts say the same name can be used any number of times on some computers. I don't like the same name, though. I don't think every boot should be a mystery about which I'm picking. It's not like the EFI menu has an

[Bug 1568050] Re: grub-install removes other EFI boot entries

2016-07-25 Thread Mathieu Trudel-Lapierre
In theory this is fine, but in practice will need more work. For instance, in your examples grubx64.efi is being installed as the EFI binary to run -- this is wrong, since grubx64.efi is only signed by the Canonical keys, not by Microsoft keys, and so will fail to boot in a Secure Boot scenario.

[Bug 1568050] Re: grub-install removes other EFI boot entries

2016-04-08 Thread Chad Miller
My suggestion for a change is that the device id is used to construct a more complex bootloader id. $ sudo efibootmgr BootCurrent: Timeout: 5 seconds BootOrder: 0002,0001, Boot* ubuntu via WDC_WD20EFRX-68EUZN0_WD-WCC4M6HVCKR8 Boot0001* ubuntu via WDC_WD20EFRX-68EUZN0_WD-WCC4M6PP1ZJK B

[Bug 1568050] Re: grub-install removes other EFI boot entries

2016-04-08 Thread Chad Miller
I just wrote this to do what I want it to do. I suspect this is beyond most users. I don't think this should be part of the package, but I think what it does is a good idea. Include the device name and serial number in the EFI boot description. "ubuntu" was never enough anyway. ** Attachment adde

[Bug 1568050] Re: grub-install removes other EFI boot entries

2016-04-08 Thread Chad Miller
There is a "--bootloader-id=" argument to grub-install that lets you choose a different name and only remove other entries with that new name. So, if you're careful, you can choose unique names for each and get other entries. It's wrong and weird to remove anything by running "install" though. It