There are different types of boot loaders, depending on the architecture and firmware of the computer. For example, on legacy BIOS systems, the boot loader is stored in the first 512 bytes of the disk, called the master boot record (MBR). The MBR contains a small program that reads the partition table and loads the boot sector of the active partition, which contains the second stage of the boot loader. Examples of MBR boot loaders are GRUB, LILO, and SYSLINUX. On modern UEFI systems, the boot loader is stored in a special partition called the EFI system partition (ESP), which has a standard file system format. The UEFI firmware reads a configuration file that points to the location of the boot loader file, which can be any executable format. Examples of UEFI boot loaders are GRUB2, rEFInd, and Windows Boot Manager.