On EFI system partition, Linux Mint uses /EFI/ubuntu directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
New
|
Undecided
|
Unassigned |
Bug Description
I have installed Linux Mint 18 64bit on a separate partition of an UEFI laptop with Ubuntu. As a result, the option "ubuntu" in the laptop's UEFI boot selection menu started loading Mint's GRUB. There were apparently no way to load Ubuntu anymore. I inspected the ESP (EFI system partition), and there was /EFI/ubuntu folder whose contents had been apparently overwritten by Linux Mint.
IMO this is a bug. For now i am trying to fix this manually by renaming /EFI/ubuntu (which contains Mint's boot stabs now) to /EFI/somethingelse and reinstalling Ubuntu.
What would you recommend as a name for ESP directory for Mint's stubs? /EFI/mint? /EFI/linuxmint?
(By the way, i tried to use /EFI/linux-mint and it didn't work, but /EFI/mint worked. Looks like there is some restriction on file name format.)
It turns out that neither renaming `/EFI/ubuntu` created by Linux Mint to something else, nor running `grub-install` with `--bootloader-id` option would allow to have both Linux Mint and Ubuntu GRUB EFI executables on the ESP, here is a related bug:
"grub-install with --bootloader-id option creates unusable boot configuration with secure boot" /bugs.launchpad .net/ubuntu/ +source/ grub2/+ bug/1450783
https:/