For posterity, I was able to figure out how to do this, thanks largely to GraFfiX420 and this thread:
https://gbatemp.net/threads/moving-from-sx-os-sd-emunand-to-sd-hidden_emunand.526587/
The process was first to set up a new hidden emuNAND on my SD card using the bootloader. Then I moved my old emuNAND on to my SD card as files again using the bootloader. Finally I followed the steps in that thread to write my old emuNAND on to the hidden partition.
Even though it strikes me as a lower priority feature, it'd be nice if the SX bootloader had the option of copying emuNANDs between sysNAND, SD card files, and SD card hidden partition so that I didn't have to chase down a homegrown way of doing this.
Just in case that link stops working, here is the info:
Code:
dd if=/dev/rdisk* of=first1024.bin bs=1024 count=1
Code:
cat first1024.bin boot0.bin boot1.bin full.00.bin full.01.bin full.02.bin full.03.bin full.04.bin full.05.bin full.06.bin full.07.bin > /Volumes/WhereYouWantToStoreIt/emunand.bin
Write the backup with pv:
Code:
sudo dd if=/Volumes/WhereYouStoredIt/emunand.bin | pv -s 29G | sudo dd of=/dev/rdisk* bs=2m conv=noerror,notrunc
Without pv:
Code:
sudo dd if=/Volumes/WhereYouStoredIt/emunand.bin of=/dev/rdisk* bs=2m conv=noerror,notrunc