Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 10:09:21 +0100
From:      Julien Cigar <julien@perdition.city>
To:        iio7@tutanota.com
Cc:        Freebsd Questions <freebsd-questions@freebsd.org>
Subject:   Re: I am sick and tired of the poor quality of documentation on FreeBSD
Message-ID:  <2vflelhrsbgjqugac6obgxof2jz6ih6o35j6bc7rewd7ymotvf@opwc25obe5vp>
In-Reply-To: <NjnQuB8--R-9@tutanota.com>
References:  <NjnQuB8--R-9@tutanota.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ozoem46nemnxrnbd
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 21, 2023 at 08:51:01PM +0100, iio7@tutanota.com wrote:
> Take a look at how it's done on OpenBSD! Take a look at have it's done on=
 Arch Linux!
>=20
> When there is something that is going to break something during an upgrad=
e, you get timely information and a step by step instruction in what to do =
- BEFORE you do it!
>=20
> Something like this doesn't help!
> =C2=A0 Pool 'zroot' has the bootfs property set, you might need to update=
 the boot code.
> =C2=A0 See gptzfsboot(8) and loader.efi(8) for details.
>=20
> I might need to update the boot code!? WTF does that even mean?

if you're on EFI you should update the ESP with the updated loader.efi,
that's not new.

you can do something like:=20
for p in $(gpart show -p|tr -s ' '|grep 'efi'|cut -d ' ' -f 4) ; do echo $p=
; newfs_msdos -F 32 -c 1 /dev/$p ; mount -t msdosfs -o rw /dev/$p /mnt ; mk=
dir -p /mnt/efi/boot; mkdir -p /mnt/efi/freebsd ; cp /boot/loader.efi /mnt/=
efi/boot/bootx64.efi ; cp /boot/loader.efi /mnt/efi/freebsd/loader.efi ; sl=
eep 3 ; umount /m
nt ; done

>=20
>  I never touched any boot code during installation so I don't even know w=
hat that is! And reading those man pages did NOT help me in any way.
>=20
> So now I got a box that's borked with this beautiful message after updati=
ng the zroot pool:
>=20
> ZFS: unsupported feature: com.delphix:head_errlog
> ZFS: pool zroot is not supported
> Can't find /boot/zfsloader
> Can't find /boot/loader
> Can't find /boot/kernel/kernel
>=20
>=20
>=20

--=20
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

--ozoem46nemnxrnbd
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmVdxUEACgkQCLYqJMpB
HmnPaxAAs2PPReh4IYSF8CYGK2HX90589BgaO8FXv49lpAqPRfKq/+ZFWvOk+06e
wOEDH3IA9bfYTxqjZ+vhTLX3nCOAF5i2/ccGPMCZ977ekwfRvfrn9FWtzYf+D38A
6xmORSbcjHNyWgbr/kMrbx39Z/otD0LkzMyc5eD4FfEFp5ehakTOYCTk9nHWYEsT
C4z1MLOmAGkG4OGXhpdobf4vLsJ1PmQGtJwMfDJwQozjD27J4ybnxd1vuTcPPnI8
B9LLtBGsc0xW+pRCJbZ0BBDUpRLB2fVMK7Pjl3L6LWcqb9kQxLOGhTbfrH4wORox
K+W3lB0TJsH/V0exaou/xhMW/2CY1AQI9UueJ8h4bBj8UE9DXnIq42nBiXzv0Faw
okAdGboIAYKdLdEPvhKJ81jghv8osUc1mUFWsvPt1z43vL4JH5KkGSpIDg2K2FHO
4rjEJNe2i3VdWgtScfT7vq+GsVREA9pCDEvuKMh6GAHWiNEHp/aLPp5qBESM/pCT
mUCNDdQlYoHmU3bQBu/6f30Op/w8SI2SVXTEwcjAxV58es6fm6tRcztsrqPLrRsn
FMrUHWWnSOXMYLWk/ZpSapmShQ23I76bAPsKXyDXjnkHYynJlJHeOKRlYgAfwDpt
YUIzDeRzjBoyJXVzQ65HzTRA7FZpwbI8jKLhg5gPaUUGgCYmRQk=
=QO1M
-----END PGP SIGNATURE-----

--ozoem46nemnxrnbd--



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