ShimSource is none
Installing rEFInd on Linux....
The ESP doesn't seem to be mounted! Trying to find it....
Mounting ESP at //boot/efi
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.
Could not identify ESP in AddBootEntry()!
Existing //boot/refind_linux.conf found; not overwriting.
检查磁盘分区fdisk -l显示
Device Start End Sectors Size Type
/dev/sda1 40 409639 409600 200M EFI System
/dev/sda2 409640 500409639 500000000 238.4G unknown
/dev/sda3 500410368 500819967 409600 200M Apple HFS/HFS+
/dev/sda4 500819968 502917119 2097152 1G Linux filesystem
/dev/sda5 502917120 977104895 474187776 226.1G Linux LVM
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "macOS High Sierra" {
insmod hfsplus
set root=(hd1,gpt2)
chainloader /System/Library/CoreServices/boot.efi
boot
}
注意/dev/sda2是Mac分区,这里可以通过parted工具显示分区信息的对应的编号
# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA APPLE SSD SM0512 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 256GB 256GB
3 256GB 256GB 210MB hfs+ Linux HFS+ ESP
4 256GB 257GB 1074MB ext4
5 257GB 500GB 243GB lvm