首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >格式化Mac分区后删除rEFInd

格式化Mac分区后删除rEFInd
EN

Ask Ubuntu用户
提问于 2014-10-15 07:55:33
回答 1查看 1.7K关注 0票数 0

我最近在我的MacBook Pro 9,2上安装了ubuntu14.04,我和Mac并排安装了它,并使用rEFInd引导到ubuntu,然后我决定使用Mac分区作为我在ubuntu中的主文件夹,所以我格式化了它并将我的主文件夹移到了新的格式化分区中,在重新启动计算机后发现rEFInd加载器是用分区格式化的,通过在闪存驱动器上安装rEFInd并从它启动,我已经尝试通过取消使用install.sh文件再次安装rEFInd,但是也没有成功,它给了我以下信息:

代码语言:javascript
复制
Installing rEFInd on Linux....

ESP was found at /boot/efi using vfat

Found rEFInd installation in /boot/efi/EFI/refind; upgrading it.

Installing driver for ext4 (ext4_x64.efi)

Copied rEFInd binary files

Notice: Backed up existing icons directory as icons-backup.
Existing refind.conf file found; copying sample file as refind.conf-sample
to avoid overwriting your customizations.

An existing rEFInd boot entry exists, but isn't set as the default boot
manager. The boot order is being adjusted to make rEFInd the default boot
manager. If this is NOT what you want, you should use efibootmgr to
manually adjust your EFI's boot order.
Installing it!

ALERT: There were problems running the efibootmgr program! You may need to
rename the refind_x64.efi binary to the default name (EFI/boot/bootx64.efi
on x86-64 systems or EFI/boot/bootia32.efi on x86 systems) to have it run!
Existing //boot/refind_linux.conf found; not overwriting.

ALERT:
Installation has completed, but problems were detected. Review the output for
error messages and take corrective measures as necessary. You may need to 
re-run this script or install manually before rEFInd will work.    

现在,当我通常引导我的mac时,只有恢复系统,而当我按alt键时,我得到了windows选项,但在引导到它方面没有成功。请帮帮忙!为我的英语道歉

  • 注意:我还尝试将文件名更改为bootx64.efi,但它也没有工作。
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2014-10-16 17:37:02

好的,在我看来,我在输出中错误地遵循了修正过程,这就是我所做的和为我自己工作的:

首先使用rEFInd文件安装install.sh

其次,将refind文件夹的所有内容复制到一个新创建的引导文件夹中,此命令将执行以下操作:

Sudo cp -a /boot/efi/EFI/refind/。/boot/efi/EFI/boot/

第三,按照输出中的建议,将refind_x64.efi二进制重命名为默认名称:

sudo cp /boot/efi/EFI/boot/refind_x64.efi /boot/efi/EFI/boot/bootx64.efi

最后一件事是使重新查找引导选项成为启动磁盘,这可以通过在计算机启动时按alt来显示不同的可用选项,然后在选择重新查找磁盘时按下ctrl。

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

https://askubuntu.com/questions/537294

复制
相关文章

相似问题

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