PINE64
Setup My Pinebook 64 and Lost Password - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=1)
+--- Forum: Getting Started (https://forum.pine64.org/forumdisplay.php?fid=21)
+--- Thread: Setup My Pinebook 64 and Lost Password (/showthread.php?tid=13686)



Setup My Pinebook 64 and Lost Password - jersdayoff - 04-23-2021

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


RE: Setup My Pinebook 64 and Lost Password - 33YN2 - 04-23-2021

You'll have to reflash manjaro to your Pinebook Pro. You can use the wiki as a guide to do so.


RE: Setup My Pinebook 64 and Lost Password - tophneal - 04-23-2021

if you can remember the separate root password you had to set, you can log in with root and reset your user's password


RE: Setup My Pinebook 64 and Lost Password - jersdayoff - 04-26-2021

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


RE: Setup My Pinebook 64 and Lost Password - carlosqueso - 04-27-2021

(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_Pro#Pinebook_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.


RE: Setup My Pinebook 64 and Lost Password - wdt - 05-01-2021

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