1 |
On Monday, 14 December 2020 05:41:46 GMT Thomas Mueller wrote: |
2 |
> Excerpt from Michael: |
3 |
> > Right, on UEFI MoBos the ESP partition used by the UEFI firmware to locate |
4 |
> > and run *.EFI executables must be FAT32. Such .EFI executables stored on |
5 |
> > the ESP may be OS boot managers/loaders, or other UEFI compatible |
6 |
> > applications. The boot manager loaded by UEFI is then left to its own |
7 |
> > mechanisms (boot loader and fs drivers) to load whatever fs the kernel |
8 |
> > image resides on. |
9 |
> |
10 |
> Is it necessary for the ESP to be FAT32, as opposed to FAT16 or FAT12? |
11 |
|
12 |
Looking again at the UEFI firmware specification it states "... encompasses |
13 |
FAT32 for a system partition, and FAT12 or FAT16 for removable media" and that |
14 |
the "variant of EFI FAT to use is defined by the size of the media". |
15 |
|
16 |
So, there is no *must use FAT32* as such in the specification, although it can |
17 |
be inferred from the way it is written that a system partition, defined as "a |
18 |
contiguous grouping of sectors on the disk", will use FAT32. On removable |
19 |
devices (diskettes) the partition is defined to be the entire media and space |
20 |
limitations apply. Other removable devices may have more space and a call |
21 |
will be made accordingly. I suppose if you have an ESP no larger than 16 MiB |
22 |
(4K clusters) and you can fit all your boot manager/OS loader files in there, |
23 |
you would use FAT12. |
24 |
|
25 |
|
26 |
> What happens if the ESP is formatted FAT12 or FAT16? |
27 |
|
28 |
I expect it would/should be read by the UEFI firmware and is suitable for |
29 |
space limited systems. Most PC installations have GBs of space on their |
30 |
disks, so avoiding FAT32 wouldn't make much sense. |
31 |
|
32 |
|
33 |
> In some cases, ESP might be small enough that FAT32 would not be |
34 |
> appropriate, especially when there is only one OS installation on the disk. |
35 |
> |
36 |
> That would be the case on many MS-Windows or Mac computers, and also other |
37 |
> OSes when installed on a USB stick. |
38 |
> |
39 |
> Tom |
40 |
|
41 |
Right, but a USB stick is probably considered "removable media" and its space |
42 |
could be deemed as limited. |
43 |
|
44 |
I loosely recall AppleMac boot partitions being ~200MB and MSWindows ~300MB, |
45 |
but don't have a machine to hand to check right now. For most use cases even |
46 |
with multiple OSs installed, that's probably enough space to fit FAT32. |