Copy Meteohub Runtime Environment on a 8GB microSD card
You find the Meteohub runtime environment to download here. Use the 8GB "Allwinner A10 Mini X" image. Download this software as a compacted RAR archive ("mhminix-vxyz.rar") and decompress it with winrar (on Windows) or unrar (on Linux). Resulting file is about 8 GB in size named like "mhminix-vxyz.img". Next you have to put this file onto a 8 GB microSD card. To use an industrial card like TS8GUSDC10I from Transcend is highly recommended, as it is expected to handle the heavy amount of flash wear fine. Extracted file is not a regular file to copy onto a file system, but a multi-partition disk image. So you need a special tool to transplant it onto the microSD card.
On Windows you need to download and run a special tool to do the required low-level writing to the microSD card. The tool of choice is "ImageWriter" from SuSE (you find additional information about this tool here). Please download ImageWriter.exe to your Windows PC. It does not need to be installed it is just a small executable to run. Please insert the USB SD card reader with microSD card inserted into your PC wait a few seconds and then start downloaded "ImageWriter.exe". Wait until a dialog like this pops up:
Please select the inserted USB acrd reader with microSD card from the target drop-down list. Then open the file browser by clicking "Select" button. "*.img" files are not displayed by default so first thing to do is to enter "*.*" as file name. Having done that you will see the file "mhminix-vxyz.img" on the list. Select and open this file. Dialog should now look like this:
Press "copy" and the image data will be written to microSD card. When operation has finished without error, you are done with this step. Please pull the USB SD card reader from your Windows PC.
On Linux you use the "dd" command. Please insert the microSD card into a USB SD card reader and plug this into your Linux box and check via "dmesg" what device the microSD card has been mapped to. In the following example it has been mapped to "/dev/sdj"
# dmesg ... [5343787.389354] scsi 27:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0 CCS [5343787.389506] sd 27:0:0:0: Attached scsi generic sg5 type 0 [5343787.393101] sd 27:0:0:0: [sdj] 15759360 512-byte logical blocks: (8.06 GB/7.51 GiB) [5343787.393590] sd 27:0:0:0: [sdj] Write Protect is off [5343787.393593] sd 27:0:0:0: [sdj] Mode Sense: 4b 00 00 08 [5343787.393595] sd 27:0:0:0: [sdj] Assuming drive cache: write through [5343787.397343] sd 27:0:0:0: [sdj] Assuming drive cache: write through [5343787.397349] sdj: sdj1 sdj2 sdj3 [5343787.405303] sd 27:0:0:0: [sdj] Assuming drive cache: write through [5343787.405306] sd 27:0:0:0: [sdj] Attached SCSI removable disk
We are just looking for "sdj" and are not interested in the partitions recognized on the stick (sdj1, sdj2, sdj3). The print out above tells that "/dev/sdj" is the target device. To make sure that the device ist not mounted by some background processes you should manually unmount all partitions by "umount". In the given example this will be
umount /dev/sdj1; umount /dev/sdj2; umount /dev/sdj3
When this throws errors about not mounted file systems that is fine. Don't worry. Now it is time to bring the Meteohub image onto the microSD card. In the example above this will be done by
dd if=mhminix-vxyz.img of=/dev/sdj bs=1M
Please be careful with that command. When you choose the wrong "of=" target (i.e. your system drive) this will be overwritten without further notice and you will have to restore your Linux box! As dd has to transport 8GB of data to the microSD card in small chunks this will take a long time (may be an hour). When finished dd will report number of written blocks. If it reports that not all blocks could be written, something is wrong with your microSD card (may be less than 8GB in size?).
Inital setup can be done as usual via a headless variant where you connect to the Meteohub via WLAN from your desktop PC's browser or directly at the MiniX by having monitor and keyboard/mouse connected to it.
With monitor and keyboard/mouse connected
Without monitor and keyboard/mouse
Revert to a regular MiniX
Meteohub installation does no harm to your MiniX. All Meteohub operation happens on the microSD card. Put this away and the MiniX is as you have received it from factory.