From nobody Wed May 11 21:37:20 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 9A6051AC4DB1 for ; Wed, 11 May 2022 21:38:43 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4Kz7ZV5rdGz3GDl for ; Wed, 11 May 2022 21:38:42 +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 8FBF95C01AB; Wed, 11 May 2022 17:38:36 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Wed, 11 May 2022 17:38:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=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=1652305116; x=1652391516; bh=NlieQP29XW JOw1EsLIhCKEgLw/yrVRrdWL9pvuQ5qc4=; b=Hz4CWBZ+76vmZD10eORVqeLaXl QWgjVvgQtH48YSNfkfYGJynZNVBOHVLZoO/9y8GOvFiQpnBFJw6vPeu50zg9Hkac WHwcUAZUijxnbtq/UARO9Ui3rwmtPhtcuK1xMFyGg6Go+dXyyiBZX3xmJy2b5GXm g4BMi24yE1hgNqan533WPsUe+nsAQ5QatcmMdJsfp3a+uV/1fxZGkHvUKDkzGS3L uMBldmimpKnAQoT5DaOnqd/elQiXDFPtfJ90Cvu8O7Gh9VHaY2k1LgVUo/JZUAzu vyVWY3BpUh4KN9GicMjBYGflMdk2D72VGuW4jMDZWrAZVfn81lU2zplfW7hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1652305116; x= 1652391516; bh=NlieQP29XWJOw1EsLIhCKEgLw/yrVRrdWL9pvuQ5qc4=; b=x 5L9IzyTnC88xq3Bo0qfrpveLqoXvZY2OiJYBrcfhCKGTRESL5hCnrVBna2LQb6b3 wIEKxr8wTblTBlBy9owuaYBXipbbFU2EfUU+j0fijC2Co4qZ2989KS0g+WMN4H60 ds28RTwesQecm5B13W/IxY0gDtiRWa62PO4P1Mp1MVWSZSZreGNoEiR48fH95xje 8hF347W2aTnXEXLj22itmSW6OpBrKcGmbptCss/cyDUA5QO4ePphVYvMX5e7LuVq SfOMNulFvpnp06FtkoUTV3ZwRsEbXIeXw1+2/EJRmhD5/udNYW0ET4jXXfZj9SAO QMG7T/SREAM0vPaGlapWQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeeigddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggthhes shhkuhhnkhifvghrkhhsrdgrtheqnecuggftrfgrthhtvghrnhepkefffedvfeetkeffge fgffdvfeeugfeuhffhhfdufedvtefgieelueejffehvdejnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggthhesshhkuhhnkhifvghrkhhsrd grth X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5857036A005D; Wed, 11 May 2022 17:38:36 -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: <5fff8840-6f1e-4edd-8ddf-2728227c8818@www.fastmail.com> In-Reply-To: References: <481e0739-bdc4-4ce6-a856-a80cf5294d03@www.fastmail.com> Date: Wed, 11 May 2022 21:37:20 +0000 From: "Dave Cottlehuber" To: freebsd-current , "Michael Schuster" Subject: Re: FreeBSD, boot environments and /dev Content-Type: text/plain X-Rspamd-Queue-Id: 4Kz7ZV5rdGz3GDl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm2 header.b=Hz4CWBZ+; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="x 5L9Izy"; dmarc=none; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 66.111.4.28 as permitted sender) smtp.mailfrom=dch@skunkwerks.at X-Spamd-Result: default: False [-3.52 / 15.00]; XM_UA_NO_VERSION(0.01)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; 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.93)[-0.933]; FREEMAIL_TO(0.00)[freebsd.org,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.28:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; 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 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? this works for me: # zfs create -o canmount=noauto -o mountpoint=/ zroot/ROOT/vanilla # bectl mount vanilla /mnt # cd /some/path/to/sets/ # tar xzpf ./kernel.txz -C /mnt/ # tar xzpf ./base.txz -C /mnt/ # tzsetup -C /mnt UTC # pwd_mkdb -p -d /mnt/etc /mnt/etc/master.passwd # ln -s /usr/home /mnt/home ### copy in & amend /etc/fstab /etc/rc.conf /boot/loader.conf as required # bectl activate -t vanilla # reboot try that and let us know what, if any, errors you get? A+ Dave