8

I read that there needs to be an EFI system partition.

The EFI System partition is a partition on a data storage device that is used by machines that adhere to the Extensible Firmware Interface. It contains the boot loader programs for all operating systems installed (in other partitions) on the device, device driver files (used by the firmware at boot time) for other devices, and system utility programs that are intended to be run before an operating system is booted.[1]

source: http://en.wikipedia.org/wiki/EFI_System_partition

I also read that there needs to be a particular file on a certain partition called *.efi.

UEFI does not rely on a working boot sector only, but needs a special partition table referring to a special partition containing a specially located file with a standardized name depending on the actual architecture to boot (\EFI\BOOT\boot[architecture name].efi).

source: http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface

Are the EFI system partition, and the special partition one and the same partition, or are these both separate and necessary structures for booting? How do they work together (are they two different stages of the boot process, like one for all OS-es and one for a particular OS)? Also, do both these structures apply to UEFI?

1
  • 2
    Don't try to stuff everything that you ever wanted to know into a single posting. If you have multiple questions, create multiple questions.
    – JdeBP
    Commented Feb 11, 2012 at 3:00

1 Answer 1

14

No, a partition is not one and the same as a file; and Wikipedia is misleading you.

That second paragraph is wrong on pretty much all points. EFI does not require any such things, and never relies upon a boot sector. If you want the gen on this, I suggest reading the actual EFI specification. It's fairly clear on what the \EFI\BOOT\BOOTxxx.EFI files are all about. They are the fallback default if nothing is configured in the Boot Manager. Normally, however, something will be configured in the Boot Manager.

EFI does not require a special partition table, it being capable of using both the old PC/AT (a.k.a. MBR or MS-DOS) partitioning scheme and the new EFI partitioning scheme. Nor are EFI boot applications specially located. Their locations are stored as paths in individual boot options. In theory, they don't even have to be on the EFI System Partition. They could in theory be on any volume whose filesystem format the firmware understands. In practice, the ESP is both the expected place that users will look at first and is guaranteed to exist by the platform and be locatable by EFI programs.

Further reading

2
  • I read the some of the documents and I have a question. On non-mac machines are all the *.efi files stored on the efi boot partition, or atleast generally kept there?
    – rubixibuc
    Commented Feb 11, 2012 at 3:12
  • UEFI compatible motherboards usually ship with a firmware which boots the default system EFI application which will have entries for all ESP-like partitions and their resolved EFI applications. In most cases, if you have one single ESP of the appropriate type, supported system and a EFI application for your architecture--it should get booted. Commented Nov 12, 2014 at 17:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .