From owner-freebsd-stable@freebsd.org Thu Jul 9 13:36:46 2020 Return-Path: Delivered-To: freebsd-stable@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 74A2636B85F for ; Thu, 9 Jul 2020 13:36:46 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2cf62bZKz43cZ for ; Thu, 9 Jul 2020 13:36:46 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 38F0122252 for ; Thu, 9 Jul 2020 13:36:46 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f169.google.com with SMTP id k18so1756928qke.4 for ; Thu, 09 Jul 2020 06:36:46 -0700 (PDT) X-Gm-Message-State: AOAM531VkElySKkLooAWCpKYiSAuMa2No1uOI+SgDLO/OS5V4D9bVv7x 2vuZsNxDEsMMx7S/UlFZBRAkJl+Sr4hcY/zqYiA= X-Google-Smtp-Source: ABdhPJzwp/U3C+98xd+O3bgNf/zyKJq9Em/8WhitXVz6sRTwIvaCvpQDbZcXW4097oAgmPitI8zoFamAHhviviUsFZs= X-Received: by 2002:a37:40e:: with SMTP id 14mr62110519qke.493.1594301805763; Thu, 09 Jul 2020 06:36:45 -0700 (PDT) MIME-Version: 1.0 References: <20200709131201.GA3464@co.gvr.org> In-Reply-To: From: Kyle Evans Date: Thu, 9 Jul 2020 08:36:34 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 12.1p7 no longer boots after doing zpool upgrade -a To: Pete French Cc: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 13:36:46 -0000 On Thu, Jul 9, 2020 at 8:32 AM Pete French wrote: > > > > On 09/07/2020 14:24, Kyle Evans wrote: > > >> gpart bootcode -p /boot/boot1.efifat -i 1 ada0 > >> gpart bootcode -p /boot/boot1.efifat -i 1 ada1 > > > > > > This method of updating the ESP is no longer recommended for new 12.x > > installations -- we now more carefully construct the ESP with an > > /EFI/FreeBSD/loader.efi where loader.efi is /boot/loader.efi. You will > > want to rebuild this as such, and that may fix part of your problem. > > Out of interest, how should the ESP partition be upgraded then ? I dont > have any EFI machines...yet. But one day I will, and I was assuming that > an upgrade would be done using the above lines too. > We haven't quite standardized on a good process yet, IMO, but for right now the correct process is to just mount the ESP and replace loader.efi with your system's updated /boot/loader.efi. At some point we'll standardize a mountpoint for the ESP and mount it by default as is done on at least some other OS.