From nobody Tue Aug 23 22:40:03 2022 X-Original-To: freebsd-arm@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 4MC42x1p84z4ZTZP for ; Tue, 23 Aug 2022 22:41:29 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MC42w1fphz3m87 for ; Tue, 23 Aug 2022 22:41:28 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.16.1/8.16.1) with ESMTPS id 27NMe30m008955 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 23 Aug 2022 15:40:03 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.16.1/8.16.1/Submit) id 27NMe3qr008954; Tue, 23 Aug 2022 15:40:03 -0700 (PDT) (envelope-from warlock) Date: Tue, 23 Aug 2022 15:40:03 -0700 From: John Kennedy To: "Wall, Stephen" Cc: freebsd-arm Subject: Re: From UFS to ZFS as root on RBPI4 Message-ID: References: <97A157AE-CAAE-4F57-8F2D-990DFB723404@kronometrix.org> <1098537471.88.1660900403342@localhost> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4MC42w1fphz3m87 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [-1.80 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[phouka.net]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net] X-ThisMailContainsUnwantedMimeParts: N On Tue, Aug 23, 2022 at 01:43:20PM +0000, Wall, Stephen wrote: > > From: John Kennedy > > > > I'd probably recommend doing a bsdinstall onto the > > USB-attached SDcard, but the RootOnZFS page is what I used back when that > > was a new thing. > > I had a ZFS-on-SSD RPi4 go south after rebuilding and installing my custom kernel. On reboot it would either fail to find the pool, or (apparently) permanently stall during boot. I gave up and decided to reinstall, ... > After farting around trying to get the right files from rpi-firmware installed in the right place, I eventually gave up and wiped out /boot on the SSD and copied everything from the card's /boot. Note that BSD install creates a /boot/efi directory for the UEFI partition, with only two files (in subdirectories), whereas the SD card has /boot/MSDOS with a boatload of files, and different subdirectories, so I had to adjust the mount point in /etc/fstab for that. My RPi is now (again) booting to the SSD (though I'll need to clone my customized kernel from git and (slowly) rebuild it). I'd have to look when I get home, but I wasn't thinking about any EFI-boot the bsdinstall might have installed, just stomped on /boot/efi with the equivalent from the SDcard image (uboot) and have stuck with that ever since. It's on my bucket list to play with EFI, but I haven't seen (not that I've really looked) the parameters to overclocking and such that I've current set in the uboot environment.