[Bug 1177358] New: EFI system partition: VFAT or FAT16 or FAT12 or FAT32?
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 Bug ID: 1177358 Summary: EFI system partition: VFAT or FAT16 or FAT12 or FAT32? Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: kaykaykay123@gmail.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Why openSUSE installer specifies "EFI system partition" as VFAT? What file system is actually used? By standard we need FAT32 for EFI system partition + fixed drives: https://en.wikipedia.org/wiki/EFI_system_partition "FAT32 is always expected on fixed drives". VFAT is not equal to FAT32: https://en.wikipedia.org/wiki/File_Allocation_Table Windows requires FAT32 for EFI system partition. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 Nikolai Nikolaevskii <kaykaykay123@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Blocker|--- |No Hardware|Other |All Found By|--- |Community User Severity|Normal |Enhancement -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 http://bugzilla.opensuse.org/show_bug.cgi?id=1177358#c2 Neil Rickert <nwr10cst-oslnx@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nwr10cst-oslnx@yahoo.com --- Comment #2 from Neil Rickert <nwr10cst-oslnx@yahoo.com> --- I'm not sure why this is a bug report, instead of a forum post or a mailing list inquiry. VFAT is really just a layer on top of FAT that allows long file names. Looking at what I have installed, I notice that "systemd-boot" uses as its efi executable, the file "systemd-bootx64.efi". And that long name would require VFAT. However, most systems use names that fit with the shorter 8.3 naming system. In my experience, the installer uses FAT32 (with VFAT). At some time in the past, it was using FAT16 for smaller EFI partitions. But the current installer is insisting on FAT32. Most firmware seems to work with FAT16. But I do remember seeing one forum post where a user had to reformat his EFI partition to FAT32 in order to get it to boot. So some firmware is fussy about that, but most firmware will accept either FAT16 or FAT32. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 http://bugzilla.opensuse.org/show_bug.cgi?id=1177358#c3 --- Comment #3 from Nikolai Nikolaevskii <kaykaykay123@gmail.com> --- (In reply to Ancor Gonzalez Sosa from comment #1)
(In reply to Nikolai Nikolaevskii from comment #0)
Why openSUSE installer specifies "EFI system partition" as VFAT? What file system is actually used?
See more information about the current behavior (that we are considering to adjust) here: https://bugzilla.suse.com/show_bug.cgi?id=1170625
By standard we need FAT32 for EFI system partition + fixed drives:
I wouldn't say "need". But it's indeed recommended.
[...]
Windows requires FAT32 for EFI system partition.
Not in our experience. Can you point to some source of information proving that?
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/config... Citation: ----------------------------------------------------------------------- ... The minimum size of this partition is 100 MB, and must be formatted using the FAT32 file format. This partition is managed by the operating system, and should not contain any other files, including Windows RE tools. Note For Advanced Format 4K Native drives (4-KB-per-sector) drives, the minimum size is 260 MB, due to a limitation of the FAT32 file format. The minimum partition size of FAT32 drives is calculated as sector size (4KB) x 65527 = 256 MB. Advanced Format 512e drives are not affected by this limitation, because their emulated sector size is 512 bytes. 512 bytes x 65527 = 32 MB, which is less than the 100 MB minimum size for this partition. ----------------------------------------------------------------------- 1. Please specify format for EFI system partition = FAT32 + VFAT as default with size > 100 MB. 2. Please give users a choice to choose between FAT32 and FAT16/FATxx (maybe useful for some ill-designed hardware). 3. IMHO using VFAT is a good default setting. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 Felix Miata (offline until ???) <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmazda@earthlink.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 http://bugzilla.opensuse.org/show_bug.cgi?id=1177358#c6 Nikolai Nikolaevskii <kaykaykay123@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #6 from Nikolai Nikolaevskii <kaykaykay123@gmail.com> --- Good, but not excellent. Minimal FAT32 partition has 32 MiB in size, minimal FAT16 partition has 4.1 MiB in size (with ordinary settings). Typical occupied space for openSUSE installation is 7-8 MiB in /boot/efi/. You may change suggested minimal size: ------------------------------------------------------------------- When proposing a new EFI partition in x86 ... - when aiming for the minimal size * does not enforce FAT32 or 16 (FAT size will be decided by USER) * requires /boot/efi to be at least 32 MiB * requires /boot/efi to be at most 512 MiB ------------------------------------------------------------------- Changes: 1. "decided by mkfs.vfat" -> "decided by user" 2. "to be at least 128 MiB" -> "to be at least 32 MiB". Hint: UEFI specification requires support for long file names (LFN) for all FAT32/16/12, i.e. FATxx will always goes with VFAT. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 http://bugzilla.opensuse.org/show_bug.cgi?id=1177358#c8 --- Comment #8 from Nikolai Nikolaevskii <kaykaykay123@gmail.com> --- Ok, I understand. This bug report may be closed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 http://bugzilla.opensuse.org/show_bug.cgi?id=1177358#c9 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Ancor Gonzalez Sosa <ancor@suse.com> --- (In reply to Nikolai Nikolaevskii from comment #8)
Ok, I understand. This bug report may be closed.
Doing so -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1177358 http://bugzilla.opensuse.org/show_bug.cgi?id=1177358#c11 --- Comment #11 from Felix Miata <mrmazda@earthlink.net> --- (In reply to Nikolai Nikolaevskii from comment #3)
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/ configure-uefigpt-based-hard-drive-partitions
Citation: ... For Advanced Format 4K Native drives (4-KB-per-sector) drives, the minimum size is 260 MB, due to a limitation of the FAT32 file format. The minimum partition size of FAT32 drives is calculated as sector size (4KB) x 65527 = 256 MB.
Why did we choose a minimum of 256 when the explicit minimum on Windows is not 256, but 260? Were someone with a 4K sector boot disk and 256 ESP wanting to add Windows to the system, it would require an additional ESP partition according to the referred to Windows document. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com