Linux – How to know which partition is EFI system partition

arch linuxefilinuxmountpartitioning

I want to install ArchLinux from working dual-boot system. There's one step where I got stuck:

# Mount the EFI System partition with:
sh-4.3# mount /dev/sdaX /mnt/boot/efi

I ran fdisk -l command and got its output. How can I know which of this partitions is exactly the EFI one? Is it the one with only 100mb storage?

Best Answer

None of them. Either you don't have an EFI system, or Windows wasn't installed in EFI mode.

If you had an EFI system partition, it would always have the ef type code instead of the usual 07 or 82, and lsblk -f would show it as having a "vfat" filesystem.

Also, since Windows is rather picky about it, the disk would have a GPT disklabel (yours shows "dos" which means MBR), and fdisk wouldn't even show the type ids.

That first 100 MB partition is a "Microsoft System Reserved Partition"; while similar in purpose (even meant to mirror EFI layout), it is completely specific to the Windows boot process.

Related Question