From nobody Mon Oct 20 14:05:27 2025 X-Original-To: freebsd-pkgbase@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 4cqxz53psSz6CSL7; Mon, 20 Oct 2025 14:05:37 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo69.interia.pl (smtpo69.interia.pl [217.74.67.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqxz43Xwyz4LRJ; Mon, 20 Oct 2025 14:05:36 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=interia.pl header.s=biztos header.b=LmZgXjz+; dmarc=pass (policy=quarantine) header.from=interia.pl; spf=pass (mx1.freebsd.org: domain of vermaden@interia.pl designates 217.74.67.69 as permitted sender) smtp.mailfrom=vermaden@interia.pl Date: Mon, 20 Oct 2025 16:05:27 +0200 From: vermaden Subject: Re: PKGBASE in ZFS Boot Environments World To: "freebsd-stable@FreeBSD.org" , "freebsd-pkgbase@FreeBSD.org" X-Mailer: interia.pl/pf09 In-Reply-To: References: X-Originating-IP: 45.148.42.8 Message-Id: List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1760969129; bh=3hhGQL+nzwN+QYdW78MkEa2lsjCl3jcyj1jF8jel5CQ=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=LmZgXjz+p7ULsj1vDl8M9t3b/rN7lmzoBWaSgDEOaWBWFyOYuxrDDzhEtB/klS4DR KCj3GJYu5ik2rTDgtbuZfPj8oVFuGn+22tzkyKTUF47KeZTcy0WaXMdGpmsQX8fh+6 H96rQz7Zu7kwzKbmSlrnnMmAy7zRlIS64YAmrYzI= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.91 / 15.00]; DWL_DNSWL_LOW(-1.00)[interia.pl:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[interia.pl,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_MEDIUM(-0.42)[-0.415]; R_SPF_ALLOW(-0.20)[+ip4:217.74.64.0/22]; R_DKIM_ALLOW(-0.20)[interia.pl:s=biztos]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[217.74.67.69:from]; ONCE_RECEIVED(0.10)[]; MLMMJ_DEST(0.00)[freebsd-pkgbase@freebsd.org,freebsd-stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[interia.pl]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_EQ_ADDR_ALL(0.00)[]; SUSPICIOUS_AUTH_ORIGIN(0.00)[]; FREEMAIL_ENVFROM(0.00)[interia.pl]; HAS_XOIP(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[interia.pl:+] X-Rspamd-Queue-Id: 4cqxz43Xwyz4LRJ Found a way to overcome that limitation ... by creating a separate /RESCUE (not /rescue) dir with copy of /boot and pkg-static(8) command. That way one can restore /boot and reboot into different ZFS Boot Environment. Details here in the 'Additional Independent Rescue' section at the end: - https://vermaden.wordpress.com/2025/10/20/brave-new-pkgbase-world/ Regards, vermaden Temat: PKGBASE in ZFS Boot Environments World Data: 2025-10-16 10:04 Nadawca: "vermaden" <vermaden@interia.pl> Adresat: freebsd-stable@FreeBSD.org; freebsd-pkgbase@FreeBSD.org; >> We know that 'pkg delete -afy' will delete all PKGBASE >> packages without asking ... 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. > > OK ls boot > boot > d zfs > d efi > loader.conf > entropy > d firmware > > 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.