Skip to content

Instantly share code, notes, and snippets.

@luca-c-xcv
Last active February 6, 2025 23:19
Show Gist options
  • Save luca-c-xcv/67020ff7255da6f3ec8ad469fc6a1a66 to your computer and use it in GitHub Desktop.
Save luca-c-xcv/67020ff7255da6f3ec8ad469fc6a1a66 to your computer and use it in GitHub Desktop.
How to install and customize rEFInd boot manager on Mac

rEFInd on Macintosh

rEFInd is a fork of the rEFIt boot manager. Like rEFIt, rEFInd can auto-detect your installed EFI boot loaders and it presents a pretty GUI menu of boot options. rEFInd goes beyond rEFIt in that rEFInd better handles systems with many boot loaders, gives better control over the boot loader search process, and provides the ability for users to define their own boot loader entries.

Features

  • Support for EFI 1.x and UEFI 2.x computers
  • Support for Mac and PC platforms
  • Graphical and text-mode boot selector
  • Auto-detection of available EFI boot loaders
  • Directly launch Linux 3.3.0 and later kernels with EFI stub loader support
  • Maintenance-free Linux kernel updates -- boot-time auto-detection means that no configuration file changes are needed after a kernel update
  • Manually edit boot-time options
  • Launch EFI programs such as an EFI shell (available from third parties)
  • Launch OS X and Windows recovery tools
  • Reboot into the firmware setup utility (on some UEFIs)
  • Try before installation via a CD-R or USB flash drive image
  • Secure Boot support (requires separate shim or PreLoader program)
  • Includes EFI drivers for ext2/3fs, ext4fs, ReiserFS, Btrfs, HFS+, NTFS, and ISO-9660

Official repo

Installation

  1. Download rEFInd as a zipper
  2. Unzip rEFInd to a USB flash drive.
  3. Reboot in Recovery Mode (while powering up, press Cmd(⌘)+R).
  4. Open the terminal
  5. Go to the rEFInd directory in the pendrive
  6. Run ./refind-install
  7. Follow the instructions
  8. Reboot

Customization

  1. Open the terminal
  2. Create a directory using mkdir mnt.
  3. Mount the EFI partition in that directory using the command sudo mount -t msdos /dev/disk0s1 mnt.
  4. Go to the ~/mnt/EFI/refind directory.
  5. Edit the refind.conf configuration file and save it
  6. reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment