From owner-freebsd-questions@freebsd.org Fri Sep 4 20:13:49 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 BEE7A3CE3F6 for ; Fri, 4 Sep 2020 20:13:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 4Bjplw4fkrz4Xqk for ; Fri, 4 Sep 2020 20:13:48 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id e23so7002579otk.7 for ; Fri, 04 Sep 2020 13:13:48 -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 :cc; bh=8drwIkmpH29yv4qUhpdUWXZ7JAYP1zH+5kD9A9J2u3Y=; b=tOjATXB+l+WLs2A0kdcQFbM83FwlCDIlUFX1iZHPo57Ofkwzy9diFeuAKRgdqf7NoU Kb5iov4Wd9WdM/lKdX+8DT2aPxoJBgkoZ/uI5eNqasoRBZh9sLjh+TGa2IZX5lJz8eEV DRK08a8Rgyz0MPBoolcOOmABcsNMGiYGKQb47opC0z2Vw3aBEV0kDBPUZLCm/yPhsvCI I8lbxGoVsmTnPXhbIb5WGPpC6Gyx4EqqoTrHWFWmLEd41JZXBG4mz30p0hl5ZK3PrESE U4R2kIMT4jhheYIiEYm9puDO93ygKfMVqdKM8px5xpxulIqP+be7jqoaWH9Jj7l4OtWN V/yw== 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:cc; bh=8drwIkmpH29yv4qUhpdUWXZ7JAYP1zH+5kD9A9J2u3Y=; b=KjJBNSKSI/PICAIoCiAh5yLywAVwSvqB/T8ZMR0J+y991YXz6OFcgxeLMtHY2PdckX 17qjQaoG2eYL0NQBrJMjdMLg8aB/1AMgpZVHO53HE1I0Tt0CYr5oFbNr9yf/dEN+deNq XbHPpy60nTL65QWYhNz797NIGGSx06fz/ZvZfsol1MnXyw6g578iO+1UpOkCZQ6IsJNU xkUDA2/eTZTM6vjjW1iZ1n0KGPtk/RyQ57CJbv8kKvugPZa8Q3pv43p8i7mRMYGXpqdj hipPuhn7omz0fSDUZ1GUgK4xyqr89FVjhmuyUUj0WxPUDMeDW8dq1LThV03ICa1aiPTX qmHQ== X-Gm-Message-State: AOAM533dIBpZQ8TvZjyxsw76DYOF04DYqUh3bDHKtXaK+sMsURUWYPZ8 hKRl7WtkdVg6GJ0ufM3xTm8H+wmfqXbv+3mOos8= X-Google-Smtp-Source: ABdhPJz9a7oyyLsNyOAkPGrGKNeaOh+jJKbLtCCvWw9qNwErR0fV48y4Bx2JfxtbWx8mHuMxdtF9IJw00W/pEAW8tso= X-Received: by 2002:a9d:ea5:: with SMTP id 34mr6892314otj.199.1599250427336; Fri, 04 Sep 2020 13:13:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Fri, 4 Sep 2020 13:13:31 -0700 Message-ID: Subject: Re: freebsd-questions Digest, Vol 847, Issue 5 To: Walter Parker Cc: Mailinglists FreeBSD X-Rspamd-Queue-Id: 4Bjplw4fkrz4Xqk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tOjATXB+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::32e as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.68 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.982]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.011]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.988]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32e:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 20:13:49 -0000 On Fri, Sep 4, 2020 at 9:25 AM Walter Parker wrote: > > > > > > Message: 3 > > Date: Thu, 3 Sep 2020 19:52:02 -0700 > > From: Kevin Oberman > > To: questions@freebsd.org > > Subject: UEFI dual boot > > Message-ID: > > < > CAN6yY1trVp2Sj2b1XDx1bzL9DDpY+Ap1rns9Dt4e9A6k+gzMCg@mail.gmail.com> > > 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 > Thanks, Walter! That is exactly what I was looking for. Clearly written and the case is exactly like mine... making a new Windows system dual boot FreeBSD. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683