启动管理器显示两个条目,但恢复后只剩下一个分区

启动管理器显示两个条目,但恢复后只剩下一个分区

我必须在 Windows 2019 服务器实例上执行恢复(使用 veeam 恢复代理)。

恢复系统配置为具有两个动态磁盘的软件 raid(镜像)。

恢复后只剩下一个磁盘,现在为基本磁盘(不再有动态磁盘)并且不再有 raid。

但启动时启动管理器仍然显示两条记录(见图)。启动管理器

启动正常,但奇怪的是启动管理器显示两个条目而只剩下一个磁盘。

如何修复启动管理器仅显示一个现有条目(仅剩一个)?

答案1

您可以使用bcdedit /delete从列表中删除条目。

bcdedit /删除/?

此命令从启动配置数据存储区中删除一个条目。

bcdedit [/store] /delete [/f] [/cleanup | /nocleanup]

<filename>      Specifies the store to be used. If this option is not
                specified, the system store is used. For more information,
                run "bcdedit /? store".

<id>            Specifies the identifier of the boot entry that you want to
                delete. For more information about identifiers,
                run "bcdedit /? ID".

/f              Deletes the specified entry. Without this option, Bcdedit
                will not delete any entries that have a well-known
                identifier.

/cleanup        Deletes the specified entry and removes the entry from the
                display order. Any other references to the entry being
                deleted will also be removed from the store.  When deleting
                an OS loader entry, the associated resume from hibernation
                entry is also deleted if it is not referenced by any other
                OS loaders. This option is assumed unless /nocleanup is
                specified.

/nocleanup      Deletes the specified entry without removing the entry from
                the display order.

例子:

以下命令从存储中删除指定的操作系统条目并从显示顺序中删除该条目:

bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71}

以下命令从存储中删除指定的操作系统条目并从显示顺序中删除该条目:

bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71} /cleanup

以下命令从存储中删除指定的操作系统条目,但不从显示顺序中删除该条目:

bcdedit /delete {cbd971bf-b7b8-4885-951a-fa03044f5d71} /nocleanup

以下命令从存储中删除基于 NTLDR 的 OS 加载程序条目:

bcdedit /delete {ntldr} /f

相关内容