如果您听说过EFI或在Windows中看到过(Windows)EFI 系统分区(EFI System Partition)( ESP )并想知道它是什么,那么这篇文章将帮助您理解。我们将讨论EFI,如何识别EFI分区,它包含什么,以及是否可以删除它。
什么是 Windows 中的 EFI 分区?
EFI代表可扩展固件接口(Extensible Firmware Interface) 系统分区(system partition),通常是计算机系统(computer system)使用的硬盘驱动器或SSD等数据存储设备中与UEFI(统一可扩展固件接口(Unified Extensible Firmware Interface))相一致的分区。
当您启动计算机时,UEFI 固件(UEFI firmware)会加载存储在EFI 或 ESP(EFI or ESP)(EFI 系统分区(EFI System Partition))上的文件,以启动系统上当前安装的操作系统(operating system)和各种系统实用程序。ESP包含引导加载程序和内核映像、设备驱动程序(device driver)文件以及在引导操作系统之前运行所需的其他实用程序。
EFI是大约 100 MB 的最小分区,使用FAT32格式化(FAT32)。这是存储启动窗口所需的所有应用程序的地方。您可以通过运行该命令访问 Windows 上的EFI 系统分区。(EFI system)mountvol / s
如何识别EFI 系统分区(EFI System Partition)Windows 11/10?
EFI 分区(EFI partition)至关重要;这就是它被隐藏的原因,这样一般用户就不会在File Explorer中意外找到它。在这里,我们提供了各种工具,您可以通过这些工具来识别EFI 分区(EFI partition)。
- Windows 磁盘管理工具
- 磁盘部分工具
- 第三方磁盘工具
不要使用这些工具删除EFI 分区,这一点至关重要。(EFI partition)但是,可能会发生意外,并确保您在执行任何这些操作之前已创建系统映像。(System Image)
1]在Windows中使用(Windows)磁盘管理工具(Disk Management Tool)
磁盘管理工具(Disk Management tool)是一个 Windows管理工具(management tool),用于重命名、调整大小、分区和格式化磁盘。它使您可以在不重新启动系统和任何中断的情况下处理硬盘分区的管理。您可以创建、删除和格式化分区,更改驱动器(change drive)号和路径,将空MBR转换为GPT 磁盘(GPT disk),甚至在使用之前初始化一个全新的磁盘等。
以下是打开磁盘管理(Disk Management)和识别EFI分区的一些最方便的方法。
- 使用 Windows 热键Windows+R打开运行窗口(Run window)。
- 键入Diskmgmt.msc并按 Enter 键。
- 磁盘管理(Disk management)将打开,您也可以从那里识别EFI分区。寻找一个写有EFI的分区。(EFI)
2]使用Diskpart工具
DiskPart是一个命令行磁盘分区实用程序。diskpart 解释器(diskpart interpreter)允许您管理您的计算机驱动器,包括虚拟硬盘、分区、卷。它可以让您在硬盘驱动器或计算机可以检测到的 USB 上创建、删除和修改分区。DiskPart是磁盘管理(Disk management)工具的完美替代品,因为它功能更强大且适合技术用户。
您必须始终以管理员权限(administrator permission)打开 diskpart 。在此处打开 diskpart 是一种简单的方法。
- 在搜索框中(search box)键入Diskpart并从那里找到它。
- 在搜索结果(search result)中看到Diskpart后,单击启动。
- 键入
list volume
并按 Enter 键 - 它将显示 PC 上所有可用的卷或分区。
- 查找标记为 EFI(Labeled as EFI)和Fs 为 FAT32 的分区。(Fs as FAT32.)它也被标记为隐藏。
3]使用第三方工具
除了传统的工具,Windows还为我们提供了管理分区和EFI(EFIs)的功能。有几个第三方软件可以提供这些服务以获得更好的体验。
Paragon 分区管理器(Paragon Partition Manager)
Paragon Partition Manager是免费使用的软件,可让您组织硬盘驱动器并帮助您在现有分区中获得额外空间。它提供了许多功能,例如调整大小/移动分区、取消删除分区。如果您错误地删除了分区,您可以恢复数据。您可以创建、删除、扩展分区。它还允许您更改分区的标签,您还可以检查所选分区上的错误以修复它们。
要找到EFI 分区(EFI partition),请按照以下步骤操作:
- 下载并安装软件,然后启动它。
- 识别并加载所有驱动器后,找到安装Windows的主驱动器
- 它将分为三个部分 - 两个系统保留和一个本地磁盘(parts—Two System Reserves and One Local Disk)
- 在这两个中,一个将是 100 MB。选择它,然后单击属性
- 在详细信息窗口中,请注意EFI System Partition作为描述的一部分。
GParted
GParted是一款免费使用的分区操作(partition manipulation)软件,以图形方式管理您的磁盘分区。使用GParted,您可以复制、移动、调整分区大小而不会丢失任何数据。它还允许您尝试从丢失或删除的分区中进行数据救援或恢复。(rescue or recovery)您还可以为新操作系统创建空间、更改标签、设置新UUID等。
打开GParted 工具(GParted tool)后,它将帮助您识别EFI 分区(EFI partition)。如果看不到任何标签,请查找隐藏的 100 MB 分区。(MB partition)
我应该删除 EFI 分区吗?
除非您有充分的理由,并且您知道自己在做什么,否则您永远不应该删除EFI 分区。(EFI Partition)它是您的操作系统存储所有启动文件的地方。如果你删除它,它基本上就像删除你的操作系统一样。您只能在擦除整个驱动器并在另一个驱动器上拥有成熟的操作系统或(operating system)克隆或备份(clone or backup)相同的驱动器时尝试将其删除。
如何查看EFI 分区(EFI Partition)中的内容?
由于EFI在(EFI)文件资源管理器(File Explorer)中是隐藏的,因此您可以使用mountvol /s命令将EFI 系统(EFI system)分区挂载到指定驱动器上。确保(Make)选择未被任何其他驱动器占用的驱动器号。(drive letter)
如何在Windows中删除(Windows)EFI 分区(EFI Partition)?
我们将使用DiskPart删除EFI分区,因为Diskpart是一个管理驱动器分区的命令行实用程序。以下是删除EFI分区的一些简单步骤:
- 打开命令提示符并以(command prompt)管理员(Administrator)身份运行它。
- 输入diskpart以启动该实用程序。
- 使用list disk命令显示所有磁盘。找到带有EFI(EFI)分区的磁盘。
- 输入select disk #。这里#代表磁盘号(disk number)。
- 使用list partition 命令(list partition command)显示选定的分区
- 识别EFI 分区(EFI partition),它将是Type: System。
- 输入select partition #
- 最后,输入命令delete partition override 。
如何恢复EFI 分区(EFI Partitions)?
错误可能会无意中发生;因此,意外删除您的EFI 分区(EFI partition)可能就是其中之一。在这里,我们将讨论通过命令提示符恢复(command prompt)EFI 分区(EFI partition)的分步过程。
- 使用Windows 安装(Windows installation)媒体或Windows 恢复(Windows recovery)盘启动计算机。
- 运行以下命令为未分配空间收缩分区
- 磁盘部分
- 列出磁盘
- select disk #(选择要添加EFI分区(EFI partition)的磁盘)
- 列表分区
- select partition #(选择要收缩的分区)
- shrink desired=100(将所选分区(chosen partition)缩小100 MB)
- 运行(Run)以下命令以创建EFI 分区(EFI partition)
- 创建分区 efi 大小=100
- 格式化快速 fs=fat32
- assign letter=h(您可以选择尚未使用的任何字母)
- 出口
- 使用给定的命令将引导文件从Windows 分区(Windows partition)复制到EFI 分区(EFI partition)并在其中创建BCD 存储(BCD store)
- bcdboot C:windows /h H: (c 是驱动器盘符,而 H 是分配给EFI 分区(EFI partition)的盘符)
- 出口
- 重新启动计算机
EFI 和 MBR(Difference Between EFI And MBR)有什么区别?
MBR(主引导记录(Master Boot Record))是一种稍旧的识别可引导磁盘和媒体的方式,支持 2TB 的HDD。BIOS使用MBR来保存有关硬盘(Hard)中所有数据的信息。另一方面,UEFI使用GUID 分区(GUID partition)表 ( GPT )。MBR在其表中仅使用 32 位,这仅导致 4 个物理分区。但是,UEFI是独立于平台的;因此它提供了更好的启动时间(booting time)和计算机的全速。
升级到EFI 有什么好处(EFI Offer Any Benefits)吗?
EFI文件存储在硬盘上称为ESP的特定(ESP)分区系统中。(partition system)UEFI具有离散驱动支持,UEFI提供更快的启动时间,支持大于2TB的硬盘分区,支持单个驱动四个以上的分区,高效的系统和(drive partition)电源管理(power management)。所以是的,升级到EFI(EFI)有很多好处。
Windows 11 是否(Does Windows 11) 需要(Need)基于 EFI 的分区才能升级?
是的,Windows 11需要基于UEFI的分区,因为Windows 11不兼容BIOS 或 Legacy 兼容模式(BIOS or Legacy compatibility mode);因此,Windows 11必须使用UEFI运行。用户必须启用安全启动,因为安全启动选项(secure boot option)与基于UEFI的计算机相关联。
在这篇文章中,我们讨论了与EFI分区相关的大部分要点。以上(Above)是您可以使用EFI分区执行的所有基本任务以及与对应分区的一些比较。但是,如果出现问题,请确保您对数据进行了适当的备份,并且始终知道自己在做什么。
What Is EFI? How to identify EFI System Partition on Windows 11/10?
If you have ever heard about EFI or seen an EFI System Partition (ESP) in Windows and wonder what it is, then this post will help you understand. We will talk about EFI, how you can identify the EFI partitions, what it contains, and if you can delete it.
What is EFI Partition in Windows?
The EFI stands for Extensible Firmware Interface system partition is generally a partition in the data storage devices like hard disk drives or an SSD used by a computer system cohere to the UEFI (Unified Extensible Firmware Interface).
When you boot your computer, the UEFI firmware loads the file stored on EFI or ESP (EFI System Partition) to start the currently installed operating system on your system and various system utilities. The ESP contains the boot loaders and kernel images, device driver files, and other utilities required to run before booting the OS.
The EFI is a minimal partition of around 100 MB, which is formatted with FAT32. This is where all the applications needed for the startup of windows are stored. You can access the EFI system partition on windows by running the mountvol / s
command.
How to identify EFI System Partition Windows 11/10?
The EFI partition is crucial; that is why it is hidden so that a general user won’t find it accidentally in File Explorer. Here, we’ve given various tools by which you can identify the EFI partition.
- Windows Disk Management Tool
- Diskpart Tool
- Third-Part Disk Tools
It is crucial that you do not delete the EFI partition using these tools. However, accidents can happen and ensure you have created a System Image before any of these operations.
1] Using Disk Management Tool In Windows
The Disk Management tool is a windows management tool used to rename, resize, partition, and formatting disks. It lets you handle the management of hard disk partitions without rebooting the system and any interruption. You can create, delete and format partitions, change drive letters and paths, convert empty MBR to GPT disk, initialize a brand new disk before even using it, etc.
Here are some of the most convenient ways to open Disk Management and identify EFI partitions.
- Use the windows hotkey Windows+R to open the Run window.
- Type Diskmgmt.msc and press the Enter key.
- The Disk management will open, and you can identify EFI partitions from there also. Look for a partition that has EFI written on it.
2] Using Diskpart Tool
DiskPart is a command-line disk partitioning utility. The diskpart interpreter allows you to manage your computer drives, including virtual hard disks, partitions, volumes. It lets you create, delete and modify partitions on your hard drives or USB your computer can detect. DiskPart is a perfect alternative to Disk management tools as it is more powerful and suitable for technical users.
You have to always open diskpart with administrator permission. To open diskpart here is a simple way of doing so.
- Type Diskpart in the search box and find it from there.
- Once you see Diskpart in the search result, click to launch.
- Type
list volume
and press the Enter key - It will display all the volumes or partitions available on the PC.
- Look for a partition that has Labeled as EFI and Fs as FAT32. It is also marked as hidden.
3] Using Third-party Tools
Apart from the traditional tools, Windows provide us with managing partitions and EFIs. There are several third-party software that provides these services for a better experience.
Paragon Partition Manager
Paragon Partition Manager is free-to-use software that lets you organize your hard drives and helps you gain extra space in existing partitions. It offers a lot of features like resize/move partitions, undelete partitions. You could recover the data if you deleted a partition by mistake. You can create, delete, expand the partitions. It also allows you to change the label of a partition, and you can also check for errors on selected partitions to fix them.
To locate the EFI partition, follow the steps as below:
- Download and install the software, and then launch it.
- Once it identifies and loads all the drives, locate the primary drive on which Windows is installed
- It will be available in three parts—Two System Reserves and One Local Disk
- Of these two, one will be 100 MB. Select it, and then click on Properties
- In the details window, notice EFI System Partition as part of the description.
GParted
GParted is a free-to-use software for partition manipulation to manage your disk partitions graphically. With GParted, you can copy, move, resize the partitions without any data loss. It also lets you attempt data rescue or recovery from lost or deleted partitions. You can also create space for the new OS, change labels, set new UUID, etc.
Once you open the GParted tool, it will help you identify the EFI partition. If you cannot see any label, look for the 100 MB partition, which is hidden.
Should I delete the EFI Partition?
You should never delete the EFI Partition unless you have a solid reason behind it, and you know what you are doing. It is the place where your OS stores all the boot files. If you delete this, it is basically like deleting your OS. You can only attempt to delete it when you are wiping down an entire drive and have a full-fledged operating system on the other drive or a clone or backup of the same.
How can I see what’s in the EFI Partition?
As EFI is hidden from the File Explorer, you can use the mountvol /s command to mount the EFI system partition on the specified drive. Make sure to choose a drive letter that is not occupied by any other drive.
How can I delete the EFI Partition in Windows?
We will use DiskPart to delete EFI partitions, as Diskpart is a command-line utility that manages drive partitions. Here are some simple steps that you can follow to delete the EFI partitions:
- Open the command prompt and run it as Administrator.
- Enter diskpart to begin the utility.
- Use the list disk command to show all the disks. Find the disk with EFI partitions.
- Enter select disk #. Here # represents the disk number.
- Show the selected partition using the list partition command
- Identify the EFI partition, and it will be of Type: System.
- Enter select partition #
- Finally, enter the command delete partition override.
How Do I Restore The EFI Partitions?
Mistakes can happen unintentionally; thus, accidentally deleting your EFI partition may be one of them. Here, we will discuss a step-by-step process of restoring an EFI partition by command prompt.
- Boot the computer using Windows installation media or Windows recovery disk.
- Run the following commands to shrink a partition for an unallocated space
- diskpart
- list disk
- select disk # (choose the disk where you want to add the EFI partition)
- list partition
- select partition # (choose the partition which you want to shrink)
- shrink desired=100 (shrink the chosen partition by 100 MB)
- Run these following commands to create the EFI partition
- create partition efi size=100
- format quick fs=fat32
- assign letter=h (you can choose whatever letter which is not already in use)
- exit
- Use the given commands to copy the boot files from Windows partition to EFI partition and create a BCD store in it
- bcdboot C:\windows /h H: (c is the drive letter whereas H is the letter assigned to the EFI partition)
- exit
- Reboot your computer
What Is The Difference Between EFI And MBR?
MBR (Master Boot Record) is a slightly older style of recognizing bootable disks and media that supports 2TB of HDD. BIOS uses the MBR to save information about all the data in Hard drives. Where on the other hand, UEFI uses the GUID partition table (GPT). MBR only uses 32 bits in its tables which only results in 4 physical partitions. However, the UEFI is platform-independent; hence it provides better booting time and full speed of the computer.
Does Upgrading To EFI Offer Any Benefits?
EFI files are stored in a particular partition system called ESP on the hard disk. UEFI has discrete driver support, UEFI provides faster booting time, supports hard drive partition greater than 2TBs, supports more than four partitions on a single drive, efficient system, and power management. So yes, there are many benefits of upgrading to EFI.
Does Windows 11 Need An EFI-based Partition To Upgrade?
Yes, Windows 11 needs UEFI based partition because Windows 11 is not compatible with BIOS or Legacy compatibility mode; therefore, Windows 11 must run with UEFI. The users must enable secure boot as the secure boot option is associated with the UEFI-based computers.
In this post, we’ve discussed the majority of points that are associated with EFI partitions. Above are all the basic tasks you can perform with EFI partitions and some comparisons with its counterparts. But make sure that you have a proper backup of your data if something goes wrong, and always know what you are doing.