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
  Use SD to install new OS over pinebook debian Rudy558 8 1,623 08-27-2021, 10:36 PM
Last Post: bcnaz
  Please Help: Bricked Pinebook Pro with Keyboard Update dumbguywhobrokehiscomputer 3 953 07-14-2021, 02:49 PM
Last Post: wdt
  Java on Manjaro ARM Pinebook Pro gulagpyromaniac 3 1,189 05-25-2021, 11:05 AM
Last Post: tophneal
  Default Password for New Pine64 KDE Plasma CE? robertb1 3 2,053 02-01-2021, 04:29 PM
Last Post: cybercricket
  How to boot from SD card on pinebook pro linux123 3 2,146 12-02-2020, 10:29 AM
Last Post: linux123
  Password Issue Doodenheimer 0 1,089 09-27-2020, 04:36 AM
Last Post: Doodenheimer
  forgot sudo password 20 jason20 8 4,544 09-26-2020, 07:29 PM
Last Post: KC9UDX
  Changing locale on Pinebook Pro Perl6_user 5 3,374 09-16-2020, 05:13 PM
Last Post: guava
  First time setup of pro glennngiere 2 2,347 06-07-2020, 04:52 PM
Last Post: xmixahlx
Big Grin New to Pinebook Pro SanjevR 5 4,457 06-07-2020, 07:35 AM
Last Post: spikerguy

Forum Jump:


Users browsing this thread: 1 Guest(s)