JdeBP<p>The firmware on a <a href="https://mastodonapp.uk/tags/RaspberryPi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RaspberryPi</span></a> 4 does not mind if one changes the partition types of the <a href="https://mastodonapp.uk/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> and <a href="https://mastodonapp.uk/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a> FAT volumes to EFI system, matching <a href="https://mastodonapp.uk/tags/NetBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NetBSD</span></a> in spirit if not in modern partitioning scheme.</p><p>OpenBSD again almost fell at the hurdle here. It is extraordinarily sensitive to the status of its UFS1 partition. Touch it, or attempt to use a fresh one made from scratch, and its booloader thinks that it is talking to an esp device instead of to an sd device, and fails. This is a very strange dependency.</p><p>NetBSD, in contrast, did not bat an eyelid when I splatted about 5GiB of home directory, dotfiles, and tooling onto its UFS1 volume, using pax on another machine which had the TF card in a card reader.</p><p>NetBSD also auto-fixes the backup copy of the EFI partition table after its device re-sizing step. It didn't bat an eyelid, again, when I adjusted the initial card myself ahead of time using FreeBSD's <a href="https://mastodonapp.uk/tags/gpart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gpart</span></a> recover.</p><p><a href="https://mastodonapp.uk/tags/UEFI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UEFI</span></a> <a href="https://mastodonapp.uk/tags/PartitionTables" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PartitionTables</span></a> <a href="https://mastodonapp.uk/tags/pax" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pax</span></a></p>