From owner-freebsd-stable@freebsd.org Sat Jan 26 00:29:59 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 7DA8B14A6B15 for ; Sat, 26 Jan 2019 00:29:59 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (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 472E382A37 for ; Sat, 26 Jan 2019 00:29:57 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-vs1-xe2d.google.com with SMTP id z3so6741473vsf.7 for ; Fri, 25 Jan 2019 16:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2I/GB9EA/ItOlyUVpQU51Tb+xuVZOvOhnNE0m+T3NWc=; b=YuJhNUbNpsOWeJWYV7mNjuR3XdtUx3EMBNQIvQnTK5LnWm0BhTHAxcvk0mNqkzQ554 s+mr6iqpomlLnXudOMHXrDkLd506yBAQT5IEmqv/G1u2Q6ZbUgc+KX4iEgJ6ZthTIUeM 7axXPdpC6t2Wufz/n1xQv40YuQc+zPMZh3kjtGvW/H7WSCCMq0XgFmRMueLuzTTMp6FK whkZLGLFECGIVa1o4qvvmEYGudeJ4XgF8jkyef7cVc7zV80gode73qYPdThrV9fUbDpr d1d0yG7M/AL5BzSppB7q6kYViGTa4J2I9O5XbpkOGZn7IjNGFHYOF/fkgaBWBGfhcXiN 02qg== 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=2I/GB9EA/ItOlyUVpQU51Tb+xuVZOvOhnNE0m+T3NWc=; b=qKlg5wM8i3p1Hx90GJ0vTWsO+tRd00cID7Z6A4nGaMH1bX7ukYlw80S5np548edaq/ x8UBG9KQGHN4U1piyvUM3jy1nildi9j4juyWHYJKKIfcu0ir5Dp4ggpqnOxzg8pjfxcr ty760jqm21g0tJcTERPv48fiCMUrVnhvaHNl3tPXNbjgDpMQ+pX0SlehCD9Z3docojXl xB1eJ6wBfA+aGR7OgKse4luQt9Ofh3SqHtjHwluE9KAydC4x1cyspnp+nSOtqLyIfM2L 6PQXNlaGKaVJStmO4ArHZYeindcium6CZxjjwXZmZGSl/eIYqgZkEoxUVy6waKDSuFvg v7MQ== X-Gm-Message-State: AJcUukdEG9+Igi7IAqhkaY2WfFkc3nx0SNU2iLIEUyVzomUAUWswuHPW czWq9yoQpm5tnSMfcot7GiPD6CYkiZAG2qLxlsbZAjZK X-Google-Smtp-Source: ALg8bN7pzcMVce6C8Dn7WOBhZWnl79BJ8gJ9BVV/VBobndJqy6DG5wFk3DEeH+eiZzoKDNguKOMtOlquho54Z3KGegM= X-Received: by 2002:a67:8e8a:: with SMTP id q132mr5043406vsd.210.1548462596418; Fri, 25 Jan 2019 16:29:56 -0800 (PST) MIME-Version: 1.0 References: <7391812a-a2ad-874a-80c9-5a871a29f680@denninger.net> In-Reply-To: <7391812a-a2ad-874a-80c9-5a871a29f680@denninger.net> From: Jonathan Chen Date: Sat, 26 Jan 2019 13:29:40 +1300 Message-ID: Subject: Re: Not sure if this is the correct place.... (laptop, dual-boot EFI) To: Karl Denninger Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 472E382A37 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=YuJhNUbN X-Spamd-Result: default: False [-5.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.13)[0.133,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[chen.org.nz]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[d.2.e.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]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.86)[ip: (-9.80), ipnet: 2607:f8b0::/32(-2.50), asn: 15169(-1.93), country: US(-0.08)] 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: Sat, 26 Jan 2019 00:29:59 -0000 On Sat, 26 Jan 2019 at 13:00, Karl Denninger wrote: [...] > I'd like to repartition it to be able to dual boot it much as I do with > my X220 (I wish I could ditch Windows entirely, but that is just not > going to happen), but I'm not sure how to accomplish that in the EFI > world -- or if it reasonably CAN be done in the EFI world. Fortunately > the BIOS has an option to turn off secure boot (which I surmise from > reading the Wiki FreeBSD doesn't yet support) but I still need a means > to select from some reasonably-friendly way *what* to boot. The EFI partition is just a MS-DOS partition, and most EFI aware BIOS will (by default) load /EFI/Boot/boot64.efi when starting up. On my Dell Inspiron 17, I created /EFI/FreeBSD and copied FreeBSD's /boot/loader.efi to /EFI/FreeBSD/boot64.efi. My laptop's BIOS setup allowed me to specify a boot-entry to for \EFI\FreeBSD\boot64.efi. On a cold start, I have to be quick to hit the F12 key, which then allows me to specify whether to boot Windows or FreeBSD. I'm not sure how Lenovo's BIOS setup works, but I'm pretty sure that it should have something similar. Cheers. -- Jonathan Chen