rEFInd and _two_ FREEBSD systems on the same disk on the same UEFI laptop
Per Hedeland
per at hedeland.org
Wed May 27 13:32:43 UTC 2020
On 2020-05-27 08:40, Masachika ISHIZUKA wrote:
>> Has anyone installed two BSD (say -RELEASE and -STABLE) on the same disk on the same UEFI machine using rEFInd?
>
> I'm using rEFInd and /dev/ada0p9 is / for 12.1-release and
> /dev/ada0p10 is / for 13-current.
>
> I copied /boot/loader.efi (from current) to /EFI/freebsd/loader.efi.
>
> /EFI/refind/refind.conf is like the following.
>
> menuentry FreeBSD-release {
> loader /EFI/freebsd/loader.efi
> options "rootdev=disk0p9 autoboot_delay=1"
> icon /EFI/refind/icons/os_freebsd-release.png
> }
>
> menuentry FreeBSD-current {
> loader /EFI/freebsd/loader.efi
> options "rootdev=disk0p10 autoboot_delay=1"
> icon /EFI/refind/icons/os_freebsd-current.png
> }
Brilliant! I successfully replaced my ugly hack with this approach.
Thanks!
--Per
More information about the freebsd-questions
mailing list