UEFI BIOS + Linux

captain-sensible

Well-Known Member
Credits
3,455
Well, it is just an abstract:

Code:
$ sudo efibootmgr
[sudo] password for flavio:
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0003,0004,0007,0006,0001,0002,0008,0005,0009,000A,000B,000C
Boot0000* opensuse-secureboot
Boot0001* debian
Boot0002* Fedora
Boot0003* opensuse
Boot0004* mageia
Boot0005* arch_grub
Boot0006* ubuntu
Boot0007* MX19
Boot0008* neon
Boot0009* debian
Boot000A* UEFI:CD/DVD Drive
Boot000B* UEFI:Removable Device
Boot000C* UEFI:Network Device
If you want to see the real content of an ESP partition ─ let's say /dev/sda1 ─ run a live session, mount it at /mnt, and you will understand why can I tell you my real content:

Code:
$ mount /dev/sda1 /mnt
View attachment 7012

View attachment 7013

Then, open a filemanager, go to /mnt and browse all folders and subfolders within it.

It is exactly the same content you can see from inside an installed distro, at its /boot/efi mountpoint.

These images (above) are from January, 16, when I had installed just PCLinuxOS, openSUSE, Fedora and KDE Neon.

I have saved another summary March, 7, with a different parameter, for compare:

Code:
2020-01-16 ---------- from Live KDE Neon                     2020-03-07 ---------- from installed PCLinuxOS

# ls -o -R /mnt                                              # ls -n -R /boot/EFI
/mnt:                                                        /boot/EFI:
total 12                                                     total 12
drwxr-xr-x 8 root 4096 Oct 23 18:02 EFI                      drwxr-xr-x 8 0 0 4096 Oct 23 18:02 EFI/
drwxr-xr-x 3 root 4096 Oct 23 18:05 System                   -rwxr-xr-x 1 0 0   34 Jul 25  2019 mach_kernel*
-rwxr-xr-x 1 root   34 Jul 25 20:04 mach_kernel              drwxr-xr-x 3 0 0 4096 Oct 23 18:05 System/

/mnt/EFI:                                                    /boot/EFI/EFI:
total 24                                                     total 24
drwxr-xr-x 2 root 4096 Oct 23 18:05 boot                     drwxr-xr-x 2 0 0 4096 Oct 23 18:05 boot/
drwxr-xr-x 3 root 4096 Jan 14 18:06 fedora                   drwxr-xr-x 3 0 0 4096 Mar  5 11:34 fedora/
drwxr-xr-x 2 root 4096 Jan 12 16:43 neon                     drwxr-xr-x 2 0 0 4096 Jan 12 16:43 neon/
drwxr-xr-x 3 root 4096 Jan 13 01:39 opensuse                 drwxr-xr-x 3 0 0 4096 Jan 13 01:39 opensuse/
drwxr-xr-x 2 root 4096 Jan 10 20:22 pclinuxos                drwxr-xr-x 2 0 0 4096 Jan 10 20:22 pclinuxos/
drwxr-xr-x 3 root 4096 Jan 12 16:43 ubuntu                   drwxr-xr-x 2 0 0 4096 Feb 19 00:26 ubuntu/

/mnt/EFI/boot:                                               /boot/EFI/EFI/boot:
total 3096                                                   total 3096
-rwxr-xr-x 1 root  975536 Oct  2  2018 BOOTIA32.EFI          -rwxr-xr-x 1 0 0  975536 Oct  2  2018 BOOTIA32.EFI*
-rwxr-xr-x 1 root 1210776 Oct  2  2018 bootx64.efi           -rwxr-xr-x 1 0 0 1210776 Oct  2  2018 bootx64.efi*
-rwxr-xr-x 1 root  358768 Jan 11 17:09 fallback.efi          -rwxr-xr-x 1 0 0  358768 Jan 11 17:09 fallback.efi*
-rwxr-xr-x 1 root  257472 Oct  2  2018 fbia32.efi            -rwxr-xr-x 1 0 0  257472 Oct  2  2018 fbia32.efi*
-rwxr-xr-x 1 root  357248 Oct  2  2018 fbx64.efi             -rwxr-xr-x 1 0 0  357248 Oct  2  2018 fbx64.efi*

/mnt/EFI/fedora:                                             /boot/EFI/EFI/fedora:
total 14840                                                  total 14840
-rwxr-xr-x 1 root     112 Oct  2  2018 BOOTIA32.CSV          -rwxr-xr-x 1 0 0     112 Oct  2  2018 BOOTIA32.CSV*
-rwxr-xr-x 1 root     110 Oct  2  2018 BOOTX64.CSV           -rwxr-xr-x 1 0 0     110 Oct  2  2018 BOOTX64.CSV*
drwxr-xr-x 2 root    4096 Jan 12 21:37 fonts                 drwxr-xr-x 2 0 0    4096 Feb  2 23:47 fonts/
-rwxr-xr-x 1 root 1468744 Dec  5 09:59 gcdia32.efi           -rwxr-xr-x 1 0 0 1468744 Jan 13 17:11 gcdia32.efi*
-rwxr-xr-x 1 root 2271560 Dec  5 09:59 gcdx64.efi            -rwxr-xr-x 1 0 0 2271560 Jan 13 17:11 gcdx64.efi*
-rwxr-xr-x 1 root   12611 Jan 12 15:47 grub.cfg              -rwxr-xr-x 1 0 0   12611 Jan 12 15:47 grub.cfg*
-rwxr-xr-x 1 root    1024 Jan 14 18:06 grubenv               -rwxr-xr-x 1 0 0    1024 Mar  5 11:41 grubenv*
-rwxr-xr-x 1 root 1468744 Dec  5 09:59 grubia32.efi          -rwxr-xr-x 1 0 0 1468744 Jan 13 17:11 grubia32.efi*
-rwxr-xr-x 1 root 2271560 Dec  5 09:59 grubx64.efi           -rwxr-xr-x 1 0 0 2271560 Jan 13 17:11 grubx64.efi*
-rwxr-xr-x 1 root  927824 Oct  2  2018 mmia32.efi            -rwxr-xr-x 1 0 0  927824 Oct  2  2018 mmia32.efi*
-rwxr-xr-x 1 root 1159560 Oct  2  2018 mmx64.efi             -rwxr-xr-x 1 0 0 1159560 Oct  2  2018 mmx64.efi*
-rwxr-xr-x 1 root 1210776 Oct  2  2018 shim.efi              -rwxr-xr-x 1 0 0 1210776 Oct  2  2018 shim.efi*
-rwxr-xr-x 1 root  969264 Oct  2  2018 shimia32-fedora.efi   -rwxr-xr-x 1 0 0  975536 Oct  2  2018 shimia32.efi*
-rwxr-xr-x 1 root  975536 Oct  2  2018 shimia32.efi          -rwxr-xr-x 1 0 0  969264 Oct  2  2018 shimia32-fedora.efi*
-rwxr-xr-x 1 root 1204496 Oct  2  2018 shimx64-fedora.efi    -rwxr-xr-x 1 0 0 1210776 Oct  2  2018 shimx64.efi*
-rwxr-xr-x 1 root 1210776 Oct  2  2018 shimx64.efi           -rwxr-xr-x 1 0 0 1204496 Oct  2  2018 shimx64-fedora.efi*

/mnt/EFI/fedora/fonts:                                       /boot/EFI/EFI/fedora/fonts:
total 2504                                                   total 2504
-rwxr-xr-x 1 root 2560080 Dec  5 09:59 unicode.pf2           -rwxr-xr-x 1 0 0 2560080 Jan 13 17:11 unicode.pf2*

/mnt/EFI/neon:                                               /boot/EFI/EFI/neon:
total 3644                                                   total 3644
-rwxr-xr-x 1 root     108 Jan 12 16:43 BOOTX64.CSV           -rwxr-xr-x 1 0 0     108 Jan 12 16:43 BOOTX64.CSV*
-rwxr-xr-x 1 root     126 Jan 12 16:43 grub.cfg              -rwxr-xr-x 1 0 0     126 Jan 12 16:43 grub.cfg*
-rwxr-xr-x 1 root 1116024 Jan 12 16:43 grubx64.efi           -rwxr-xr-x 1 0 0 1116024 Jan 12 16:43 grubx64.efi*
-rwxr-xr-x 1 root 1269496 Jan 12 16:43 mmx64.efi             -rwxr-xr-x 1 0 0 1269496 Jan 12 16:43 mmx64.efi*
-rwxr-xr-x 1 root 1334816 Jan 12 16:43 shimx64.efi           -rwxr-xr-x 1 0 0 1334816 Jan 12 16:43 shimx64.efi*

/mnt/EFI/opensuse:                                           /boot/EFI/EFI/opensuse:
total 3904                                                   total 3904
-rwxr-xr-x 1 root 1158688 Jan 11 17:09 MokManager.efi        -rwxr-xr-x 1 0 0      58 Feb 25 16:57 boot.csv*
-rwxr-xr-x 1 root      58 Jan 11 17:09 boot.csv              drwxr-xr-x 2 0 0    4096 Jan 13 01:39 fw/
drwxr-xr-x 2 root    4096 Jan 13 01:39 fw                    -rwxr-xr-x 1 0 0   64776 Feb 16 09:43 fwupdx64.efi*
-rwxr-xr-x 1 root   64776 Jan 13 01:39 fwupdx64.efi          -rwxr-xr-x 1 0 0     155 Feb 25 16:57 grub.cfg*
-rwxr-xr-x 1 root     155 Jan 11 17:09 grub.cfg              -rwxr-xr-x 1 0 0 1238896 Feb 25 16:57 grub.efi*
-rwxr-xr-x 1 root 1238880 Jan 11 17:09 grub.efi              -rwxr-xr-x 1 0 0  307200 Feb 25 16:57 grubx64.efi*
-rwxr-xr-x 1 root  307200 Jan 11 17:09 grubx64.efi           -rwxr-xr-x 1 0 0 1158688 Feb 25 16:57 MokManager.efi*
-rwxr-xr-x 1 root 1208968 Jan 11 17:09 shim.efi              -rwxr-xr-x 1 0 0 1208968 Feb 25 16:57 shim.efi*

/mnt/EFI/opensuse/fw:                                        /boot/EFI/EFI/opensuse/fw:
total 0                                                      total 0

/mnt/EFI/pclinuxos:                                          /boot/EFI/EFI/pclinuxos:
total 124                                                    total 124
-rwxr-xr-x 1 root 123904 Jan 10 20:22 grubx64.efi            -rwxr-xr-x 1 0 0 123904 Feb 16 08:09 grubx64.efi*

/mnt/EFI/ubuntu:                                             /boot/EFI/EFI/ubuntu:
total 84                                                     total 4
drwxr-xr-x 2 root  4096 Jan 12 16:43 fw                      -rwxr-xr-x 1 0 0 126 Jan 12 16:43 grub.cfg*
-rwxr-xr-x 1 root 75992 Jan 12 16:43 fwupx64.efi
-rwxr-xr-x 1 root   126 Jan 12 16:43 grub.cfg

/mnt/EFI/ubuntu/fw:
total 0

/mnt/System:                                                 /boot/EFI/System:
total 4                                                      total 4
drwxr-xr-x 3 root 4096 Oct 23 18:05 Library                  drwxr-xr-x 3 0 0 4096 Oct 23 18:05 Library/

/mnt/System/Library:                                         /boot/EFI/System/Library:
total 4                                                      total 4
drwxr-xr-x 2 root 4096 Oct 23 18:05 CoreServices             drwxr-xr-x 2 0 0 4096 Oct 23 18:05 CoreServices/

/mnt/System/Library/CoreServices:                            /boot/EFI/System/Library/CoreServices:
total 4                                                      total 4
-rwxr-xr-x 1 root 384 Jul 25 20:04 SystemVersion.plist       -rwxr-xr-x 1 0 0 384 Jul 25  2019 SystemVersion.plist*
View attachment 7014

Now, I have installed also Debian, Arch, Mageia 7, Mint, reinstalled Mageia (8 alpha1), Void, MX ─ but I "told" Void not to install its bootloader.
ah thats something familiar !
 




Members online


Top