From owner-freebsd-stable@freebsd.org Fri Jan 11 22:08:19 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5BD4149F74A for ; Fri, 11 Jan 2019 22:08:18 +0000 (UTC) (envelope-from walterp@gmail.com) Received: from mail-it1-x131.google.com (mail-it1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1E578A6D9 for ; Fri, 11 Jan 2019 22:08:17 +0000 (UTC) (envelope-from walterp@gmail.com) Received: by mail-it1-x131.google.com with SMTP id h65so4951077ith.3 for ; Fri, 11 Jan 2019 14:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6E46GJ75CenLUFkmStB8wVEhGoxgOdwp9wYN1jb3dSE=; b=tS/Bhw3D0ON+yUMPRmzT4DU2mbKEl3vYzMzUAkFQH3Oi14P6V7T9B2cVynffYJBwi0 +3ylYzz6ScQpxys79JNdBs95Pdzwzt5p1v3n1VeJFn1Sbxjl1wcEeVLp4M/4kZDhbF3n yu13GOFbjSQqCGUEeKzPi3z3gYGgYmLyfwoa5YluA34sunpiTWYUnT+PSMwZrBRtaQ4w tQhpal7jfEfJBMcKm+5kIKRDZEW6FwRQU55EtLO9mbHUYYmByHHfeAgqAAQ8XqWk+ERq lHTfZEA0QGM6i/OJGAwrvYDnCVzQ/GBmP3Fz+5VAQL61wuOMe3tVipABeFmTHfARUO36 V8IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6E46GJ75CenLUFkmStB8wVEhGoxgOdwp9wYN1jb3dSE=; b=UdtEU2ssWqt3m/qYYsPD5pY/rSmCeRAKmYFpwj3wqj9dW8I1TvMsCQpjydm8tyRTHz vYVt7zR/uVmQ//mYdEIGb/O/HgG8l+78aoAJz1tWZrhD2zRLd/EE/IInHbsb7Jpx5FEF MNdyZHjWh1rWClsWQVOj4uIpBxsqYrFLk7PVTIVL10xhnpz3jAgLKtGABuatGiA/qnty M+Z9r2CiBAIeokFd7Y3EAy/HB4Tz06ohSiWJDgsbWDom38Y6dCDv1JOHfG9Ow7c+FzCS Xt9s0F6wKf8W1srvWy6tfxpbUIhxgmjJSphQ2tJ1JN3Q3PEHfERRXzi3gPTSlpUXvSLa DK+Q== X-Gm-Message-State: AJcUukfWj6HjHrqGQlz4YFtuZE7Acx4JOMHFlSXwDyM1is+wKsvWlrOp mPidyBAHJ8f/wEXWQEkyr7uajFrruy8oj/+xY+fySg== X-Google-Smtp-Source: ALg8bN4csSeqJc5ci//EVr7ij4YEBz1P/mLLj3+wYBvx+AS74dSdCujPtQHjDPfTvDvlHUx1zmFb4tUnSkbKOZpTvDI= X-Received: by 2002:a02:97a2:: with SMTP id s31mr11169219jaj.82.1547244496646; Fri, 11 Jan 2019 14:08:16 -0800 (PST) MIME-Version: 1.0 From: Walter Parker Date: Fri, 11 Jan 2019 14:08:07 -0800 Message-ID: Subject: Boot from one drive and load FreeBSD from another To: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: D1E578A6D9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tS/Bhw3D; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of walterp@gmail.com designates 2607:f8b0:4864:20::131 as permitted sender) smtp.mailfrom=walterp@gmail.com X-Spamd-Result: default: False [-6.08 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[1.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.66)[-0.663,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(-2.40)[ip: (-7.84), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-1.76), country: US(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2019 22:08:19 -0000 Hi, I'd like to boot FreeBSD 12 on a system where the OS is installed to a ZFS pool that can't be booted by the OS. This is a pre-UEFI machine. It has a pair of SAS drives and 3 PCIe slots. What I'd like to do is put the boot loader on the SAS drive and then have FreeBSD load from a ZFS mirror created using 2 nvme SSD drives on PCIe to M.2 adapter cards. The BIOS is old enough that it will not boot from a PCIe card. If I create a FreeBSD-boot partition on the SAS drive and a FreeBSD-zfs partition on the ZFS mirror, will the boot partition loader automatically find the ZFS pool? If not, is there anything special I can do to force a boot? Second, if I want to do this on a second machine that does have UEFI, can I do the same thing? This time, I think would I would do is put a UEFI boot partition on the SAS drive and have it find the FreeBSD-zfs partition on the ZFS mirror. Thank you, Walter -- The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis