RE: upgrading 13-stable on rpi4b/8GB

From: Fred G. Finster <fred_at_thegalacticzoo.com>
Date: Wed, 02 Aug 2023 13:25:51 UTC
*/From:/* void <void_at_f-m.fm>
*/Date:/* Tue, 01 Aug 2023 14:19:42 UTC

Hi list,

Is it reasonably safe to upgrade 13-stable/rpi4 at the moment?
The system runs zfs.

-- 
I use FreeBSD 14.0-CURRENT and just assume 13-stable/rpi4 is safe to upgrade.

Maybe make and test a booting USB Flash drive with your ZFS on root setup for the presently booting Raspberry Pi, so you have a method to boot and then repair after an upgrade.
  
IF you are running ZFS,  I would create a "snapshot" using bectl or beadm,  before upgrading, so you could get back to a booting configuration that you have now.

2nd  I would save a copy ALL the files and configurations in  the  ESP EFI FAT32 partition that is presently booting for you now.
3rd  I would save the /boot/kernel/kernel   file from on the mounted ZFS zpool for root directory '/'  I again would use a tool like md5deep or hashdeep to checksum the / and /boot directory files
4th  Make notes on the initial ZFS root directory,  zpool list,  zfs list zfs get all zroot


Here are some links that I share related to Raspberry Pi 4B.


      Learning ZFS on Root Setup for Raspberry Pi 4B.

https://ghostbsd-arm64.blogspot.com/2023/07/learning-zfs-on-root-setup-for.html

h 
<https://www.reddit.com/r/freebsd/comments/v4b5oj/freebsd_on_zfs_on_raspberry_pi/?onetap_auto=true>ttps://www.reddit.com/r/freebsd/comments/v4b5oj/freebsd_on_zfs_on_raspberry_pi/?onetap_auto=true 
<https://www.reddit.com/r/freebsd/comments/v4b5oj/freebsd_on_zfs_on_raspberry_pi/?onetap_auto=true> 


And now... the scripts! They also live at 
https://gist.github.com/jwatzman/8a53dcdd3084d595c6d5918f4a2a0527 
<https://gist.github.com/jwatzman/8a53dcdd3084d595c6d5918f4a2a0527>.

https://twitter.com/finster_fred/status/1680774277224869889?s=20 
<https://twitter.com/finster_fred/status/1680774277224869889?s=20>

@linuxhintdotcom
    Thanks for the training you gave me with this ZFS material.  I 
benefited from your creative web post, to use creating a ZFS install to 
Raspberry Pi 4B USB SSD 
https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html
https://linuxhint.com/mount-zfs-filesystems-in-different-directoris/
  zfs get mounted,canmount,mountpoint arm64pool
zfs set canmount=off arm64pool


  


      Audit your /boot files with md5deep audit tool
      <https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html>


<https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html> 


https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html

Make notes on file size, file date, and file md5sum or sha256sum 
checksums.  I use tool md5deep


https://www.reddit.com/r/freebsd/comments/u7xmte/boot_raspberry_pi_with_zfs_on_root/ 


What are your thoughts and success on using FreeBSD on root ZFS on a 
Raspberry Pi 4B, Void?  How much dram is on your Raspberry Pi 4B.

Are  you interested in the Newer RK3588 SoC single board computers like 
the Orange Pi 5 and the https://wiki.radxa.com/Rock5 with 8 cpus running 
FreeBSD?