Refind Boot Manager Mac

Hello and welcome to a new episode of Nomadic Dmitry!In this episode we are discussing how to install rEFInd boot-loader to run alternative operating systems. The -ownhfs device-fileoption is a macOS-specific option that causes rEFInd to install itself to an HFS+ volume that you specify by device filename, as in./refind-install -ownhfs /dev/disk2s4. REFInd is a boot manager which allows you to boot multiple operating systems from internal or external hard drives. REFInd automatically detects EFI bootloaders and shows a graphical interface allowing the user to select which operating system they want to start. REFInd is a fork of the rEFIt boot manager for computers based on the Extensible Firmware Interface (EFI) and Unified EFI (UEFI). Like rEFIt, rEFInd is a boot manager, meaning that it presents a menu of options to the user when the computer first starts up, as shown below. REFInd is not a boot loader, which is a program that loads an OS kernel and hands off control to it. REFInd Boot Manager. The majority of times I installed Linux I ran rEFInd on my mac, so I could keep my mac partition and have a separate Linux partition. This last time, however, I was so fed up with OSX and the fact I never used it, I nuked it entirely.I boot purely into the Debian Bootloader now.

This guide shall help you install the rEFInd Boot Manager in your T2 Mac in the safest possible way. Though there are various options to get rEFInd on your Mac, it is recommended to follow the instructions given below unless you know what you are doing.

All steps given here have to be performed on macOS. You will also need to have secure boot disabled.

  1. With the help of disk utility, create a 100-200MB MS-DOS FAT partition and label it as REFIND.
  2. Get a binary zip file of rEFInd from here.
  3. The binary zip file of rEFInd shall be available in the downloads folder by the name of refind-bin-<VERSION>.zip, where <VERSION> represents the version of rEFInd you have downloaded. For eg:- If you have downloaded 0.13.2 version, it will be available as refind-bin-0.13.2.zip.
  4. Extract the zip file (can be done by double clicking on it). The contents shall be extracted in a folder named refind-bin-<VERSION>. Here <VERSION> means the same as described in step 3.
  5. Open the terminal and run diskutil list to get the disk identifier of the REFIND volume created in step 1. A sample output is given below:-

Here, the disk indentifier of REFIND volume is disk0s4.6. Now run the following in the terminal. Make sure you replace disk0s4 (found in 4th, 5th, 6th and 7th line of the command given below) with the disk identifier you got in the output as described in step 5 and refind-bin-0.13.2 (found in 1st line of the command given below) with the name of folder which was created in step 4.

Boot
  1. Now run:-

This will changed the label in the Mac Startup Manager for rEFInd from EFI Boot to rEFInd.

Though rEFInd has many configuration options, some basic configuration is required for a smoother experience on T2 Macs.

Removing BIOS entries¶

Macs with T2 chip cannot BIOS boot. So it is advised to remove the BIOS entries. For that, open finder, and then open the REFIND volume. Add the line given below at the end of EFI/BOOT/refind.conf file by editing it with a text editor.

Remove Refind Boot Manager Mac

In case you face the error saying The document “refind.conf” could not be saved., copy the refind.conf file to any place in your home directory (Downloads folder for example) and do the editing over there. After editing replace the refind.conf file in the REFIND volume with the newly edited file.

Hiding text on booting an OS using rEFInd (Optional)¶

In case you boot an OS other than macOS using rEFInd, it shows some debug text while booting it. In order to get a smooth boot experience simiar to the Mac Startup Manager, add the following line to EFI/BOOT/refind.conf, just as you did to remove BIOS entries.

Refind Boot Manager Mac

Preventing use of NVRAM (Likely to have been enabled already)¶

Preventing use of NVRAM is must as T2 doesn’t like someone to touch the NVRAM. In latest editions of rEFInd, preventing use of NVRAM is enabled by default. You may confirm this by checking presence of use_nvram false line somewhere in the middle of the refind.conf file (the one mentioned in above instructions). Make sure it is not commented (doesn’t have a # before the line). If it is then remove the #.

In case the line is missing, add it at the end of refind.conf file.

In case the line use_nvram true is present instead, change true to false.

After correctly installing and configuring rEFInd, we need to make it boot by default on every startup. In order to do so, restart your Mac and press and hold down the Option key. When the startup manager gets displayed, release the Option key. Now press and hold the Control key and without releasing the Control key, boot into the rEFInd startup disk. Now on every startup, rEFInd will get displayed by default.

Note :- This step has to be performed every time you update macOS to a newer version, as this makes the macOS startup disk as the default startup disk.

Sometimes, while booting into macOS using rEFInd, users get stuck at a blank screen. This bug is observed only if you have performed a force/unsafe shutdown by pressing and holding the power button in the previous boot. Some users have also faced it in the first macOS boot using rEFInd on new rEFInd installations. In order to fix it, turn off your Mac and restart while holding down the Option key. Release the Option key when the Mac Startup Manager gets displayed. Boot into macOS using the Mac Startup Manager. This shall fix the bug for subsequent boots.

In case you wish to uninstall rEFInd, boot into macOS and follow the steps below :-

  1. Open the Disk Utility
  2. Select the partition on which macOS is installed (it generally has the label Macintosh HD until you have renamed it manually).
  3. Click on Partition.
  4. Select the REFIND partition and click - to remove it. Your macOS partition should expand to fill the space that rEFInd was in.
  5. Click on Apply. Disk Utility will remove the REFIND partition and expand your macOS partition. This may take a while, but do not interrupt this process.
  6. Change the default startup disk to the OS you wish to be boot by default.

If the OS you wish is macOS or Windows, follow Apple's documentation where you have to follow the Change your startup disk for every startup section.

If the OS you wish is Linux, follow the Startup Manager Guide.

Reference - This guide has been inspired from here.

rEFInd - Official website of rEFInd.

Refind Boot Manager Mac

Theming rEFInd - Useful guide to set custom themes for rEFInd.

So I’ve installed Ubuntu on the metal of my MacBook Pro Retina (13 inch, ifyou must know) and in order to dual-boot the machine, I use the rEFInd BootManager.

Refind

It works really well and was simple to configure, but I found that afterupgrading to Yosemite (10.10), Mac OS X became the default boot OS, whereasrEFInd was booting by default originally.

Originally, this was fine, I dealt with just holding the Option key downduring boot to bring up the Startup Manager and selecting EFI Boot inorder to get into Linux. I wasn’t restarting the computer that much anyway.But like most things, eventually, it irked me enough that I set out to fix it.

Normally, in OS X, to change the boot drive, you’d use System Preferences andchange your Startup Disk but in this case, you won’t see your EFI partitionavailable to be selected. Likewise, even if you go ahead and follow rEFInd’smethod for mounting the EFI partition, you’ll find that it’s not selectable asa Startup Disk. Or, even if you can, selecting it and restarting makes no difference.

So, what’s a guy to do? Turns out you can hold the Control key downprior to clicking onto a volume/device in the Startup Manager to set thatvolume as the boot default! So, I held down Control, clicked EFI Bootand that’s that.

Refind Boot Manager For Mac

This worked for me on my 2011-era Mac, now running OS X 10.10, but since thisoption isn’t officially documented anywhere that I can see, it could go awayat any time. Try it and add a comment below with your results.

Refind Boot Manager For Mac

Thanks to Macworld for the solution!

As a side note, it’s interesting to see the UI for Mac OS has barely changedin decades for selecting a Startup Disk.

Go TopBoot

Refind Boot Manager Mac Download

Please enable JavaScript to view the comments powered by Disqus.comments powered by Disqus