Code: Select all
sudo grub-install --force-extra-removable --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=MX23 --recheck
[sudo] password for Katie:
Installing for x86_64-efi platform.
Installation finished. No error reported.
Code: Select all
$ efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0003,0001,0000,0004
Boot0000* Windows Boot Manager HD(1,GPT,ee6665b6-7874-4cf2-9d78-4d034ddfba7a,0x100,0x10400)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* MX Linux HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX\grubx64.efi)
Boot0003* MX23 HD(1,GPT,a561ef3e-0f47-42bb-acbf-5eb81e76b0e8,0x100,0x10000)/File(\EFI\MX23\grubx64.efi)
Boot0004* USB Drive (UEFI) - USB PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/HD(2,MBR,0x9104a1d9,0x1d1a6800,0x18800)..BO
Code: Select all
$ find /boot/efi -ls
1 4 drwxrwxr-x 3 root root 4096 Dec 31 1969 /boot/efi
113 4 drwxrwxr-x 4 root root 4096 Aug 15 13:52 /boot/efi/EFI
114 4 drwxrwxr-x 2 root root 4096 Aug 15 13:52 /boot/efi/EFI/MX23
115 136 -rw-rw-r-- 1 root root 139264 Aug 15 13:52 /boot/efi/EFI/MX23/grubx64.efi
116 4 drwxrwxr-x 2 root root 4096 Aug 15 13:52 /boot/efi/EFI/BOOT
117 136 -rw-rw-r-- 1 root root 139264 Aug 15 13:52 /boot/efi/EFI/BOOT/BOOTX64.EFI
Code: Select all
$ sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/mx_linux/theme.txt
Found linux image: /boot/vmlinuz-6.1.0-10-amd64
Found initrd image: /boot/initrd.img-6.1.0-10-amd64
Found mtest-64.efi image: /boot/uefi-mt/mtest-64.efi
Adding boot menu entry for EFI firmware configuration
done