注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

gmd20的个人空间

// 编程和生活

 
 
 

日志

 
 

如何删掉UEFI系统启动引导项  

2017-06-28 00:46:53|  分类: 电脑常识 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
原文地址,https://superuser.com/questions/930725/how-to-delete-os-from-boot-menu

这个东西保存在bios的 UEFI NVRAM 里面。出来使用下面各个平台对应的工具修改,可能还需要手工挂载EFI系统分区
手工清理一下不需要分区下面EFI/ubuntu这样的目录。

3down voteaccepted

The menu to which you refer is the firmware's built-in boot manager. Its entries are stored in NVRAM, and can be edited by any number of tools in various environments:

  • Some EFIs provide a means to do this via their setup utility. Details vary from one system to another, though, and many don't permit you to add or delete boot manager entries.
  • The EFI version 2 shell provides a command called de >bcfgde> that can do the job. You'd need to do de >bcfg boot dump -bde> to see the entries, then de >bcfg boot rm #de> to delete entry number de >#de> -- de >#de> must be the number associated with whatever entry you want to remove.
  • In Linux, de >efibootmgrde> can do the job: Type de >efibootmgrde> or de >efibootmgr -vde> to see the entries, then do de >efibootmgr -b # -Bde> to delete entry de >#de>. (You must type these commands as de >rootde> or using de >sudode>.)
  • In Windows, the EasyUEFI tool should be able to handle the job, although I've only toyed with it briefly, so I can't give detailed instructions.

Be aware that in any of these cases, you may have leftover files on your EFI System Partition (ESP). You can delete them through normal file-manipulation commands, although depending on your OS, you may need to explicitly mount the ESP. If they aren't referenced, the files won't do any real harm, unless they consume so much space that they prevent you from installing another OS or updating your boot manager. The files will normally be stored in subdirectories of the de >EFIde> directory on the ESP; most OSes create subdirectories named after themselves or the companies that create them, such as de >EFI/ubuntude> for Ubuntu or de >EFI/Microsoftde> for Windows.

  评论这张
 
阅读(21)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017