From nobody Fri Aug 12 20:03:02 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M4F3Q599Fz4Z1tp for ; Fri, 12 Aug 2022 20:03:14 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4F3Q4bq8z3mMZ; Fri, 12 Aug 2022 20:03:14 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660334594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rdT5kXefbRNDQ6IXI0pAwP+q2UwofpNy1iogUcRpYvI=; b=Ei4SaKKJkqMl3ogng4Ywb8Lg/Rx3I5nSOZ+0DqDUOa9jid9SPZfmQax6A4fhyN9FeSKr0K jE+0TNI/8h/SJ6AMtxjLjble0+TZ2slxeZPO+hd0pIhfgkV1BhptmWrLZWWLzyGzGwElqU vy+OFSeliRn8jfpFirTEt2WARPYUhMYXIzhUPaiJaqXAzzA/BeqpWKjjTCKZnVJQJUDGsf 0B+01YXifzMCNsyB/gxWgk+yNfoO6Ko1Liq8C+vsFp240BP02woZ2TyqubtabjmlgT0VMH XJ4kkTf9rEirEKeRdYypW5FannWa/MBDQYGCY8ZW/TuYjVq4Wl3R573d5/fJ+g== Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (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 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4M4F3Q3dj8z1Qbp; Fri, 12 Aug 2022 20:03:14 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f41.google.com with SMTP id d126so1819653vsd.13; Fri, 12 Aug 2022 13:03:14 -0700 (PDT) X-Gm-Message-State: ACgBeo2FCwDSKzMkvzRgK1KBaAJvvQ4S0bzueuotnQxSuJLkJNuXVrxI 9ddaBDA4ZSrUqoqH5uycfut99BTozAPzAOY9ad4= X-Google-Smtp-Source: AA6agR4REmaTMBl0hyXC87xbXZ61zeagiY8Xzo3LK6nlPbJzchOPgjsIHXEmsSd8RIuX82fSDPcuGg4vp3fTnMfxLtU= X-Received: by 2002:a05:6102:374:b0:388:9bd4:5639 with SMTP id f20-20020a056102037400b003889bd45639mr2710738vsa.53.1660334594075; Fri, 12 Aug 2022 13:03:14 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20220813.015426.809710797578801280.yasu@FreeBSD.org> <20220813.024435.741655799390389695.yasu@FreeBSD.org> In-Reply-To: <20220813.024435.741655799390389695.yasu@FreeBSD.org> From: Nuno Teixeira Date: Fri, 12 Aug 2022 21:03:02 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Updating EFI boot loader results in boot hangup To: Yasuhiro Kimura Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000b035be05e610c5fa" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660334594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rdT5kXefbRNDQ6IXI0pAwP+q2UwofpNy1iogUcRpYvI=; b=BeBd2oNItz9WzAZyHgI/bI1Ix9AlHDT5bi/RlIbazuDBpvnnh2i+QrTKxOGO5b4WDFl34k nBkwB/4zOg8UYN5IP7LiIP7G9BtqSgvbhu9DNrGP7vh7xicdnbbeiSezipO2FBckHJsEHK 8ZoIgbuTB1H9+94Rp6CAPC4MuY5YpmiEbiOxOa0rP7+LFbWje9RqfBswJ7pAWTidqL7+kW 7CUOGBd+AlyNNp86pZmVF3GifeH4R9tpGMlO1CEzaBcmyDsa0sp84sm8ePxlsz/DmjLSQW BYvxqfJMhJs26EECRCBEVnwj/j+myppmUDMkd0E4WseKcItSBkoUD8efKBoRXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660334594; a=rsa-sha256; cv=none; b=rgdYDjHcsc12EXsjBTTfF0KzQmzGm4745dikoGQST1vqbZ+gU8DZtiP6/MEvosZqoxAqor VREw0M6bCzAWLrXw5jd/IbtO0W3Z8XJ9PImah7c1DREXqQoyX2TECyf52we/yX4nxIIRpJ nxXaiNNcGIU0Xb17SkTDx8lJ3YXUYzTza9vomTJoj96ALioQfTBV1u7pjhtflpKfuA8muH k299QLS1B5eIQKmTJOa/oNMoWxBtjEU1z6AaZdNkc3Y5Lk8FNgcOVf0Tv/uDG9dY5vriP4 JjwsDRz9EX9ZKKG0fZXPWYV9HG1DZJBPtzZkHNErdXgrSY+AivK27Do1xQ7Qfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --000000000000b035be05e610c5fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm searching without success to load a bkp loader in case of boot failure. Upgrade process willl be like: --- mount -t msdosfs /dev/nvd0p1 /mnt cp /mnt/efi/boot/bootx64.efi /mnt/efi/boot/bootx64.old cp /boot/loader.efi /mnt/efi/boot/bootx64.efi --- I can't find the right docs to load bootx64.old. Could you tell me what you did to solve your boot? Thanks Yasuhiro Kimura escreveu no dia sexta, 12/08/2022 =C3=A0= (s) 18:45: > From: Nuno Teixeira > Subject: Re: Updating EFI boot loader results in boot hangup > Date: Fri, 12 Aug 2022 18:26:11 +0100 > > > Hello Yasu, > > > > Does it needes to update boot loader everytime that we upgrade current? > > No, you need not. > > > The only time that I updated was a month ago because of zfs upgrade and > I need to practice how to boot > > loader bkp file :) > > I update boot loader everytime because I'd like to do it :-). > And sometimes problem hits upon me like this time and I contribute to > debugging base system :-):-). > > --- > Yasuhiro Kimura > > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000b035be05e610c5fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm searching without success to load a bkp loade= r in case of boot failure.

Upgrade process willl b= e like:
---
mount -t msdosfs /dev/nvd0p1 /mnt
cp /mnt/efi/b= oot/bootx64.efi /mnt/efi/boot/bootx64.old
cp /boot/loader.efi /mnt/efi/b= oot/bootx64.efi
---

I can't find the right = docs to load bootx64.old.
Could you tell me what you did to solve= your boot?

Thanks

Yasuhiro Kimura <= yasu@freebsd.org> escreveu no di= a sexta, 12/08/2022 =C3=A0(s) 18:45:
From: Nuno Teixeira <eduardo@freebsd.org>
Subject: Re: Updating EFI boot loader results in boot hangup
Date: Fri, 12 Aug 2022 18:26:11 +0100

> Hello Yasu,
>
> Does it needes to update boot loader everytime that we upgrade current= ?

No, you need not.

> The only time that I updated was a month ago because of zfs upgrade an= d I need to practice how to boot
> loader bkp file :)

I update boot loader everytime because I'd like to do it :-).
And sometimes problem hits upon me like this time and I contribute to
debugging base system :-):-).

---
Yasuhiro Kimura



--
Nun= o Teixeira
FreeBSD Committer (ports)
--000000000000b035be05e610c5fa--