Setup My Pinebook 64 and Lost Password
#1
Hi everyone! I am new here. What is the easiest way to reset the OS, I have completely forgotten the password and am locked out. Thanks in advance for the help Smile
  Reply
#2
You'll have to reflash manjaro to your Pinebook Pro. You can use the wiki as a guide to do so.
  Reply
#3
if you can remember the separate root password you had to set, you can log in with root and reset your user's password
  Reply
#4
No I don't remember the separate root password unfortunately. You have a link to the guide for reflashing Manjaro to the Pinebook? Also thanks for the replies Smile
  Reply
#5
(04-26-2021, 12:38 PM)jersdayoff Wrote: No I don't remember the separate root password unfortunately. You have a link to the guide for reflashing Manjaro to the Pinebook? Also thanks for the replies Smile

So, you'll need:
1. A microSD card (probably at least 16GB, I've used 32 and up)
2. A working computer to burn the OS to the SD card on
3.  One of the OS's that works on the Pinebook Pro: https://wiki.pine64.org/wiki/Pinebook_Pr...Pro_images

Then it depends.  If you're on a computer that can run Balena Etcher, just select the image that you want and write it to the SD card.  Pop it into the Pinebook Pro, turn it on and double-check that it's what you want.

To get Manjaro back on the Emmc, you'll need to boot to the SD card and download the os that you want.  Then, you'll need to writethe OS to the Emmc.  It's SUPER IMPORTANT that you are careful on this step, as you can render the Pinebook Pro unbootable.

We can't use Etcher on the Pinebook family, so we need to do it manually.  It's not that hard as long as you're really careful.

First, uncompress the image.  If you're using Manjaro, the command is:
Code:
unxz <the name of the file>

Then, we need to see what the system calls the EMMC.  To do that, run:
Code:
lsblk

You should get something like
Code:
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk2      179:0    0  58.2G  0 disk
├─mmcblk2p1  179:1    0 213.6M  0 part /boot
└─mmcblk2p2  179:2    0    58G  0 part /
mmcblk2boot0 179:32   0     4M  1 disk
mmcblk2boot1 179:64   0     4M  1 disk
zram0        252:0    0   5.7G  0 disk [SWAP]

If you are booted from the SD card, that will be the one with the root under MOUNTPOINT (/).  You want the other one!!!!  I'm running off my eMMC, so I don't have two different ones.

Then, enter this:
Code:
sudo dd if=<path to your image file> of=/dev/<device> bs=4M conv=fsync status=progress
where <path to your image file> is the location of the image and
<device> is the whole drive (should be something like mmcblk1 or mmcblk2)

Wait a while, turn your machine OFF, and pop out the card. It should reboot into the setup for whatever OS you chose.
  Reply
#6
Pinebook OR pinebookpro?????
Do understand that these are quite different machines,,,
An OS for "pinebook will NOT EVER work on pinebookpro (or viceversa)
and, BTW, the existence of ....boot0 & ....boot1 shows which is emmc,,
DON'T write to these, unused for both a64 and rk3399 cpu's (pb &pbp respectively)
--more--
For the password, you could boot SD, edit (as root) emmc/etc/shadow, make the emmc passwordless
search forum for shadow
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro vs Pinetab2 Lotech 0 188 02-13-2024, 08:57 PM
Last Post: Lotech
  How to set password for terminal TonyMeyer 3 681 11-13-2023, 04:28 PM
Last Post: Kevin Kofler
  Guide: Setup Latest Waydroid for Hardware Acceleration and/or Development nroth 2 4,191 11-11-2022, 04:47 PM
Last Post: nroth
  Maximum size of boot MicroSD for RockPro64 and Pinebook Pro commiecam 0 1,644 08-07-2022, 10:47 AM
Last Post: commiecam
  Please Help: Bricked Pinebook Pro with Keyboard Update dumbguywhobrokehiscomputer 3 3,894 07-14-2021, 02:49 PM
Last Post: wdt
  Java on Manjaro ARM Pinebook Pro gulagpyromaniac 3 3,782 05-25-2021, 11:05 AM
Last Post: tophneal
  How to boot from SD card on pinebook pro linux123 3 5,948 12-02-2020, 10:29 AM
Last Post: linux123
  Pinebook Pro- configuration aborts setting keyboard layout scroall 10 12,049 10-30-2020, 11:58 AM
Last Post: scroall
  Password Issue Doodenheimer 0 2,049 09-27-2020, 04:36 AM
Last Post: Doodenheimer
  forgot sudo password 20 jason20 8 9,908 09-26-2020, 07:29 PM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)