I am new to this and exploring a lot of concepts. Please lmk if I have any misconceptions.
I imaged Rasberry Pi OS on my microSD card (32 GB) using the Raspberry Pi Imager via raspberrypi.com. The capacity of the microSD card becomes 267.4 MB, so I believe that partitions are created. I cannot see the other partitions using Disk Utility on Mac.
I would like to save a Javascript app I created onto the microSD card before connecting it to my Raspberry Pi Zero. Is this possible? Or do I need to boot my Raspberry Pi and download the file separately?
You may add your JavaScript to the "rootfs" which after installing the OS with the imager application is mounted at
/media/user/rootfs
. This is on Linux and if it is not on Mac by default, then mount therootfs
partition and copy whatever files you require.Note that there is another
boot
partition where you may do boot config manipulation by editing the fileconfig.txt
.