Date: Wed, 27 May 2020 15:32:32 +0200 From: Per Hedeland <per@hedeland.org> To: Masachika ISHIZUKA <ish@amail.plala.or.jp> Cc: salvatorembartolotta@libero.it, questions@freebsd.org Subject: Re: rEFInd and _two_ FREEBSD systems on the same disk on the same UEFI laptop Message-ID: <e0e3da73-8036-c192-31e9-023dd5e4fbbd@hedeland.org> In-Reply-To: <20200527.154010.456241527955787106.ish@amail.plala.or.jp> References: <1590634251.1341132.1590515827296@mail1.libero.it> <20200527.154010.456241527955787106.ish@amail.plala.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0e3da73-8036-c192-31e9-023dd5e4fbbd>
