From owner-freebsd-hackers@freebsd.org Sat Dec 9 03:09:46 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 826EFE9AAC7 for ; Sat, 9 Dec 2017 03:09:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB8ED71703 for ; Sat, 9 Dec 2017 03:09:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x243.google.com with SMTP id r13so914424iod.2 for ; Fri, 08 Dec 2017 19:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FtU/82KONP1oVgnueIoVNREpfL7ThhbEudcv4mC/oMU=; b=nKKw+H+ggePepi8J5b7eJgh+a2f/bE+jgI4a/V6xJGm4uv4XkMTZyZ37VFQLHU2vNY ovfYkrPMTikylcwu6RP7y0rL7+sjOOm2MhaCT67RLtIf5Lza95Pf4GG5a+3ezkUjb7zK F/DOndLpUpjv1MKFdlYdvjSut5Xe8wZnR9f6SciUF3aTD1y0TcPE/oECJ0ph9cjJXhFa E70zY16NadeIQnSigI4E+iiEeWPifd5gZnmglQuob+miU0WO9OQYE++fViGE66w7xuYo UYnWgJgFcCdPcjsIyFqkmtVfA2AtjbaNUTuZrQ9MFQ2OxOFrttfQxdVuGWdpdEGA+Fpv 1Tog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FtU/82KONP1oVgnueIoVNREpfL7ThhbEudcv4mC/oMU=; b=pzdR2XnLTN2FSMu/ihQnxwHGGTHrlWniqTF2825G1/4GHF7abgrNboSMyTnOCOPBV7 H238JJQIVTpo2C0IoqU40JGzP3gV5/FrxrcxWkRkJ3DMxUFRHkqf4QBVo9z4rtSzO6P5 aYjLgEX/P5s3FfTuOAdX5W0zcXpZHD1sq7N5T5zZETnRoiG/T06ErmiNRdgH+jBtP0NU oFtvE9QdYLZC6rTxIJ6cU8DTgJrJuRHdovTdfXoxix/Zt+MWxasvTD3oSIcKD6xjXSCh Zw8Jfi7b4zisIAv42PMhBPVL0IVDDvQOA8s2crhG76TvbZU3tec77WiugVMyMNsFOucK 88GA== X-Gm-Message-State: AJaThX7TeNp02/VmJ4ussF4cg/W7mC2EmHhAHzLN18RZAvm8TLA4JF5E W+5Y8rOtR0ptH+0tLQMDLaWWumO0gaNxjEwrAl0lgw== X-Google-Smtp-Source: AGs4zMb2p9gePtdiuquBsocaCMAoF6qBIL995UkSIT279FxCXgOsITjKUMSrsJqLKFUn19sDg6BNiy70xMzFbWX/flo= X-Received: by 10.107.81.24 with SMTP id f24mr43851284iob.63.1512788982276; Fri, 08 Dec 2017 19:09:42 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.108.204 with HTTP; Fri, 8 Dec 2017 19:09:41 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <20171209021257.6361c33e@bivalve.fritz.box> References: <20171209021257.6361c33e@bivalve.fritz.box> From: Warner Losh Date: Fri, 8 Dec 2017 20:09:41 -0700 X-Google-Sender-Auth: 3eiFHA2RmEpRMYYL3EXqwcIa4qs Message-ID: Subject: Re: dualboot FreeNAS and FreeBSD To: Holger Herrlich Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 03:09:46 -0000 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 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" >