HOW TO create a installation USB with ... (see below)
#2
(12-14-2022, 01:07 PM)Ice-O-Star Wrote: But... I do have NO IDEA how to create an installation USB (in my case, probably, a bootable microSD) and how to proceed to install the new OS on the PBP. 

The simplest "new user"-friendly way to write that on a storage media is to use Etcher, which has a nice point'n'click interface.

Under the hood, Etcher will:
  • Decompress the .zx file
  • Take the resulting .img file
  • Write its content as-is directly on the whole SD card.

The data inside the .img file is 1:1 bytes content of an actual disk, including a partition table, a main system partition with all files, and boot sector(s) to boot the pinebook.
It's conceptually similar to how a .iso file used to contain raw data as on a Boot CD / DVD (or more recently boot USB stick) -- and thus Etcher is functionally equivalent to your favorite CD burning software (cdrtfe, InfraRecorder, Nero, DiscJuggler) but for disk and flash device instead of optical media.

You have two possibilities to use Etcher:
- on an SD card that you then plug inside you PineBook and you boot of the card. (You could later transfer it to the eMMC)
- using a USB-to-eMMC adapter, you can open your pinebook, take the eMMC out, plug it into the adapter and use Etcher to directly write on the eMMC.

Under the hood Etcher is the equivalent of running under Linux:
Code:
zxcat Manjaro-ARM-kde-plasma-generic-22.10.img.xz | sudo dd of=${DEV} bs=1M iflag=fullblock oflag=direct,sync status=progress

...where "${DEV}" is the device you're writing to, ex.: some /dev/mmcblkn (mmcblk0, mmcblk2, etc.) if the machine has a microSD card slot (or eMMC port), or /dev/sdx (sdb, sdc, etc.) if you're using a USB adapter.
(Beginner advice: be extra careful to write to the correct sdx as your laptop's harddrives have also similar names. Same with mmcblkn if you're writing SD cards from your pinebook pro as its eMMC will also show up as mmcblkn. Using the commands "lsscsi" and "lsblk" can help point out which is what).

More details about installation here:
  • https://wiki.manjaro.org/index.php/Manjaro-ARM
    This guide does two step, create a Tow-Boot SD card and use to flash Tow-Boot into your laptop's firmware (a kind of BIOS-like firmware that is able to boot generic images), and then write the generic image on the SD card.

  • Alternatively, there's a self-contained Pinebook Pro-specific image (doesn't require Tow-boot flashed in the firmware) in the wiki.

(12-14-2022, 01:07 PM)Ice-O-Star Wrote: (I have used 'pip' to install SW. After the installation, just trouble...).

Now some advices regarding that:

pip tends to install software directly into your user path (so always "on" for your user),
or (if used with "sudo") into the system (so always "on" for everyone).

To avoid messing with your current system, you might want to check "pyenv" which enables you to install stuff with pip inside a separate isolated environment that you can activate or deactivate without messing your system.

Another similar solution you can look to is conda:
install mambaforge (miniforge with mamba).
This system also uses environements (instead of messing your system), but is language agnostic:
it has Python, but also Perl, software written in C/C++, etc.
and it also provides installers that are compatible with its environment (e.g.: if you "mamba install pip" inside a conda environment, then running "pip install blah" will install it into that conda environment, not on your system).
  Reply


Messages In This Thread
RE: HOW TO create a installation USB with ... (see below) - by DrYak - 01-06-2023, 01:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook pro won't boot after bootloader installation jwensouls 4 1,137 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Fedora 37 installation gswatkins 16 9,242 03-16-2024, 03:09 PM
Last Post: michel_luc
  My installation guide starting from messed up eMMC Besouro 0 1,204 12-19-2022, 01:01 PM
Last Post: Besouro
Music No sound on PBP default installation ivek 9 10,977 05-09-2021, 05:58 PM
Last Post: binholz
  Debian Bullseye installation Baconomics 3 5,465 01-07-2021, 01:46 PM
Last Post: kuleszdl
  Ubuntu Installation on PBP narinderpal10 5 7,082 12-18-2020, 12:22 PM
Last Post: narinderpal10
  Manjaro 20.06 Step-By-Step Installation Guide nathanielwheeler 19 31,479 11-03-2020, 02:26 PM
Last Post: nathanielwheeler
  How to create a new user mjcohen 14 15,595 03-07-2020, 01:46 PM
Last Post: wdt
  How to restore factory Debian installation from SD? maldus 2 3,303 02-10-2020, 03:25 AM
Last Post: maldus

Forum Jump:


Users browsing this thread: 1 Guest(s)