From owner-freebsd-hackers@freebsd.org Sat Dec 9 01:19:42 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27687E94D9F for ; Sat, 9 Dec 2017 01:19:42 +0000 (UTC) (envelope-from holger.herrlich@arcor.de) Received: from vsmx009.vodafonemail.xion.oxcs.net (vsmx009.vodafonemail.xion.oxcs.net [153.92.174.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E48636C8F5 for ; Sat, 9 Dec 2017 01:19:41 +0000 (UTC) (envelope-from holger.herrlich@arcor.de) Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 32B7CC03E2 for ; Sat, 9 Dec 2017 01:13:02 +0000 (UTC) Received: from bivalve.fritz.box (unknown [89.244.120.214]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id A71923006D7 for ; Sat, 9 Dec 2017 01:12:59 +0000 (UTC) Date: Sat, 9 Dec 2017 02:12:57 +0100 From: Holger Herrlich To: freebsd-hackers@freebsd.org Subject: dualboot FreeNAS and FreeBSD Message-ID: <20171209021257.6361c33e@bivalve.fritz.box> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-VADE-STATUS: LEGIT X-Mailman-Approved-At: Sat, 09 Dec 2017 02:52:11 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2017 01:19:42 -0000 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