首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >efibootmgr中的奇怪输出

efibootmgr中的奇怪输出
EN

Ask Ubuntu用户
提问于 2020-12-05 13:11:03
回答 1查看 354关注 0票数 0

我在我的macbook 2012上安装了boot,双启动,并重新找到。

Ubuntu重写了重新查找,efibootmgr给了我奇怪的输入,包括旧的东西(比如kali,但我删除和删除了分区)

代码语言:javascript
复制
Timeout: 5 seconds
BootOrder: 0000,0002,0004,0003,0080,0001
Boot0000* ubuntu
Boot0001* 瑰污Ȩ
Boot0002* 瑰污Ȩ
Boot0003* kali
Boot0004* Ð瑰污Ȩ
Boot0080* Mac OS X
Boot0081* Mac OS X
BootFFFF*

我怎么才能把这个打扫干净?我只想要: refind (安装在mac上),然后是macos和ubuntu。

没有比这更多了

EN

回答 1

Ask Ubuntu用户

发布于 2021-03-03 00:17:02

我只是遇到了同样的问题。对我起作用的是删除汉字引导条目,并手动重新添加重新查找作为启动条目。

下面是我使用的命令。

代码语言:javascript
复制
efibootmgr -v
#at this point, check the numbers of the boot entries.

sudo efibootmgr -b 0001 -B
sudo efibootmgr -b 0002 -B
sudo efibootmgr -b 0004 -B
#remove all of the Chinese character boot options. For you the boot numbers appear to be 0001, 0002, and 0004.

sudo nautilus /boot/efi
#this helped me determine the file path for refind on my system. In my case it was /boot/efi/EFI/refind/refind_x64.efi

df -h
#view all of your system partitions. You need to determine which partition on your system corresponds to /boot/efi

sudo efibootmgr -c -d /dev/sda -p 1 -L refind -l /EFI/refind/refind_x64.efi
#you can type "man efibootmgr" for more information. You need to determine which partition on your system corresponds to /boot/efi and put the number of that partition after the -p option.

efibootmgr -v
#at this point, check the numbers of the boot entries. In my case refind was 0000 and ubuntu was 0001.

sudo efibootmgr -o 0000,0001

有关更多信息,请参见:https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1297677

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档