Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-14 Thread John Kennedy
On Fri, Jul 10, 2020 at 02:25:02PM -0500, Kyle Evans wrote: > > So one recipe doesn't even seem to make the freebsd-boot partition, so is > > it > > optional for a pure UEFI boot? Should we always gpart-bootcode it if it > > exists > > and upgrade BOOTx64.efi when the EFI partition exists, or

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-13 Thread Guido van Rooij
On Fri, Jul 10, 2020 at 02:28:12PM -0500, Kyle Evans wrote: > > > > There was one question I forgot to ask: > > Could I have known that my method of updating the ESP was not correct? > > If so, where is this documented? > > > > It is probably unlikely, to be honest. I don't know that we do a good

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-10 Thread Charles Sprickman via freebsd-stable
> On Jul 10, 2020, at 2:44 PM, Guido van Rooij wrote: > > On Fri, Jul 10, 2020 at 08:29:03PM +0200, Guido van Rooij wrote: >> On Thu, Jul 09, 2020 at 08:24:54AM -0500, Kyle Evans wrote: >>> On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: I did a zpool upgrade -a to enable

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-10 Thread Kyle Evans
On Fri, Jul 10, 2020 at 1:44 PM Guido van Rooij wrote: > > On Fri, Jul 10, 2020 at 08:29:03PM +0200, Guido van Rooij wrote: > > On Thu, Jul 09, 2020 at 08:24:54AM -0500, Kyle Evans wrote: > > > On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: > > > > > > > > I did a zpool upgrade -a to

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-10 Thread Kyle Evans
On Thu, Jul 9, 2020 at 4:20 PM John Kennedy wrote: > > On Thu, Jul 09, 2020 at 08:24:54AM -0500, Kyle Evans wrote: > > On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: > > > > > > I did a zpool upgrade -a to enable large_dnode and spacemap_v2. > > > After that, I did: > > > gpart bootcode

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-10 Thread Guido van Rooij
On Fri, Jul 10, 2020 at 08:29:03PM +0200, Guido van Rooij wrote: > On Thu, Jul 09, 2020 at 08:24:54AM -0500, Kyle Evans wrote: > > On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: > > > > > > I did a zpool upgrade -a to enable large_dnode and spacemap_v2. > > > After that, I did: > > > gpart

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-10 Thread Guido van Rooij
On Thu, Jul 09, 2020 at 08:24:54AM -0500, Kyle Evans wrote: > On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: > > > > I did a zpool upgrade -a to enable large_dnode and spacemap_v2. > > After that, I did: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 > > gpart bootcode -b

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread John Kennedy
On Thu, Jul 09, 2020 at 08:24:54AM -0500, Kyle Evans wrote: > On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: > > > > I did a zpool upgrade -a to enable large_dnode and spacemap_v2. > > After that, I did: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 > > gpart bootcode -b

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Kyle Evans
On Thu, Jul 9, 2020 at 8:50 AM Pete French wrote: > > > > On 09/07/2020 14:36, Kyle Evans wrote: > > 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.

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Pete French
On 09/07/2020 14:36, Kyle Evans wrote: 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

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Karl Denninger
On 7/9/2020 09:32, 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

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Kyle Evans
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 > >

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Pete French
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

Re: 12.1p7 no longer boots after doing zpool upgrade -a

2020-07-09 Thread Kyle Evans
On Thu, Jul 9, 2020 at 8:12 AM Guido van Rooij wrote: > > I did a zpool upgrade -a to enable large_dnode and spacemap_v2. > After that, I did: > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada1 > and: > gpart bootcode -p