Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 20:09:41 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Holger Herrlich <holger.herrlich@arcor.de>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: dualboot FreeNAS and FreeBSD
Message-ID:  <CANCZdfpGhDsoLE91ha%2BCr7LRtg3YnxG07W_nNZLccDRVV_5QKw@mail.gmail.com>
In-Reply-To: <20171209021257.6361c33e@bivalve.fritz.box>
References:  <20171209021257.6361c33e@bivalve.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
Current boot blocks don't quite support what you want to do. I'm about to
commit efibootmgr which should help get us closer.... One or two more
tweaks needed for loader.efi still....

Warner

On Fri, Dec 8, 2017 at 6:12 PM, Holger Herrlich <holger.herrlich@arcor.de>
wrote:

>
> Hi,
> I want to dual boot a FreeBSD based FreeNAS and FreeBSD. While booting
> FreeNAS succeeds, FreeBSD is inaccessible (FreeNAS always ever boots).
>
> constraints:
> The FreeNAS install is either:
>  a BIOS system partition based boot
>  or a EFI system partition based boot
>  deploying GPT partitioning scheme
>
> note:
>  The dual boot is required in order to access HW.
>
>
> ## PROBLEMS ##
>
> Using refind:
>
> a) Selecting by GPT partition type (freebsd-zfs/freebsd-ufs):
> Deploying the FreeBSD's efi-loader (boot1.efi) will search for
> freebsd-ufs and freebsd-zfs partitions, prefering freebsd-zfs.
>
> b) Selecting by zfs pool or dataset/filesystem by ID.
> boot1.efi neither can choose a zfs pool nor a dataset by ID.
> First found rules.
>
> c) Loading FreeNAS using boot1.efi and FreeBSD by directly loading the
> loader (3rd stage).
> refind is missing a ufs driver.
>
> ----
>
> I will try to configure one of the FreeNAS's GRUBs already in use.
> However, may an efi-loader be "manufactured" the way to boot one
> certain BSD install.
>
> What about the boot.conf mentioned in boot(8).
>
>
> Thanks Holger
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpGhDsoLE91ha%2BCr7LRtg3YnxG07W_nNZLccDRVV_5QKw>