====== How to Prepare an eLib Box SDcard Image ======
1. Download a compressed image of the SD Card from [[https://[downloads.library.ph|downloads.library.ph]] \\ \\
2. Decompress the file. On Windows, you may use [[https://www.7-zip.org/|7-zip]]. On macOS terminal:
gunzip tambayayong-eLib-box-20200609.dmg.xz
The resulting file is **tambayayong-eLib-box-20200609.dmg**
\\ \\
3. Copy the disk image into the SD Card. On Windows, you may use [[https://www.balena.io/etcher/|balenaEtcher]]. On macOS terminal: \\
3.1. Determine device number of the drive where the new SD Card is mounted, so you can copy the downloaded image to such disk:
diskutil list
3.2. Assuming that the SD Card is on /dev/disk4, you may have a subpartition (say, disk4s2) that you need to unmount:
diskutil umount /dev/disk4s2
3.3. Copy the image:
sudo dd bs=1m if=/tambayayong-eLib-box-20200609.dmg of=/dev/rdisk4
3.4. Once done, dismount the disk properly:
diskutil unmountDisk /dev/disk4
Done.
\\
\\
===== See Also =====
* [[physical-assembly-of-tambayayong-elib-box|Assembly of the Tambayayong eLib Box]]