Skip to content

Instantly share code, notes, and snippets.

@dch
Forked from anonymous/dpaste.de_snippet.py
Created May 23, 2016 19:35
Show Gist options
  • Select an option

  • Save dch/7a579d1761a713d81da950331d40b0bf to your computer and use it in GitHub Desktop.

Select an option

Save dch/7a579d1761a713d81da950331d40b0bf to your computer and use it in GitHub Desktop.
FreeBSD & Ubuntu-based refind.conf
# textmode 2
#resolution 2880 1800
resolution 1440 900
timeout 5
# ignore FreeBSD loader in native FAT EFI partition
dont_scan_dirs /boot /EFI/freebsd /EFI/ubuntu
dont_scan_files boot1.efi
menuentry "FreeBSD 11.0-current" {
loader \EFI\freebsd\current.efi
options -v
}
menuentry "FreeBSD 10.3R" {
loader \EFI\freebsd\10.3r.efi
options -v
}
showtools shell, gdisk, memtest, mok_tool, apple_recovery, windows_recovery, about, reboot, exit, firmware, fwupdate
# A sample entry for loading Ubuntu using its standard name for
# its GRUB 2 boot loader. Note uses of Linux-style forward slashes
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
}
# a better theme
# include themes/next-theme/theme.conf
include themes/rEFInd-minimal/theme.conf
@dch

dch commented May 23, 2016

Copy link
Copy Markdown
Author
  • copy FreeBSD's boot1.efi to /EFI/freebsd/current.efi or /EFI/freebsd/10.3r.efi for example, to keep boot loaders separate
  • use boot environments to switch between the appropriate zfs boot datasets for each release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment