NVMe FreeBSD boot, take 2

Continuing from previous post, I looked around a bit more and discovered that rEFInd – which I skipped before – is simpler.

The documentation is way better as well and its configuration format is not XML and easier to understand. And it doesn’t have much in the way of hackintosh options as it’s more of a general use boot manager.

The default package is missing the all-important NVMe driver but the one from Clover can be reused. The same with shell console option. In the end, my efi directory looks like this:


That bootx64.efi is the renamed refind_x64.efi and the other .efi files are taken from Clover (with shell.efi from Shell64.efi).

The config is also really simple:

timeout 5
use_nvram off

Shorter timeout, disable fancy graphics, and use filesystem instead of nvram for storing boot loader variable. The rest are correctly configured including booting to the closest (or previously used) EFI bootloader – in this case FreeBSD EFI.

That’s great, and only took me less than an hour to configure everything.

Oh, and the FreeBSD boot options are now showing properly as well. It was gone when I tried Clover.

As a bonus, I moved around some RAM sticks and now it is running at 1600 Mhz instead of previous 1333 Mhz. The capacity stayed the same though at 16 GB. I wanted to have a bit more RAM but the only 1600 Mhz sticks I have are 8 GB and I kind of want to have a bit more RAM for dev server.

I’m not sure why I’ve never mentioned it but I just stick those efi files in a small flash drive and tell the BIOS to boot from it. MBR/GPT doesn’t seem to matter.

Leave a Reply

Your email address will not be published. Required fields are marked *