Differences between revisions 2 and 3
Revision 2 as of 2020-08-12 08:06:28
Size: 5072
Comment: Initial page dump
Revision 3 as of 2021-02-14 03:40:12
Size: 5836
Editor: PaulWise
Comment: add some missing stuff from the template
Deletions are marked like this. Additions are marked like this.
Line 83: Line 83:

= Other reports =

### please submit an installation report for the Debian installer team to process and link to it here
### https://www.debian.org/releases/stable/amd64/ch05s04#submit-bug
## * [[https://bugs.debian.org/XXXXXX|Debian installation report]]
 * [[https://linux-hardware.org/?probe=7f63cf603d|Linux hardware database probe]]
### If you know of any blog posts about installing Debian or other distros, link them here
## * [[https://example.com/blog/installing-foo-on-computer-bar/|Installing Linux distro foo on computer bar]]

== Useful Links ==

## Link to related bug(s) report(s)

== Credits ==
### Keep only one good category and remove others
## CategoryLaptopComputer | CategoryDesktopComputer | CategoryEmbeddedComputer

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Models covered


This document guides the user how to install Mobian on their phone (currently only Pinephone).

Obtain the image

You can either download pre-built images from this link (recommended). In this case, the image file is named "mobian-pinephone-YYYYMMDD.img.gz". Once you have obtained an image, you can flash it to a SD-card or to internal eMMC storage.

Note: If you decide to use bmaptool, you don't have to download the image manually (see below).

Note2: If you built the image yourself using debos recipes, the image file will be named "mobian-pinephone-YYYYMMDD.img" and there is no need to unzip it.

Flash the image

In order to flash the Mobian image, you need to identify the device attached to target. On the pinephone, it is /dev/mmcblk0 (for SD) or /dev/mmcblk2 (for eMMC, its size should be around 16GB) You can also use device names by-id for increased safety, e.g. /dev/disk/by-id/mmc-SU16G_0x1d6654fd. **Be careful not to write to the wrong device! Replace the "X" in /dev/mmcblkX or /dev/sdX or use /dev/disk/by-id/.**

Follow below steps on how to flash to emmc or see these pine64 wiki instructions for more ways on how to access emmc of the pinephone. To flash a SD card, simply use a computer of your choice.

Be advised that the first boot will take longer due to the ?automatic resizing of the filesystem.

Installation to eMMC

You can install the image to eMMC by using JumpDrive.

  • - Download the Jumpdrive image and flash the Jumpdrive image to a micro SD card

    - Boot the PinePhone from the Jumpdrive micro SD card - Connect the PinePhone to your computer using a USB cable - The sdcard and the emmc will become available as block devices on your computer (in the form of /dev/sdX block devices). - Flash the exposed (mounted) PinePhone drive with the Mobian image using one of the methods below. - Disconnect the PinePhone from your computer and remove the Jumpdrive SD card - Power in the PinePhone and boot Mobian from eMMC.

Method 1a: bmaptool using an URL

bmaptool is a comfortable means to flash your image. It handles sparse files, so it can be considerably faster than plain dd. It also handles both .bmap and .gz files and can dowload them directly from an URL. Execute

with $BLOCKDEVICE the blockdevice to flash, e.g. /dev/mmcblkX, /dev/sdX [in the case of jumpdrive], or /dev/disk/by-id/XXXXXX).


Method 1b: bmaptool with a local image file

You can also use bmaptool to flash a local image. As it handles sparse files, it can flash considerably faster than plain dd

  • sudo bmaptool copy $IMAGE $BLOCKDEVICE

with $IMAGE, the path to the compressed or uncompressed image file and $BLOCKDEVICE the blockdevice (/dev/mmcblkX or /dev/sdX - if you are using jumpdrive - or /dev/disk/by-id/).


  • sudo bmaptool copy mobian-pinephone-20200801.img.gz /dev/disk/by-id/mmc-SU16G_0x1d6654fd

Method 3: dd

To use dd, you need to unzip the image using one of the following commands:

  • gunzip mobian-pinephone-YYYYMMDD.img.gz gzip -d mobian-pinephone-YYYYMMDD.img.gz

Then flash with the following command:

  • sudo dd bs=64k if=mobian-pinephone-YYYYMMDD.img of=/dev/mmcblkX status=progress

(the status= option will display some progress while flashing, dd is awfully silent otherwise)

Default pin and password

The default user is **mobian** and has the password: **1234**. It is also used as PIN on the unlock screen.

The root-user has the default password: root

You should change both - please see ?changing password about the right way to do so. If you want to access your phone via ssh, you need to ?set it up to do so.

Automatic resizing of your filesystem on first boot

After flashing the image and booting for the first time, Mobian will resize the root filesystem to take all possible space on the disk. This can take a while and will only happen on first boot. So grab a ${DRINK_OF_CHOICE} and be patient.

Other reports