Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2022 16:24:07 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Nuno Teixeira <eduardo@freebsd.org>, Yasuhiro Kimura <yasu@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Updating EFI boot loader results in boot hangup
Message-ID:  <20220813162407.82d8bf7adf51da52cba13e4d@dec.sakura.ne.jp>
In-Reply-To: <78c22181179d9c7f9fcea829002095eb@lerctr.org>
References:  <20220813.015426.809710797578801280.yasu@FreeBSD.org> <CAFDf7ULYcHfmw4VNroe%2BOECAFo2L4BP3aEtBJwXNcBArYGMq_g@mail.gmail.com> <20220813.024435.741655799390389695.yasu@FreeBSD.org> <CAFDf7UJ2OU4rwhaYD9N%2B9Nx%2BsygG5Y-j9RfZpTNDiVKVNnFhFA@mail.gmail.com> <f26fa4d967472ead2967178226e96d8d@lerctr.org> <CAFDf7UKOQO22MkEeFm_Hms6NYn3mxxo=O0mbxAc1-Z%2Bi7UWMaA@mail.gmail.com> <78c22181179d9c7f9fcea829002095eb@lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Or multiple installation in the same computer.

For me, main and stable/13 are installed in different drive.

So I can boot into healthy installation, mount problematic ESP,
and alter broken bootx64.efi with known-to-work one.

Usually, to boot into healthy installation, choose boot drive on UEFI
menu.


On Fri, 12 Aug 2022 15:26:08 -0500
Larry Rosenman <ler@lerctr.org> wrote:

> 
> 
> boot off a memstick?
> 
> On 08/12/2022 3:25 pm, Nuno Teixeira wrote:
> 
> > The problem is if boot is failing, how to mount and rename it?
> > 
> > I'm looking for a way, if possible, to boot directly bkp boot64x in 
> > case of failure.
> > I was hoping to find it in loader(8) or uefi(8)...
> > 
> > Larry Rosenman <ler@lerctr.org> escreveu no dia sexta, 12/08/2022 à(s) 
> > 21:09:
> > 
> > I would assume just rename the bootx64.old to bootx64.efi
> > 
> > and/or put it in a different directory that EFI can see
> > 
> > On 08/12/2022 3:03 pm, Nuno Teixeira wrote:
> > 
> > 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 <yasu@freebsd.org> escreveu no dia sexta, 12/08/2022 
> > à(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 
> >> 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
> > 
> > --
> > 
> > Nuno Teixeira
> > FreeBSD Committer (ports)
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
> 
> -- 
> 
> Nuno Teixeira
> FreeBSD Committer (ports)
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220813162407.82d8bf7adf51da52cba13e4d>