Or you could just netboot NetBSD, e.g. following
https://www.thangorodrim.ch/notes/netbsd-sparc64-netboot.html
this works even for installing, just mount the NetBSD installer ISO and
use that as the root filesystem to netboot. That's how I bootstrapped my
Ultra-45 into running NetBSD when its CDROM ate the install CD and refused
to spit it out ...
Note that you probably need NetBSD as the NFS server for this, as Linux
distributions have started to kill off (instead of just not officially
supporting) NFSv2, which is what the NetBSD netboot loader needs.