Re: packaged kernel not booting following an upgrade

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sun, 05 Oct 2025 10:13:36 UTC
From: Graham Perrin <grahamperrin@gmail.com>
Subject: packaged kernel not booting following an upgrade (was: Questions about pkgbase)
Date: Sun, 5 Oct 2025 10:55:10 +0100

>> … `pkg upgrade`. Then what should we
>> do if system fails to boot with new kernel? Do we have to create boot
>> media and boot from it? Assuming that we have no choise but to do so,
>> how should we restore the system? …
> 
> 
> An option:
> 
> Using pkgbasify to repair a broken installation of FreeBSD
> 14.3-RELEASE
> <https://gist.github.com/grahamperrin/9570092c127bd43777961b6f016e75ba#file-freebsd-installer-pkgbasify-md>
> 
> The method there may be adapted for 16.0-CURRENT.
> 
> If a non-bootable kernel is from base_latest, then I would hope to
> find a usable base (with a bootable kernel) in base_weekly.

Thanks for pointer. I'll check it.

---
Yasuhiro Kimura