Re: Questions about pkgbase

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sun, 05 Oct 2025 01:20:49 UTC
From: Yasuhiro Kimura <yasu@FreeBSD.org>
Subject: Questions about pkgbase
Date: Thu, 02 Oct 2025 18:01:21 +0900 (JST)

> As is explained in announsement from Colin, pkgbase has become the
> default of install media. So I start playing with pkgbase and have some
> questions. Would someone please answer me them?

I have another question.

If we update kernel with `make installkernel`, then previous kernel
and modules are backuped under /boot/kernel.old. And we can select old
kernel from boot menu. So if system fails to boot with panic, we can
still boot from old kernel and can investigate and/or recover from
crash.

On the other hand, it doesn't seem previous kernel and modules are
backuped if we upgraded them with `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? Is it possible to roll back pkgbase
system to previous version?

---
Yasuhiro Kimura