我从我的双启动中删除了 ubuntu 分区。现在我只运行鹦鹉安全。每次我启动我的机器时,它都会陷入 GRUB 错误,因为它会自动引导到 Ubuntu,而 Ubuntu 已经不存在了。当我从命令行运行 efibootmgr 时,会出现
$efibootmgr
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,3000,0001,2001,2002,2003
Boot0000* Ubuntu
Boot0001* parrot
Boot0014* Internal CD/DVD ROM Drive (UEFI)
Boot2001* USB Drive (UEFI)
Boot2002* Internal CD/DVD ROM Drive (UEFI)
Boot3000* Internal Hard Disk or Solid State Disk
Boot3004* Internal Hard Disk or Solid State Disk
Boot3005* Internal Hard Disk or Solid State Disk
当我删除 Ubuntu 条目时,它会成功删除:
#efibootmgr -b 0000 -B
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 3000,0001,2001,2002,2003
Boot0001* parrot
Boot0014* Internal CD/DVD ROM Drive (UEFI)
Boot2001* USB Drive (UEFI)
Boot2002* Internal CD/DVD ROM Drive (UEFI)
Boot3000* Internal Hard Disk or Solid State Disk
Boot3004* Internal Hard Disk or Solid State Disk
Boot3005* Internal Hard Disk or Solid State Disk
但是当我重新启动我的机器时,它又回到了那个 GRUB 错误,当我进入引导选项时,我看到 Ubuntu 条目仍然存在。我怎样才能摆脱它?