Install Refind 13 to a boot partition ESP EFI FAT32 disk ada0p1

Add your Tips and tricks to configure and tweak your GhostBSD System here.
Post Reply
wb7odyfred
Posts: 206
Joined: Sat Nov 12, 2016 5:44 pm

Install Refind 13 to a boot partition ESP EFI FAT32 disk ada0p1

Post by wb7odyfred »

https://forums.FreeBSD.org/threads/dual ... ost-625362 Original FreeBSD post here

osenberg said: https://forums.freebsd.org/goto/post?id=498181
# install and others reference to install freebsd by zfs, and when we create boot that we follow my method as follows.

mount -t msdosfs /dev/ada0p1 /media # /dev/ada0p1 Windows10's EFI whose size is better 512M

cd /tmp
# fetch https://nchc.dl.sourceforge.net/project ... 0.13.1.zip
fetch https://nchc.dl.sourceforge.net/project ... 14.0.2.zip
curl -O https://nchc.dl.sourceforge.net/project ... 14.0.2.zip
# https://sourceforge.net/projects/refin ... p/download

unzip refind-bin-0.14.0.2.zip

cd /media/EFI/Boot
mv bootx64.efi bootx64-windows10.efi
cp /boot/loader.efi bootx64-freebsd.efi
cp -a /tmp/refind-bin-0.13.1/refind/icons .
cp -a /tmp/refind-bin-0.13.1/refind/refind_x64.efi bootx64.efi
cp /tmp/refind-bin-0.13.1/refind/refind.conf-sample refind.conf

# vim refind.conf, append:
menuentry "FreeBSD/amd64 -CURRENT" {
loader \EFI\Boot\bootx64-freebsd.efi
icon \EFI\Boot\icons\os_freebsd.png
}

menuentry "Windows 10 Professional x64" {
loader \EFI\Boot\bootx64-windows10.efi
icon \EFI\Boot\icons\os_win.png
}

# create reFind boot
efibootmgr --create --activate --label "FreeBSD" --loader "/media/EFI/Boot/bootx64.efi"
umount /media
exit

It was really helpful for me as a beginner. Thanks a million.
Post Reply