去除在开机BIOS启动菜单(uefi菜单中)出现的ubuntu启动项
2013-05-14 21:18
465 查看
You should be able to do this via a Live Ubuntu CD.
Install efibootmgr:
Then add to the kernel efi support
Then run
Then delete the option you dont want. In this example, Ubuntu is entry 5. the following could be called to delete entry 5 and remove it from the BootOrder.
Further details described here: http://linux.die.net/man/8/efibootmgr
Note - as for anything that changes your MBR - ensure you have a good disk image that you can restore to.
Install efibootmgr:
sudo apt-get install efibootmgr
Then add to the kernel efi support
sudo modprobe efivars
Then run
sudo efibootmgrto check your boot entries. It will return something like this:
BootCurrent: 0004 Timeout: 2 seconds BootOrder: 2001,0003,0005,0006,0000 Boot0000* Lenovo Recovery System Boot0001* EFI Network 0 for IPv6 (B8-88-E3-84-F3-EF) Boot0002* EFI Network 0 for IPv4 (B8-88-E3-84-F3-EF) Boot0003* Windows Boot Manager Boot0004* EFI USB Device (SanDisk) Boot0005* ubuntu Boot2001* EFI USB Device
Then delete the option you dont want. In this example, Ubuntu is entry 5. the following could be called to delete entry 5 and remove it from the BootOrder.
sudo efibootmgr -b 5 -B
Further details described here: http://linux.die.net/man/8/efibootmgr
Note - as for anything that changes your MBR - ensure you have a good disk image that you can restore to.
相关文章推荐
- 删除ubuntu冗余的开机启动菜单
- 解决安装ubuntu系统时,出现机器以UEFI模式启动了安装器的问题
- Ubuntu13.10 开机启动菜单 删除多余的内核(旧版本) 调整不同操作系统的启动顺序
- 【原】更改ubuntu15.04的开机启动等待时间和启动项
- 关于Ubuntu开机启动菜单grub2(选择内核、删除内核、调整内核启动顺序)
- 在装有xp与ubuntu双系统,开机启动后出现grub rescue,如何恢复grub
- ubuntu10.10下内核编译,解决开机启动出现Could not load /lib/modules/.../modules.dep的问题
- 在安装Win7时,出现提示“Windows无法安装到这个磁盘。这台计算机的硬件可能不支持启动到此磁盘。请确保在计算机的bios菜单中启用了磁盘的控制器。”
- 修改Ubuntu开机启动菜单
- Ubuntu启动/引导修复+重新设置直接进入windows启动项选择菜单
- 【原】更改ubuntu15.04的开机启动等待时间和启动项
- 【原】更改ubuntu15.04的开机启动等待时间和启动项
- ubuntu 12.4 的开机启动updae-rc.d
- ubuntu开机启动svn(添加自启动)
- Ubuntu 10.04 禁止mysql服务开机启动
- ubuntu16.04 程序开机自启动设置及启动优化
- ubuntu开机自动启动程序设置
- 【转】Ubuntu重装,直接进win7,不进linux的解决方案(添加Ubuntu启动菜单)
- ubuntu中设置xampp开机启动
- 安装Ubuntu 9.10后,每次开机都要光盘引导启动的问题