Template:SDCardImage

From Phidgets Support
Revision as of 15:26, 6 October 2017 by Lmpacent (talk | contribs)

If you would like to reflash your micro SD card, your first step will be to download the SBC4 image file, which can be found in the Quick Downloads section above. The next step will differ based on your operating system. If you are going to be using a Windows machine, keep reading, otherwise, you can jump ahead here:

Windows

You should have already completed the first step, which is downloading the SD card image:


Next, you will need to download some software in order to write the image file to the SD card. We recommend using Win32 Disk Imager.


After downloading and running Win32 Disk Imager, make sure your SD card is plugged in. Select it on the right hand side under device :


Next, select the image file and press on the Write button:


After writing, you are almost done. The next step is to plug the SD card back into the SBC and expand the memory. Jump ahead to expanding your file system.

macOS

Linux

Expanding

After writing the image file to your SD card, you will need to expand the file system size in order to take advantage of the full capacity of your card. In order to do this, you must run the expandfs.sh script which can be accessed at the / directory as shown here:


Note: if you are using SSH in order to run this script, you will need to enable SSH first (as it is turned off by default). Enabling SSH was covered above in the SSH section.


Next, simply run the script:


The SBC will automatically reboot, and your file system will be expanded. You can confirm that it has expanded by checking the file system size report.