Difference between revisions of "PineTab"

Jump to navigation Jump to search
(→‎Mobian: add password)
(add steps about flashing image onto sd-card right from pineTab)
Line 103: Line 103:
=== Mobian ===
=== Mobian ===
Mobian is a project providing Debian images for mobile devices. PineTab images can be downloaded [https://images.mobian-project.org/pinetab/ here]. Password is '''1234'''
Mobian is a project providing Debian images for mobile devices. PineTab images can be downloaded [https://images.mobian-project.org/pinetab/ here]. Password is '''1234'''
=== Testing ===
To test an OS, just flash its image onto an microSD card, plug it into PineTab, and reboot.
Note that USB stick won't work.
Also note that you need to "flash", not just copy the file onto the card.
Also remember that you need to unpack image file if it's packed!
You can do it using Ubuntu Touch installed on the PineTab! For now, only Mobian is supported by the guide below.
* First, make sure you have enough free disk space and empty Downloads directory on the PineTab (while not strictly necessary, empty Downloads dir will simplify your typing. You can just move all files from there to another directory).
* go to the Mobian link above and download compressed image (the one ending with .img.gz) - usual recommendation is to download latest, i.e. lowest one.
* Open terminal and type this in it:
  cd Downloads
  ls
* It should show you the name of the file you've just downloaded
* This file is compressed, so first you need to uncompress it. Type this into terminal:
  gunzip *.gz && echo done
* This command will take some time (you won't see any progress until it's done). It either will succeed (and print "done") and fail (and print why).
* Now, let's have a look at disks. Type this into terminal:
  lsblk
* It should show you a tree of disks and their partitions. If you don't have microCD card inserted yet, all of them begin with mmcblk2. Also, some of them have something in the "MOUNTPOINT" column
* Insert microSD card into PineTab. Note that all information on it will be deleted, so don't insert one with valuable information on it!
* type `lsblk` into terminal again.
* Note that now tree of disks has one or more new entries - starting with mmcblk0 - that's partitions of your microSD card.
* Confirm that size of mmcblk0 is close to size of the microSD card, and all lines starting with mmcblk0 have empty "MOUNTPOINT" column.
* now type this:
  sudo dd if=`ls` of=/dev/mmcblk0 bs=1M status=progress
* It will take some time, depending on speed of your microSD card and size of image file
* Now, reboot your PineTab - type this into terminal:
  sudo reboot
* it will be booted from the microSD