Pinebook Pro booting error

Hi.

After creating the boot SD and booting I get the error “root account locked, cannot access console”. After hitting enter it returns to that message. Any ideas? Thank you in advance.

Peter

Welcome to :enos: forums!!
:enos_flag: :rocketa_purple:

I’ve never had that problem before.

the password for root account should be

alarm

can you try that.

Also try logging into alarm account if possible

user: alarm
pass: alarm

I can’t get to a console, so no login possible.

Then I would suggest burning the image to the storage device again and then try.

I’ve never seen this error before, so I don’t know how to approach it.
I’ve tested the image and it worked on my pinebook pro when I tried it

I don’t have the possibility to create a new image (lacking a x86_64 machine) so I tried the image-install-calamares.sh script from the git “https://github.com/endeavouros-arm/images” but there’s an syntax error in line 272 (DEVICESIZE=/1048576: syntax error: operator expected (“/1048576” is causing the error). I’m currently running vanilla Arch Linux.

I think that is happening because you have selected the incorrect storage device or the storage device itself is corrupted. We have had several instances when the problem was actually in the SD card.

The script is working fine on my side.
I’m running the script on a Raspberry Pi running EndeavourOS arm. I’m burning the image to a micro SD card connected using a microSD to USB connector.

Maybe @Pudge has a clue regarding the error.

I will check it. Thanks

Tried different SD cards & also USB stick but always the same error (sorry, it’s in German):

Partitioning, & formatting storage device…
./image-install-calamares.sh: Zeile 272: ((: DEVICESIZE=/1048576: Syntaxfehler: Operator erwartet. (Fehlerverursachendes Zeichen ist “/1048576”).

Partitioning storage device /dev/sda…
16+0 Datensätze ein
16+0 Datensätze aus
16777216 Bytes (17 MB, 16 MiB) kopiert, 1,11149 s, 15,1 MB/s
parted: Ungültige Option – 1
parted: Ungültige Option – M
parted: Ungültige Option – i
parted: Ungültige Option – B
Aufruf: parted [-hlmsfv] [-a] [GERÄT [BEFEHL [PARAMETER]] …]

can you show me the output of this screen?

I tried /dev/sda & /dev/mmcblk1

can you try /dev/sda and post the output

[root@heixn images]# ./image-install-calamares.sh 

Partitioning, & formatting storage device...
./image-install-calamares.sh: Zeile 272: ((: DEVICESIZE=/1048576: Syntaxfehler: Operator erwartet. (Fehlerverursachendes Zeichen ist "/1048576").

Partitioning storage device /dev/sda...
16+0 Datensätze ein
16+0 Datensätze aus
16777216 Bytes (17 MB, 16 MiB) kopiert, 1,30444 s, 12,9 MB/s
parted: Ungültige Option -- 1
parted: Ungültige Option -- M
parted: Ungültige Option -- i
parted: Ungültige Option -- B
Aufruf: parted [-hlmsfv] [-a<Ausrichtung>] [GERÄT [BEFEHL [PARAMETER]] …]

Formatting storage device /dev/sda...

If "/dev/sdx contains an existing file system Labelled XXXX" or similar appears, Enter: y


mkfs.fat 4.2 (2021-01-31)
mkdir: das Verzeichnis „MP1“ kann nicht angelegt werden: Die Datei existiert bereits
mkdir: das Verzeichnis „MP2“ kann nicht angelegt werden: Die Datei existiert bereits
mount: /tmp/images/MP1: Spezialgerät /dev/sda1 ist nicht vorhanden.
       dmesg(1) könnte nach einem fehlgeschlagenen mount-Systemaufruf
       weitere Informationen liefern.
mount: /tmp/images/MP2: Spezialgerät /dev/sda2 ist nicht vorhanden.
       dmesg(1) könnte nach einem fehlgeschlagenen mount-Systemaufruf
       weitere Informationen liefern.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  243k    0  243k    0     0   249k      0 --:--:-- --:--:-- --:--:--  249k
--2022-12-31 16:40:49--  https://github.com/endeavouros-arm/test-images/releases/download/rootfs-pbp-20221217/enosLinuxARM-pbp-latest.tar.zst
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens github.com (github.com)… 140.82.121.4
Verbindungsaufbau zu github.com (github.com)|140.82.121.4|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://objects.githubusercontent.com/github-production-release-asset-2e65be/537648633/ab550a7a-fafc-4a4b-9a4e-25d81a66d99f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221231%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221231T164050Z&X-Amz-Expires=300&X-Amz-Signature=49d1dfacea6b1f04097c1f2948ceda12a08de71d07f053dd21fa66765878cec5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=537648633&response-content-disposition=attachment%3B%20filename%3DenosLinuxARM-pbp-latest.tar.zst&response-content-type=application%2Foctet-stream [folgend]
--2022-12-31 16:40:50--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/537648633/ab550a7a-fafc-4a4b-9a4e-25d81a66d99f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221231%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221231T164050Z&X-Amz-Expires=300&X-Amz-Signature=49d1dfacea6b1f04097c1f2948ceda12a08de71d07f053dd21fa66765878cec5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=537648633&response-content-disposition=attachment%3B%20filename%3DenosLinuxARM-pbp-latest.tar.zst&response-content-type=application%2Foctet-stream
Auflösen des Hostnamens objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.108.133, 185.199.111.133, 185.199.109.133, ...
Verbindungsaufbau zu objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1331803088 (1,2G) [application/octet-stream]
Wird in »enosLinuxARM-pbp-latest.tar.zst.2« gespeichert.

enosLinuxARM-pbp-latest.tar.zst.2                     100%[======================================================================================================================>]   1,24G  6,92MB/s    in 3m 11s  

2022-12-31 16:44:02 (6,64 MB/s) - »enosLinuxARM-pbp-latest.tar.zst.2« gespeichert [1331803088/1331803088]



Untarring the image...takes 4 to 5 minutes.
62,2MiB 0:00:02 [26,0MiB/s] [=====================================================================================================================================================================>] 100%            
/*stdin*\ : Read error (39) : premature end 
usr/share/man/man3/ne_has_support.3.gz: Truncated tar archive: Datei oder Verzeichnis nicht gefunden
bsdtar: Error exit delayed from previous errors.


syncing files...takes 4 to 5 minutes.
18334+1 Datensätze ein
18334+1 Datensätze aus
9387176 Bytes (9,4 MB, 9,0 MiB) kopiert, 2,5182 s, 3,7 MB/s

In /etc/fstab and /boot/cmdline.txt changing Disk labels to UUID numbers.
lsblk: /dev/sda1: kein blockorientiertes Gerät
lsblk: /dev/sda2: kein blockorientiertes Gerät


Almost done! Just a couple of minutes more for the last step.

umount: MP1: nicht eingehängt.
umount: MP2: nicht eingehängt.


End of script!

Be sure to use a file manager to umount the device before removing the USB SD reader

The default user is alarm with the password alarm
The default root password is root


Press any key to continue

i was asking you to post the same screenshot i posted, i.e. the all the disks you have.

can you post the same screen i posted

Please check Post #9?

1 Like

can you post this output in english. I don’t understand german.

running the script with

 LC_ALL=C

would output it in english

It’s working now without problems. Seems the German locale is messing up the script.

1 Like

ahh, might be the case, probably @Pudge or @joekamprad should look into it.
I have no idea how to deal with it.

I’m trying to integrate the installer completely to calamares so it might not be an issue in the future ( but I don’t know when :sweat_smile: )

No problem. Maybe there should be a remark to use LC_ALL=C in the documentation as long as we don’t find the reason for this behaviour…

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.