Re: I am sick and tired of the poor quality of documentation on FreeBSD
- In reply to: iio7_a_tutanota.com: "I am sick and tired of the poor quality of documentation on FreeBSD"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Nov 2023 09:09:21 UTC
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! > > When there is something that is going to break something during an upgrade, you get timely information and a step by step instruction in what to do - BEFORE you do it! > > Something like this doesn't help! > Pool 'zroot' has the bootfs property set, you might need to update the boot code. > See gptzfsboot(8) and loader.efi(8) for details. > > 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: 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 ; mkdir -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 ; sleep 3 ; umount /m nt ; done > > I never touched any boot code during installation so I don't even know what that is! And reading those man pages did NOT help me in any way. > > So now I got a box that's borked with this beautiful message after updating the zroot pool: > > 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 > > > -- 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.