moodLearning Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
technical-notes-library-in-a-box [2018/12/20 15:09]
serbizadmin [Maintenance]
technical-notes-library-in-a-box [2020/01/04 05:48]
serbizadmin [Restore]
Line 1: Line 1:
  
 ====== Technical Notes - Library in a Box ====== ====== Technical Notes - Library in a Box ======
 +{{::elibboxbanner.png?400|}}
  
 ====== Installation ====== ====== Installation ======
Line 33: Line 34:
 <code>  <code> 
 sudo dd if=/dev/disk5 of=~/Desktop/tambayayong-eLib-box.dmg </code> sudo dd if=/dev/disk5 of=~/Desktop/tambayayong-eLib-box.dmg </code>
 +  * unmount
 +<code>
 +diskutil unmountDisk /dev/disk5
 +</code>
 \\ \\
 =====Restore===== =====Restore=====
 To restore or replicate the image to another microSD, To restore or replicate the image to another microSD,
 <code> <code>
-sudo dd if=~/Desktop/tambayayong-eLib-box.dmg of=/dev/disk5+sudo dd if=~/Volumes/4TB-SG/raspberrypi/tambayayong-updated-19feb2019.dmg of=/dev/disk5
 </code> </code>
 On Mac, try this variation for speed: On Mac, try this variation for speed:
 <code> <code>
-sudo dd bs=1m if=~/Desktop/tambayayong-eLib-box.dmg of=/dev/rdisk5+sudo dd bs=1m if=/Volumes/4TB-SG/raspberrypi/tambayayong-updated-19feb2019.dmg of=/dev/rdisk2
 </code> </code>
 \\ \\
Line 49: Line 54:
 </code> </code>
 \\ \\
-Do the same for the other "s" numbers, as determined by the //diskutil list// command. In certain cases, you have to do the //force// option. +Do the same for the other "s" numbers, as determined by the //diskutil list// command. In certain rare cases, you have to do the //force// option. 
 <code> <code>
 diskutil umount force /dev/disk5s2 diskutil umount force /dev/disk5s2
Line 76: Line 81:
 sudo gpt create -f /dev/disk5 sudo gpt create -f /dev/disk5
 </code> </code>
 +\\
 +And the most basic of all, when you're having difficulty formatting a microSD card, check if some mechanism on the card adapter or reader is not set to lock or read-only. With the lock on, you'll likely get a "permission denied" message when you do a restore command.
 \\ \\
 \\ \\
 ====== Maintenance====== ====== Maintenance======
 Maintenance of the [[library-box|Library in a Box]] by parts (all available at online stores like Lazada and Shopee): Maintenance of the [[library-box|Library in a Box]] by parts (all available at online stores like Lazada and Shopee):
-  * {{ ::elibboxpowersupply.png?100|}}power supply. This can be replaced by any Android cellphone charger with output of 2.5A. If eLib Box usage is not high, 2A will do, and it can even run on a power bank for mobile phones. But 2.5A is the recommended rating. Make sure, however, that you're not using Raspberry Pi 3 Beta **Plus** - a slightly more powerful version but requiring a more expensive 3A-output power and at least the latest Raspbian Stretch OS.  See [[https://en.wikipedia.org/wiki/Raspbian|Raspbian versioning and OS requirement]].\\ \\+  * {{ ::elibboxpowersupply.png?100|}}power supply. This can be replaced by any Android cellphone charger with output of 2.5A. If eLib Box usage is not high, 2A will do, and it can even run on a power bank for mobile phones. But 2.5A is the recommended rating. Make sure, however, that you're not using Raspberry Pi 3 Beta **Plus** - a slightly more powerful version but requiring a more expensive 3A-output power and at least the latest Raspbian Stretch OS.  See [[https://en.wikipedia.org/wiki/Raspbian|Raspbian versioning and OS requirement]].\\ \\ The eLib Box or the Raspberry Pi is NOT designed to be powered from a USB port on other connected equipment like a laptop. \\ \\
   * {{ ::microsd.jpg?75|}}microSD card. This card contains both the operating system and the contents of the [[library-box|Library in a Box]]. An image backup is recommended so local restoration is possible. Otherwise, request your technology service provider for replacement. Future updates and enhancements may also be available through your technology service provider. \\ \\ In certain situations, it makes sense to pre-position updated microSD cards in the locality to be able to quickly respond to a possible breakdown in one of the eLib sites. \\ \\   * {{ ::microsd.jpg?75|}}microSD card. This card contains both the operating system and the contents of the [[library-box|Library in a Box]]. An image backup is recommended so local restoration is possible. Otherwise, request your technology service provider for replacement. Future updates and enhancements may also be available through your technology service provider. \\ \\ In certain situations, it makes sense to pre-position updated microSD cards in the locality to be able to quickly respond to a possible breakdown in one of the eLib sites. \\ \\
   * {{ ::raspberry_pi_3.png?100|}}Raspberry Pi 3 Beta microcomputer is available via online stores. (Not to be confused with Raspberry Pi 3 Beta **Plus** - a slightly more powerful version but requiring 3A power and at least the latest Raspbian Stretch OS.) The micro SD that came with the original setup can just be inserted into a newly-ordered Raspberry Pi 3 Model B, and it should be good to go.   * {{ ::raspberry_pi_3.png?100|}}Raspberry Pi 3 Beta microcomputer is available via online stores. (Not to be confused with Raspberry Pi 3 Beta **Plus** - a slightly more powerful version but requiring 3A power and at least the latest Raspbian Stretch OS.) The micro SD that came with the original setup can just be inserted into a newly-ordered Raspberry Pi 3 Model B, and it should be good to go.
   * {{ ::heatsink.png?80|}}Over time, the heatsink could detach, as its adhesive would dry up. In this case, just remove the heatsink from the box to prevent it from short-circuiting the microcomputer board. The alternative is to use some double-sided, heat-transfering adhesive tape to re-attach the heatsinks. Remember to wipe the surface first before mounting the heatsink.   * {{ ::heatsink.png?80|}}Over time, the heatsink could detach, as its adhesive would dry up. In this case, just remove the heatsink from the box to prevent it from short-circuiting the microcomputer board. The alternative is to use some double-sided, heat-transfering adhesive tape to re-attach the heatsinks. Remember to wipe the surface first before mounting the heatsink.
-  * {{ ::raspbibetawithfan.jpg?100|}} IF you have a eLib Box version with a fan that draws its power from the Raspberry Pi board, notice to which pins fan wires are attached to and the colors (red and black) of the wire. Red on Pin 2; black on Pin 3. Just in case the wires get detached from the board, just put them back in. If the fan itself breaks, don't worry too much about it. Just keep it there until you find a suitable replacement.+  * {{ ::raspbibetawithfan.jpg?100|}} IF you have a eLib Box version with a fan that draws its power from the Raspberry Pi board, notice to which pins fan wires are attached to and the colors (red and black) of the wire. Red on Pin 4 (5v power); black on Pin 6 (ground). Just in case the wires get detached from the board, just put them back in. If the fan itself breaks, don't worry too much about it. Just keep it there until you find a suitable replacement
 +{{ ::raspberry-pi-gpio-layout-model-b-plus-rotated-2700x900.png?400 |}} 
 +\\ 
 +\\ 
 +  * If you're concerned with possible corruption of data if you just yank the power supply with properly shutting, a start/shutdown button may be added to a contraption. See [[raspberry-pi-3-startup-shutdown-button|this rig]].
 \\ \\
 \\ \\