그렇다면 우분투는 왜 /boot/efi파티션을 만들었습니까?

그렇다면 우분투는 왜 /boot/efi파티션을 만들었습니까?

USB 플래시를 통해 Ubuntu Desktop LTS 20.04 64비트를 설치하고 옵션을 선택했습니다...

  • 디스크 지우기
  • 고급 기능... > LVM 사용 > 보안을 위해 암호화

이 그림에 표시된 대로:

Ubuntu 데스크탑 설치 유형 단계

유비쿼터스 소스

Ubuntu 20.04 릴리스 참조

UEFI 펌웨어가 BIOS 호환 모드로 설정되었기 때문에 설치 시 MBR 부팅 코드로 GRUB 2가 포함된 표준 MBR 파티션 테이블이 사용되었습니다.

# 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.

보시 /boot/efi다시피 비어 있습니다(사용된 4K는 FAT 루트 디렉토리입니다.https://superuser.com/a/1727654/505763).

그렇다면 우분투는 왜 /boot/efi파티션을 만들었습니까?

관련 정보