From nobody Thu May 12 07:20:40 2022 X-Original-To: freebsd-current@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 C3A0F1AE5278 for ; Thu, 12 May 2022 07:21:10 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KzNVY59kmz3FPM for ; Thu, 12 May 2022 07:21:09 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9D43F5C010D; Thu, 12 May 2022 03:21:03 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Thu, 12 May 2022 03:21:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1652340063; x=1652426463; bh=hf FO2nix1k35KWRiIq4I7ereP6F7PP+c2vdyeIJvx2Q=; b=rzAKF3v5UsFtkotrKv cVVBZn7MWFqnY5NP7xDxpCXci5Ua8huLGsUnbU5K4gH/9D/aDRq2WEsyFxA8Gggn h49SNGBllrJXwbDWRcwnSwjcTfOOYMpzUKZB2tQzvbpzz+lfZYXMnS62IlTFNLgv G0NIhztDLtca+gjpqufQUiNP1BptCG36mR9F8xiYPPmPUkE07vksmEWkcDC5Nvpz zFH7s75p84wdbpcBbUOTig9LVb4VPQbEcEDP35CyLLj0aICPIvYTlAKjD0cnB1Uz iSUtiLXftYkMwf9GrMMBAAPv7DFrVho8h8BWbwzSIoh577jB9E2D8VfhNjzTBy68 1N6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1652340063; x= 1652426463; bh=hfFO2nix1k35KWRiIq4I7ereP6F7PP+c2vdyeIJvx2Q=; b=V k00zOmRY7m40doyBbqAIrkx3dpdOZOn0erfkFl4CJ3bNf1P9aeRkzp5Ea50tnCPR sQsJeCEtze1WAlbBgMcyJpgxs0sF4nRAJDlYR9zl7Ht175yZqPzcfR5jedJxSDSV H6Uvb6Zt+05O/y/kT+x3w2ZBFC2rZdyjXxHK0qzN4glGfkon/XowVfRwtX9HG3UL Lux6bo5HfVXogVL8QQ44/WSc4uV9ZTMtb6T19rQDj0QsPdJ//jhl89PCtrqpO9+Y MBTRAunaZWPC78OPAFA/eQQtwA+EzCyQAkewjBb9jbVhgKWyIw6rGGtZvcYjnY0n MyqeCC010E22ZihN6jF/w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeeigdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesth dtredtreertdenucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggt hhesshhkuhhnkhifvghrkhhsrdgrtheqnecuggftrfgrthhtvghrnhepkeeukeefjeekge dufefgvedutddufeevheekudfghfeugfdvgedtveetudehudehnecuffhomhgrihhnpehf rhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepuggthhesshhkuhhnkhifvghrkhhsrdgrth X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5039836A005D; Thu, 12 May 2022 03:21:03 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Message-Id: <3bcf856c-c048-4b4d-adfc-c6ba352e3b20@www.fastmail.com> In-Reply-To: References: <481e0739-bdc4-4ce6-a856-a80cf5294d03@www.fastmail.com> <5fff8840-6f1e-4edd-8ddf-2728227c8818@www.fastmail.com> Date: Thu, 12 May 2022 07:20:40 +0000 From: "Dave Cottlehuber" To: "Michael Schuster" Cc: freebsd-current Subject: Re: FreeBSD, boot environments and /dev Content-Type: text/plain X-Rspamd-Queue-Id: 4KzNVY59kmz3FPM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm2 header.b=rzAKF3v5; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="V k00zOm"; dmarc=none; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 66.111.4.29 as permitted sender) smtp.mailfrom=dch@skunkwerks.at X-Spamd-Result: default: False [-3.24 / 15.00]; XM_UA_NO_VERSION(0.01)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.65)[-0.651]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm2,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[dch]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[skunkwerks.at]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 12 May 2022, at 07:12, Michael Schuster wrote: > On Wed, May 11, 2022 at 11:38 PM Dave Cottlehuber wrote: >> On Wed, 11 May 2022, at 14:58, Michael Schuster wrote: >> > I then created a new BE, mounted it on /mnt, removed /mnt/dev/* (only >> > regular files and empty directories). Booting into that BE didn't work >> > either, I got errors about missing "/dev/" files (can't recall the >> > exact names). >> > >> > What do you guys (plural ;-)) think? > > Hi Dave, > thx for your perseverance :-) > > I have (at least) one question for you before I attempt this: > where do I get these .txz files? https://download.freebsd.org/ftp/snapshots/amd64/amd64/14.0-CURRENT/ https://download.freebsd.org/ftp/releases/amd64/amd64/13.1-RC6/ > should devfs be in /etc/fstab? in my current BE, it isn't ... this is the bare minimum I used. NB my partitions have artisanal GPT labels, yours will probably be different. # Device Mountpoint FStype Options Dump Pass# #/dev/gpt/swap0 none swap sw 0 0 /dev/gpt/efiboot /boot/efi msdosfs rw,late,longnames 0 0 tmpfs /tmp tmpfs rw,mode=01777,size=120g 0 0 thats all I needed to boot to userland & login. I'm reasonably sure that, assuming you have a default zfs install, you'd not need anything in /etc/fstab to boot. > if so: do you have an example of such a line? In the instances I looked > up, I wasn't quite able to make it work (but perhaps that's a dead end > anyway). > >> # bectl activate -t vanilla > > does that ("activate -t") work on UEFI systems? The last time I used it > (at least a year ago), it wasn't. Yes it does here. failing that just use `bectl activate`. The -t is a very nice addition. Well, we're definitely on the FreeBSD-current email list here, so it's definitely in CURRENT, and 13.1 RC. A+ Dave