From owner-freebsd-questions@freebsd.org Fri Sep 4 16:25:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D0A5A3C7E88 for ; Fri, 4 Sep 2020 16:25:35 +0000 (UTC) (envelope-from walterp@gmail.com) Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bjjhb2Vk3z4HSl for ; Fri, 4 Sep 2020 16:25:35 +0000 (UTC) (envelope-from walterp@gmail.com) Received: by mail-il1-x142.google.com with SMTP id p13so6875273ils.3 for ; Fri, 04 Sep 2020 09:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JnRqe1FFWfX5GEi2Qfx7oCvJcJQnlhXPUeBE/uuu38k=; b=dm/lqaTPfR38+OyKLeG/q/cOhreyj27mL5MHw/12XOpZBAgXp789LKgfF2EDmHXE44 reilzAZxG8+xuKiuPoeqggvypSVGbtB7unjAHf8Gsen1nODW8oldYeO/QKi4NoYIrCVM yi1Dq8NPEM7mPIThPBb+2v5Z5n3KSTu6NsIktcDofGhtDd7FUfRb111rOZti8TaBEWWF dnoDSV3/OdpnMwWUP64RZN/aKV8xjfQ12vdCA5enrrUjAQWuCt9/qn7u6I+1fWt6NpTN /HrpcGlElVGwXhWG4mSqd9jIJxxP5pz7u7dZISpupn7a+33iVjZ/Tt5/4Pj4rQ+VSkdF 3xgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JnRqe1FFWfX5GEi2Qfx7oCvJcJQnlhXPUeBE/uuu38k=; b=IPSGnOEPczc2uctWtQUk7RsxiR0ztjUD+LDqWFCObcVY62UuuITlW5izjRzeq8iSsE cSFUo3BLhT+YQpDiQ6lneiWgP6M48FY/jGsVoEUXWx1jWg7k681sQROA6Da560LH6YBG Ue7CAf68gFdYWRXZiPSngKTDigcoSuL5yVQ98qF1a1yWIlvT9HEyD1lIroF50O4Ja8k0 ppJSxwQ8GXa2akCIR4uuFVTz7myW5hwe7l9ccHU5+wUeURnxT6offAwIKqQt5ERPhyNJ 5Wb+RPrG2bEfyvuK9lDYUvgK0kQ4YITu9c35sjV285qwjuB2mg1DhgawhBn9Oo4Sc0id Oyqw== X-Gm-Message-State: AOAM530oe9/zfm1phLC/Tmj5PmCh2JwBTNxPUaywrYURPkwDaMWh7fzq YNe70XTNVTeUo8otqZX23/9UpaPUoSRnKro90tXJpm8H9VE= X-Google-Smtp-Source: ABdhPJwl5Ce1QO9N+MTdI5cJRU3Ec9yJnsgunlHtkeB+hfqI2SymbTtC38iPJdbuOprFbmQnI5eBZ7irp3Uihukwcmo= X-Received: by 2002:a92:ad08:: with SMTP id w8mr9105971ilh.229.1599236734167; Fri, 04 Sep 2020 09:25:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Walter Parker Date: Fri, 4 Sep 2020 09:25:23 -0700 Message-ID: Subject: Re: freebsd-questions Digest, Vol 847, Issue 5 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Bjjhb2Vk3z4HSl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dm/lqaTP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of walterp@gmail.com designates 2607:f8b0:4864:20::142 as permitted sender) smtp.mailfrom=walterp@gmail.com X-Spamd-Result: default: False [-3.11 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.02)[-1.025]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.997]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::142:from]; NEURAL_HAM_SHORT(-0.09)[-0.092]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 16:25:35 -0000 > > > Message: 3 > Date: Thu, 3 Sep 2020 19:52:02 -0700 > From: Kevin Oberman > To: questions@freebsd.org > Subject: UEFI dual boot > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > I just received a new laptop, the first to only support UEFI. I have shrunk > the Windows partition and used bsdinstall from the memstick to install > FreeBSD 12.1. The partitioning went fine, except that there are now to efi > partitions, the one previously on the drive for Windows 10 and the one the > install created. > > I now need to learn the magic of configuring boot. I have looked at the > wiki tutorial and the efibootmgr(8) man pae, but I am missing something > basic. > > Should I have two efi partitions? If so, how does the system figure out > which to use? Into which does the efi loader go? > > This is further complicated by not having been able to get the network up, > so I can't upload my configuration. (This is an unrelated issue as I can't > get W10 to connect to my network, either.) > > Anyway, pointers to useful documentation or a cluebat would be appreciated. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > A clueball: you only need one EFI partition on a system. The FreeBSD UEFI data goes in a subdirectory on the UEFI partition (which is DOS FAT partition). IIRC the directory should be named something like FreeBSD. To boot FreeBSD, you would tell the UEFI firmware to add FreeBSD to the boot list by selecting the FreeBSD directory on the EFI partition. Another solution would be to use someline Refind to setup a multiboot loader rather than using Multiple firmware entries. A quick Google search shows a gist that talks about this at https://gist.github.com/zeising/5d2402d92b4cf421c7402d663b2d9e41#file-gistfile1-txt That link documents how to setup and configure at the UEFI level. Walter -- The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis