Getting Crazy with SD card

I recently bought a rpi4 bundle and would like to install FreeBSD on it. I'm using Fedora as my machine to create the SD card. I simply followed the instructions at https://freebsdfoundation.org/resource/installing-freebsd-for-raspberry-pi/.
And ran into something resembling https://forums.freebsd.org/threads/freebsd-install-on-raspberry-pi-model-b-failed.87768/ same error while trying to mount the ufs partition. I didn't try zfs.
From that thread, I gathered that the issue could be the SD card. So I went along with https://docs.fedoraproject.org/en-U...a_raspberry_pi_using_the_fedora_arm_installer, and it booted all the way to the gfx installer. I didn't finish the installation and didn't check disk size (it should be 64GB).
Now using the proper dd option I tried
$ sudo dd if=FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img bs=1M status=progress of=/dev/sda
3056599040 bytes (3.1 GB, 2.8 GiB) copied, 9 s, 326 MB/s
dd: error writing '/dev/sda': No space left on device
2916+0 records in
2915+0 records out
3056734208 bytes (3.1 GB, 2.8 GiB) copied, 32.3032 s, 94.6 MB/s
This indeed smells like a SD card issue. What I don't understand is why Fedora is able to expand the fs on the disk and boot the gfx installer while FreeBSD, just fails mounting the disk, or even writing the image.
Why can I run Linux not FreeBSD? Is there a way to use that card, or should I shop for another card.
 
The Raspberry Pi imager is very good at burning FreeBSD images. You even can use the xz file directly, no need to unpack it first.

I suggest you try it.

Edit: Oh, and check the sha256sum of the image before burning.
 
Ok found another card lying around. I can write the image to it.
But the pi timouts mounting the disk and dumps the registers before telling me it can't find disks :-( I'll probably go to the arm mailing list with the dump.
 
most likely another type of error, nobody makes 3gb cards afaik

It's technically 4GB (only 1GB visible from regular stuff), but I have one of these lying around :p

2025-03-05-20-25-18-108.jpg
 
Back
Top