From nobody Wed Nov 22 09:09:21 2023 X-Original-To: freebsd-questions@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 4SZwRc4V1mz51Bd5 for ; Wed, 22 Nov 2023 09:09:32 +0000 (UTC) (envelope-from SRS0=b4B4=HD=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4SZwRc2Lmpz3PYg for ; Wed, 22 Nov 2023 09:09:32 +0000 (UTC) (envelope-from SRS0=b4B4=HD=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; none Received: from x1 (94.105.106.186.dyn.edpnet.net [94.105.106.186]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id B6489280DF; Wed, 22 Nov 2023 10:09:24 +0100 (CET) Date: Wed, 22 Nov 2023 10:09:21 +0100 From: Julien Cigar To: iio7@tutanota.com Cc: Freebsd Questions Subject: Re: I am sick and tired of the poor quality of documentation on FreeBSD Message-ID: <2vflelhrsbgjqugac6obgxof2jz6ih6o35j6bc7rewd7ymotvf@opwc25obe5vp> References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ozoem46nemnxrnbd" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE] X-Rspamd-Queue-Id: 4SZwRc2Lmpz3PYg --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--