Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2025 20:12:44 +0300
From:      Sulev-Madis Silber <freebsd-stable-freebsd-org730@ketas.si.pri.ee>
To:        stable@freebsd.org
Subject:   Re: PKGBASE in ZFS Boot Environments World
Message-ID:  <7780EA00-465C-4294-A239-E2E308A3DCB1@ketas.si.pri.ee>
In-Reply-To: <vqlcgwlvwjatxocsaztu@bnlk>
References:  <nopppvhntvnlbrovskrd@yfle> <vqlcgwlvwjatxocsaztu@bnlk>

next in thread | previous in thread | raw e-mail | index | archive | help
i have been playing too

http://ketas=2Esi=2Epri=2Eee/misc/recovery=2E1760980081=2Esh


On October 20, 2025 5:05:27 PM GMT+03:00, vermaden <vermaden@interia=2Epl>=
 wrote:
>Found a way to overcome that limitation =2E=2E=2E by creating a separate =
/RESCUE (not /rescue) dir with copy of /boot and pkg-static(8) command=2E
>
>That way one can restore /boot and reboot into different ZFS Boot Environ=
ment=2E
>
>Details here in the 'Additional Independent Rescue' section at the end:
>- https://vermaden=2Ewordpress=2Ecom/2025/10/20/brave-new-pkgbase-world/
>
>Regards,
>vermaden
>
>
>
>Temat: PKGBASE in ZFS Boot Environments World
>Data: 2025-10-16 10:04
>Nadawca: "vermaden" &lt;vermaden@interia=2Epl>
>Adresat: freebsd-stable@FreeBSD=2Eorg; freebsd-pkgbase@FreeBSD=2Eorg;=20
>
>>> We know that 'pkg delete -afy' will delete all PKGBASE
>>> packages without asking =2E=2E=2E but that will also render
>>> ZFS Boot Environments USELESS as there is no
>>> loader(8) anymore to show the ZFS boot menu for BE
>>> selection=2E
>>=20
>> OK ls boot
>> boot
>>  d  zfs
>>  d  efi
>>     loader=2Econf
>>     entropy
>>  d  firmware
>>=20
>> My proposal - always keep a MINIMUM set of files allowing
>> to show loader(8) boot menu - so anyone - even after wiping
>> their FreeBSD system with pkg(8) - will be able to boot into
>> other backup ZFS Boot Environment=2E
>=20
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7780EA00-465C-4294-A239-E2E308A3DCB1>