Code: Select all
fabrizio@fabrizio-MacBook:~$ ls /etc/default/grub.d/
50_linuxmint.cfg init-select.cfg
Code: Select all
fabrizio@fabrizio-MacBook:~$ cat /etc/default/grub.d/50_linuxmint.cfg
#! /bin/sh
set -e
# Set distributor to "Ubuntu"
#
# In Mint 16:
# shim and grub come with hardcoded ubuntu strings upstream, without this EFI installation is broken
# https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417
#
# In Mint 17:
# Despite the bug report being marked as fixed, the situation is the same. Grub was patched by Ubuntu
# to assign the "ubuntu" distributor ID when it was given "Kubuntu". That results in Kubuntu finally
# getting EFI to work out of the box but still using "ubuntu" as far as grub-install is concerned.
# So we'll stick to "Ubuntu" for this iteration.
#
# In Mint 18:
# Some packages are still hardcoded with the "ubuntu" path.. fwupdate for instance.
# Visually, the grub boot menuentry name is set for derivatives in 10_linux,
# but underneath the EFI path remains "ubuntu" for everything to work properly.
GRUB_DISTRIBUTOR="Ubuntu"
fabrizio@fabrizio-MacBook:~$ efibootmgr -v
BootCurrent: 0000
BootOrder: 0000,0080
Boot0000* ubuntu HD(1,GPT,afa56c73-45d3-48dc-9f15-3fb289a29c70,0x28,0x64000)/File(\EFI\ubuntu\shimx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,728367b7-5172-4531-98ba-22cadfe2fe13,0x64028,0x1bca6688)/VenMedia(be74fcf7-0b7c-49f3-9147-01f4042e6842,cc80b52db69bd34799a67651b093c8af)/File(\5C9ABAAD-2D52-34D5-81BF-502CAC020B4A\System\Library\CoreServices\boot.efi)
Boot0081* Mac OS X PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,728367b7-5172-4531-98ba-22cadfe2fe13,0x64028,0x37ca9740)
Boot0082* PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(2,GPT,728367b7-5172-4531-98ba-22cadfe2fe13,0x64028,0x1bca6688)/VenMedia(be74fcf7-0b7c-49f3-9147-01f4042e6842,cc80b52db69bd34799a67651b093c8af)/File(\5C9ABAAD-2D52-34D5-81BF-502CAC020B4A\System\Library\CoreServices\boot.efi)
BootFFFF* PciRoot(0x0)/Pci(0xb,0x0)/Sata(0,0,0)/HD(1,GPT,afa56c73-45d3-48dc-9f15-3fb289a29c70,0x28,0x64000)/File(\EFI\BOOT\BOOTX64.efi)
fabrizio@fabrizio-MacBook:~$