Date: Wed, 2 Aug 2023 06:25:51 -0700 From: "Fred G. Finster" <fred@thegalacticzoo.com> To: freebsd-arm@freebsd.org Cc: fredfinster58@gmail.com, wb7odyfred@yahoo.com Subject: RE: upgrading 13-stable on rpi4b/8GB Message-ID: <ea0ea03c-dd0c-8ecb-3a3c-6a5d8971beaf@thegalacticzoo.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------EC84E1813BBF1C595784EFF8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit */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? --------------EC84E1813BBF1C595784EFF8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p><strong><i>From:</i></strong> void <void_at_f-m.fm><br> <strong><i>Date:</i></strong> Tue, 01 Aug 2023 14:19:42 UTC <br> </p> <pre class="main">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. </pre> <h3 class="post-title entry-title">Learning ZFS on Root Setup for Raspberry Pi 4B.</h3> <pre class="main"> <a class="moz-txt-link-freetext" href="https://ghostbsd-arm64.blogspot.com/2023/07/learning-zfs-on-root-setup-for.html">https://ghostbsd-arm64.blogspot.com/2023/07/learning-zfs-on-root-setup-for.html</a> </pre> <div style="text-align: left;"><a href="https://www.reddit.com/r/freebsd/comments/v4b5oj/freebsd_on_zfs_on_raspberry_pi/?onetap_auto=true" target="_blank">h</a><a href="https://www.reddit.com/r/freebsd/comments/v4b5oj/freebsd_on_zfs_on_raspberry_pi/?onetap_auto=true" target="_blank">ttps://www.reddit.com/r/freebsd/comments/v4b5oj/freebsd_on_zfs_on_raspberry_pi/?onetap_auto=true</a> </div> <div style="text-align: left;"><br> </div> <div style="text-align: left;"><span style="background-color: white; color: #1c1c1c; font-family: "Noto Sans", Arial, sans-serif; font-size: 14px;">And now... the scripts! They also live at </span><a class="_3t5uN8xUmg0TOwRCOGQEcU" href="https://gist.github.com/jwatzman/8a53dcdd3084d595c6d5918f4a2a0527" rel="noopener nofollow ugc" style="background-color: white; border: 0px; font-family: "Noto Sans", Arial, sans-serif; font-feature-settings: inherit; font-kerning: inherit; font-optical-sizing: inherit; font-size: 14px; font-stretch: inherit; font-variant-alternates: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-variation-settings: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;" target="_blank">https://gist.github.com/jwatzman/8a53dcdd3084d595c6d5918f4a2a0527</a><span style="background-color: white; color: #1c1c1c; font-family: "Noto Sans", Arial, sans-serif; font-size: 14px;">.</span></div> <div style="text-align: left;"><br> </div> <div style="text-align: left;"><a href="https://twitter.com/finster_fred/status/1680774277224869889?s=20" target="_blank">https://twitter.com/finster_fred/status/1680774277224869889?s=20</a><br> </div> <div style="text-align: left;"><br> </div> <div style="text-align: left;"> <div>@linuxhintdotcom</div> <div> 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 <a class="moz-txt-link-freetext" href="https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html">https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html</a></div> <div><a class="moz-txt-link-freetext" href="https://linuxhint.com/mount-zfs-filesystems-in-different-directoris/">https://linuxhint.com/mount-zfs-filesystems-in-different-directoris/</a></div> <div> zfs get mounted,canmount,mountpoint arm64pool</div> <div>zfs set canmount=off arm64pool</div> <div><br> <br> </div> </div> <pre class="main"> </pre> <h3 class="post-title entry-title"> <a href="https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html">Audit your /boot files with md5deep audit tool</a> </h3> <div class="post-share-buttons post-share-buttons-top"> <div class="byline post-share-buttons goog-inline-block"> <div aria-owns="sharing-popup-Blog1-byline-6509380654851724201" class="sharing" data-title="Audit your /boot files with md5deep audit tool"> </div> </div> </div> <div class="post-share-buttons post-share-buttons-top"> <div class="byline post-share-buttons goog-inline-block"> <div aria-owns="sharing-popup-Blog1-byline-6509380654851724201" class="sharing" data-title="Audit your /boot files with md5deep audit tool"> <div class="share-buttons-container"> </div> </div> </div> </div> <span class="byline post-timestamp"> <a class="timestamp-link" href="https://ghostbsd-arm64.blogspot.com/2021/05/audit-your-boot-files-with-md5deep.html" rel="bookmark" title="permanent link"> </a></span> <p><a class="moz-txt-link-freetext" href="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</a></p> <p>Make notes on file size, file date, and file md5sum or sha256sum checksums. I use tool md5deep</p> <p><br> </p> <p><a class="moz-txt-link-freetext" href="https://www.reddit.com/r/freebsd/comments/u7xmte/boot_raspberry_pi_with_zfs_on_root/">https://www.reddit.com/r/freebsd/comments/u7xmte/boot_raspberry_pi_with_zfs_on_root/</a> <br> </p> <p>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. <br> </p> <p>Are you interested in the Newer RK3588 SoC single board computers like the Orange Pi 5 and the <a class="moz-txt-link-freetext" href="https://wiki.radxa.com/Rock5">https://wiki.radxa.com/Rock5</a> with 8 cpus running FreeBSD?<br> </p> <p><br> </p> </body> </html> --------------EC84E1813BBF1C595784EFF8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea0ea03c-dd0c-8ecb-3a3c-6a5d8971beaf>