From nobody Wed Jan 03 08:03:27 2024 X-Original-To: freebsd-questions@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 4T4j0G3qVSz55G0k for ; Wed, 3 Jan 2024 08:03:42 +0000 (UTC) (envelope-from khairil.yusof@gmail.com) Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4j0F542bz45x5 for ; Wed, 3 Jan 2024 08:03:41 +0000 (UTC) (envelope-from khairil.yusof@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=J3NDkQ78; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of khairil.yusof@gmail.com designates 2607:f8b0:4864:20::92e as permitted sender) smtp.mailfrom=khairil.yusof@gmail.com Received: by mail-ua1-x92e.google.com with SMTP id a1e0cc1a2514c-7cc14b91230so118095241.0 for ; Wed, 03 Jan 2024 00:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704269018; x=1704873818; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=w4WIKr+OXKDBBdcwftQaqtyUbGMCkiJE42AiMLQj1zg=; b=J3NDkQ78NykaiWExTYzXqz9z98vIy52KTHGApaEM+YvfPdcY59u4ighV16sZGAysbn w4+8BV0av00A8RcY5m4M74+f/CMvEVGsCijjfVqkkmptjROTcRDEV+5yHwB882F5vZr/ DxGWcUzn+zL5QQhd+xb7IbiU19U3/ABjb4dySVLRgpJAmVraYGYrwjscb6ZedxbFA0JG LyQDpcFic164kBY3AZccATk+zblC286gBoL3q0TcV1xdtDSeaUQcMnpincrP4RMSceNx 6iDZaPatCjUDcwmSzUPOkgPtEwJVzmsNGl1t34fgyqvCHJgqdhNMCZqeZ5CC9ajOKBZ0 LMbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704269018; x=1704873818; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=w4WIKr+OXKDBBdcwftQaqtyUbGMCkiJE42AiMLQj1zg=; b=f4v8osiZh/VrJw0+tUc3+6QnujKrgh4jxVvllGXN2W+pE8svygz50o0MKeuRVpf1oA pSdmF1nnPWzoNxjy7Wr1Ywg314ze0XK+U39afP9pZuIq7A2ZUBM4RJJYk5G2AO57t+gs M9Bo1+lLlQLS/6XAXroHHQ8z5pR25OlphbYrlN2P0QBhKAZFGrPQmEzyshHiiQ67nAPJ LK0a57IWapEp3ibzlRcO3TzMEkALn1epDGY8FYeMUcQS2IC/hFxk598taWfUhZU4u/VW wnFlBbocMrrpiqZVD4VusV9e3zjcgo4s1GD89ayRhBg0Z4afAMoaEbSmPLMHWh/h2ipW G2/Q== X-Gm-Message-State: AOJu0YxlEzdOu9QeHkf0ZMl240JieZPezkjietJG2EgeJ+vKEepfUEjm cxDInygH6pg27mqrmtJ25HqpgFxIjNT4qTTiF6B2zVPmv0LPLA== X-Google-Smtp-Source: AGHT+IHS08hAsNlR0UhU4RIECUdSBi6xtBKNMFZ+D5OO/PVy2tHreU3rjjmYO5rlUy1gtGOnjvIDPyF0eCydVg9034k= X-Received: by 2002:a05:6102:3586:b0:467:84f0:1f9e with SMTP id h6-20020a056102358600b0046784f01f9emr306051vsu.15.1704269018453; Wed, 03 Jan 2024 00:03:38 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Khairil Yusof Date: Wed, 3 Jan 2024 16:03:27 +0800 Message-ID: Subject: Re: Restore or set ZROOT boot environment as default To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000725cf2060e060d19" X-Spamd-Bar: / X-Spamd-Result: default: False [-0.72 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_SPAM_SHORT(0.28)[0.278]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::92e:from]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4T4j0F542bz45x5 --000000000000725cf2060e060d19 Content-Type: text/plain; charset="UTF-8" Found it: bectl(8) is what I'm looking for. On Wed, 3 Jan 2024 at 15:44, Khairil Yusof wrote: > I had some problems upgrading to FREEBSD 14.0 from 13.2, and rollback > didn't quite fix it, and now the default FreeBSD boot environment of > zroot/ROOT/default and it won't boot anymore. > > However, previous environments work: > > #zfs list > > zroot/ROOT/13.2-RELEASE-p9_2024-01-03_150553 1.68M 171G 11.0G / > zroot/ROOT/14.0-RELEASE-p4_2024-01-03_135644 88.8M 171G 10.6G / > zroot/ROOT/default 38.3G 171G 10.5G / > > What's the proper way, for me to rollback so to the last working > environment: > > zroot/ROOT/13.2-RELEASE-p9_2024-01-03_150553 1.68M 171G 11.0G / > > And have that as the boot default environment again? > > > > > > > > > --000000000000725cf2060e060d19 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Found it:

bectl(8) is what I'm looking for.

=





On Wed, 3 Jan 2024 at 15:44, Khairil Yuso= f <khairil.yusof@gmail.com> wrote:
I had some problems upgrading to FREEBSD 14.0 from 13.2, and roll= back didn't quite fix it, and now the default FreeBSD boot environment = of zroot/ROOT/default and it won't boot anymore.

However, prev= ious environments work:

#zfs list

zroot/ROOT/13.2-RELEASE-p9_= 2024-01-03_150553=C2=A0 1.68M =C2=A0 171G =C2=A0 =C2=A0 11.0G =C2=A0/
=
zroo= t/ROOT/14.0-RELEASE-p4_2024-01-03_135644 =C2=A088.8M =C2=A0 171G =C2=A0 =C2= =A0 10.6G =C2=A0/
zroot/ROOT/default =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 38.3G =C2=A0 = 171G =C2=A0 =C2=A0 10.5G =C2=A0/

What's the proper way, for me t= o rollback so to the last working environment:

zroot/ROOT/13.2-RELEA= SE-p9_2024-01-03_150553=C2=A0 1.68M =C2=A0 171G =C2=A0 =C2=A0 11.0G =C2=A0/=

And have that as the boot default environment again?


<= br>





--000000000000725cf2060e060d19--