[Bug 290857] bsdinstall: ZFS install produces fat16 EFI filesystem - should be fat32

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Nov 2025 18:42:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290857

--- Comment #8 from ykla <yklaxds@gmail.com> ---
(In reply to Ed Maste from comment #5)
Sorry, not onle ZFS but also UFS install

----------
root@ykla:/home/ykla # gpart show
=>      40  33554352  nda0  GPT  (16G)
        40    532480     1  efi  (260M)
    532520  30924800     2  freebsd-ufs  (15G)
  31457320   1677312     3  freebsd-swap  (819M)
  33134632    419760        - free -  (205M)

root@ykla:/home/ykla # file -s /dev/nda0p1
/dev/nda0p1: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "BSD4.4  ",
sectors/cluster 32, root entries 512, sectors/FAT 65, sectors/track 63, heads
255, sectors 532480 (volumes > 32 MB), serial number 0x22db0a0c, unlabeled, FAT
(16 bit)
root@ykla:/home/ykla # umount /boot/efi
root@ykla:/home/ykla #  newfs_msdos -F 32 /dev/nvd0p1
newfs_msdos: 16630 clusters too few clusters for FAT32, need 65525

-------------------

Furthermore, both
[https://reviews.freebsd.org/D28897](https://reviews.freebsd.org/D28897) and
[https://wiki.freebsd.org/UEFI](https://wiki.freebsd.org/UEFI) — “Create the
ESP as a 40MB FAT32 filesystem to maximize compatibility” — were intended to
achieve that stated goal.

Most Linux distributions, Windows, and even Intel-based macOS systems also use
FAT32 for their EFI partitions.

-- 
You are receiving this mail because:
You are the assignee for the bug.