Manjaro 20.06 Step-By-Step Installation Guide
(06-23-2020, 07:24 PM)nathanielwheeler Wrote: I've found that the information needed to replace the default OS on Pinebook Pro is scattered all over the place, and in some places, contradictory.  To help newbs like me avoid the trial-by-error that I went through, I've made the following guide based on a successful replacement of Mate/Debian with XFCE/Manjaro.

0. Get the proper images and signatures.

First, download the images and checksums you need.

KDE Plasma
- Download
- Torrent
- sha256
- Download
- Torrent
- sha256
- Download
- Torrent

1. Verify checksums

It's very important to verify that the compressed image you downloaded isn't corrupted or anything.  To do that, we will be running sha256sum on our image and checking it against the checksum we downloaded.

Make sure you are in the directory containing the images, usually `~/Downloads`

$ sha256sum <target image>.img.xz

For mac, use:

$ shasum -a 256 <target image>.img.xz

This will print a string of characters followed by the name of the file.  Check that checksum against the .img.xz.sha256 file.  There are many ways to do this, but the simplest way is to print the file:

$ cat <target image>.img.xz.

Ideally, the output will look exactly the same as the sha256sum function.  If it isn't, then your image is corrupted and you need to redownload the image.

2. Decompress the image

Get xz-utils if you don't already have it installed.

$ # On Arch:
$ sudo pacman -Syu xz-utils

$ # On Debian/Ubuntu:
$ sudo apt-get install xz-utils

Then, extract the image.

$ # I like to use the -v flag so I can watch the progress of the extraction
$ unxz -k -v <target image>.img.xz

The mac equivalent is a bit different:

$ # Get xz package if you don't already have it
$ brew install xz

$ # Decompress image
$ xz -d -k -v <target image>.img.xz

3. Flash to microSD using Etcher

I recommend using balena Etcher to flash the image to microSD.  Simply select the image, then the drive to flash to, and then wait for etcher to finish.  It will likely take good while, so make some tea or something.

4. Boot from microSD.

Once the microSD has been flashed, pop it into the microSD drive on your Pinebook Pro and turn it on.  If all has gone well, it will boot to Manjaro's desktop.

NOTE: this system is not our final OS, this is simply the environment in which we will install Manjaro the internal eMMC memory.

You will get a few setup questions:
- keyboard layout
- username
- additional groups (there's a bug here: leaving this field empty will not add the default groups, so you will have to type them in manually separated by commas)
- full name
- password
- root password
- timezone
- locale (en_US.UTF-8 if you are located in the United States)
- hostname

At this point, we still need to put Manjaro on the internal eMMC memory, so we have a few more steps to run.

5. Repeat steps 0-2

As much as I wish to tell you that the Manjaro ARM installer works, it is incredibly buggy at the moment, so this is where we will have to get technical and dangerous.  Download a new image of Manjaro, verify its checksum, and decompress it, just like we did in Steps 0-2.

6. Using dd 

At this point, I'm afraid we have to resort to the tool of last resort: dd.  Jokingly, it is short for "disk destroyer", because it is incredibly literal and the slightest misspelling could destroy all data on the target.

What dd does is it does a direct bit-by-bit transfer from a target to a destination in the form of:

$ dd -if=<target> -of=<destination>

So, for our pinebook pro, we are targeting our freshly downloaded image, likely at '/home/<user>/Downloads'.  The destination will be '/dev/mmcblk2', but you should use `fdisk -l` to verify that your eMMC internal storage is located there.
For my own pinebook pro, I ran:

$ dd if=/home/<user>/Downloads/<target>.img of=/dev/mmcblk2

7. Reboot

Shutdown your system, remove the microSD card, and if all went well, you should be prompted for the same information as you were prompted for in Step 4.

8. Rejoice!

Congratulations, you have now successfully replaced the default OS on the Pinebook Pro!
Thanks! I have not yet tried your directions, but everything else I tried either failed, or the result was sooooo slow in booting, I gave up. In my many attempts, I destroyed the micro holder; I will have to physically hold it in, else devise some mechanical means (shoestring?) to hold the microSD in place.

Messages In This Thread
RE: Manjaro 20.06 Step-By-Step Installation Guide - by evj - 06-23-2020, 10:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 367 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  Fedora 37 installation gswatkins 13 4,070 10-18-2023, 07:53 AM
Last Post: poVoq
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 1,644 08-21-2023, 09:10 PM
Last Post: vanessadonald
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 1,504 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Manjaro - HIbernate - brcmfmac clk issue pompeyPinePro 1 487 08-18-2023, 02:06 AM
Last Post: juliamenendez
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 705 08-18-2023, 01:58 AM
Last Post: juliamenendez
  Manjaro update: nerd-font-terminus dependency issue Vinay 3 1,006 05-10-2023, 04:51 AM
Last Post: Vinay
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 5 1,289 03-21-2023, 11:21 PM
Last Post: calinb
  Manjaro update broke hardware video acceleration with mpv myself600 2 1,060 01-25-2023, 09:12 AM
Last Post: myself600
  Manjaro ARM 20.04 spikerguy 68 93,123 01-08-2023, 07:22 PM
Last Post: vandys

Forum Jump:

Users browsing this thread: 1 Guest(s)