Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2017 02:12:57 +0100
From:      Holger Herrlich <holger.herrlich@arcor.de>
To:        freebsd-hackers@freebsd.org
Subject:   dualboot FreeNAS and FreeBSD
Message-ID:  <20171209021257.6361c33e@bivalve.fritz.box>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171209021257.6361c33e>