Date: Wed, 11 May 2022 21:37:20 +0000 From: "Dave Cottlehuber" <dch@skunkwerks.at> To: freebsd-current <freebsd-current@freebsd.org>, "Michael Schuster" <michaelsprivate@gmail.com> Subject: Re: FreeBSD, boot environments and /dev Message-ID: <5fff8840-6f1e-4edd-8ddf-2728227c8818@www.fastmail.com> In-Reply-To: <CADqw_gJGGeQRvaUEBiCY_ScrrW8=ORtktRvF2nt7egAbrYhTTw@mail.gmail.com> References: <CADqw_g%2BUa8oc-cPm6N3ah1Ey1v-nfNk881O2Vp9TquhBcjDj_g@mail.gmail.com> <CAHMcx4PKQzxOCo2GPa7gR544OK7GQrhfbwQ4A8BBQPCteQXKTA@mail.gmail.com> <CADqw_gKY8vUwxX5LzEkhVtv1VggZtPJ10Zt_M8-jbymT0miimg@mail.gmail.com> <481e0739-bdc4-4ce6-a856-a80cf5294d03@www.fastmail.com> <CADqw_gJGGeQRvaUEBiCY_ScrrW8=ORtktRvF2nt7egAbrYhTTw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fff8840-6f1e-4edd-8ddf-2728227c8818>