Warum also hat Ubuntu eine /boot/efiPartition erstellt?

Warum also hat Ubuntu eine /boot/efiPartition erstellt?

Ich habe Ubuntu Desktop LTS 20.04 64 Bit über USB-Flash installiert und die Optionen ausgewählt ...

  • Datenträger löschen
  • Erweiterte Funktion... > LVM verwenden > Aus Sicherheitsgründen verschlüsseln

Wie in diesem Bild gezeigt:

Schritt für den Installationstyp von Ubuntu Desktop

Allgegenwärtigkeitsquelle

Ubuntu 20.04 Versionsreferenz

Da die UEFI-Firmware im BIOS-Kompatibilitätsmodus eingestellt war, verwendete die Installation eine Standard-MBR-Partitionstabelle mit GRUB 2 als MBR-Bootcode:

# sudo fdisk -l /dev/sda
Disklabel type: dos # dos => MBR
Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1  *       2048   1050623   1048576   512M  b W95 FAT32
/dev/sda2       1052670 488396799 487344130 232,4G  5 Extended
/dev/sda5       1052672   4050943   2998272   1,4G 83 Linux
/dev/sda6       4052992 488396799 484343808   231G 83 Linux

# hexdump -v -s 0x80 -n 2 -e '2/1 "%x" "\n"' /dev/sda
020 # This identifies the MBR boot code as GRUB 2, see https://unix.stackexchange.com/a/702790/160124

# sudo lsblk
sda                     8:0    0 232,9G  0 disk  
├─sda1                  8:1    0   512M  0 part  /boot/efi
├─sda2                  8:2    0     1K  0 part  
├─sda5                  8:5    0   1,4G  0 part  /boot
└─sda6                  8:6    0   231G  0 part  
  └─sda6_crypt        253:0    0   231G  0 crypt 
    ├─vgubuntu-root   253:1    0   230G  0 lvm   /
    └─vgubuntu-swap_1 253:2    0   980M  0 lvm   [SWAP]

# sudo ls -a /boot/efi
.  ..

# sudo df | grep "Filesystem\|/dev/sda1"
Filesystem                1K-blocks     Used Available Use% Mounted on
/dev/sda1                    523248        4    523244   1% /boot/efi

# fsck.fat -v -n /dev/sda1
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      4096 bytes per cluster
        32 reserved sectors
/dev/sda1: 0 files, 1/130812 clusters # No files, one cluster used for FAT root directory.

Wie Sie sehen können, /boot/efiist es leer (4K wird im FAT-Stammverzeichnis verwendet, siehehttps://superuser.com/a/1727654/505763).

Warum also hat Ubuntu eine /boot/efiPartition erstellt?

verwandte Informationen