Failing to install

Hi,

I just tried to install EnOS ARM to an external SSD from my ruuning Arch system following the installation instruction but I am failing in doing so. Not sure what might be wrong as I have done it this way a couple of times before. The only difference was that I did it from a tmp directory under ~/Downloads but I ran the installer with sudo (sudo ./image-install-calamares.sh).

Here is the relevant part of the output I think:

Untarring the image...takes 4 to 5 minutes.
./image-install-calamares.sh: line 124: pv: command not found
zstd: /*stdin*\: unexpected end of file 


syncing files...takes 4 to 5 minutes.
mv: cannot stat 'MP2/boot/*': No such file or directory

In /etc/fstab and /boot/cmdline.txt changing Disk labels to UUID numbers.
mv: cannot stat 'MP2/etc/fstab': No such file or directory
./image-install-calamares.sh: line 134: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 135: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 136: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 137: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 140: MP2/etc/fstab: No such file or directory
sed: can't read MP2/etc/fstab: No such file or directory
sed: can't read MP2/etc/fstab: No such file or directory
sed: can't read MP2/etc/fstab: No such file or directory
awk: fatal: cannot open file `MP1/cmdline.txt' for reading: No such file or directory
sed: can't read MP1/cmdline.txt: No such file or directory
sed: can't read MP1/cmdline.txt: No such file or directory
the whole output
$ sudo ./image-install-calamares.sh 
[sudo] password for pebcak:          
warning: arch-install-scripts-24-2 is up to date -- skipping
 there is nothing to do

Partitioning, & formatting storage device...

Partitioning storage device /dev/sda...

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)
btrfs-progs v5.18.1
See http://btrfs.wiki.kernel.org for more information.

NOTE: several default settings have changed in version 5.15, please make sure
      this does not affect your deployments:
      - DUP for metadata (-m dup)
      - enabled no-holes (-O no-holes)
      - enabled free-space-tree (-R free-space-tree)

Label:              (null)
UUID:               6f87ded2-5305-4453-8be1-71db7676d0be
Node size:          16384
Sector size:        4096
Filesystem size:    111.59GiB
Block group profiles:
  Data:             single            8.00MiB
  Metadata:         DUP               1.00GiB
  System:           DUP               8.00MiB
SSD detected:       no
Zoned device:       no
Incompat features:  extref, skinny-metadata, no-holes
Runtime features:   free-space-tree
Checksum:           crc32c
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1   111.59GiB  /dev/sda2

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  154k    0  154k    0     0   215k      0 --:--:-- --:--:-- --:--:--  215k
--2022-06-28 16:44:31--  https://github.com/endeavouros-arm/images/releases/download/image-rpi-20220626/enosLinuxARM-rpi-aarch64-latest.tar.zst
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/503394105/c4fd6775-f7cf-4a4f-acad-386a5da52dd3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220628%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220628T144428Z&X-Amz-Expires=300&X-Amz-Signature=d0c86f7012743aeb680420355afd3819c3c36b14ab6f075b47d7e970e62d5796&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=503394105&response-content-disposition=attachment%3B%20filename%3DenosLinuxARM-rpi-aarch64-latest.tar.zst&response-content-type=application%2Foctet-stream [following]
--2022-06-28 16:44:31--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/503394105/c4fd6775-f7cf-4a4f-acad-386a5da52dd3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220628%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220628T144428Z&X-Amz-Expires=300&X-Amz-Signature=d0c86f7012743aeb680420355afd3819c3c36b14ab6f075b47d7e970e62d5796&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=503394105&response-content-disposition=attachment%3B%20filename%3DenosLinuxARM-rpi-aarch64-latest.tar.zst&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1273865364 (1.2G) [application/octet-stream]
Saving to: ‘enosLinuxARM-rpi-aarch64-latest.tar.zst’

enosLinuxARM-rpi-aarch64-latest.tar.zst                     100%[=========================================================================================================================================>]   1.19G  5.19MB/s    in 3m 57s  

2022-06-28 16:48:29 (5.12 MB/s) - ‘enosLinuxARM-rpi-aarch64-latest.tar.zst’ saved [1273865364/1273865364]



Creating btrfs Subvolumes
Create subvolume 'MP2/@'
Create subvolume 'MP2/@home'
Create subvolume 'MP2/@log'
Create subvolume 'MP2/@cache'


Untarring the image...takes 4 to 5 minutes.
./image-install-calamares.sh: line 124: pv: command not found
zstd: /*stdin*\: unexpected end of file 


syncing files...takes 4 to 5 minutes.
mv: cannot stat 'MP2/boot/*': No such file or directory

In /etc/fstab and /boot/cmdline.txt changing Disk labels to UUID numbers.
mv: cannot stat 'MP2/etc/fstab': No such file or directory
./image-install-calamares.sh: line 134: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 135: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 136: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 137: MP2/etc/fstab: No such file or directory
./image-install-calamares.sh: line 140: MP2/etc/fstab: No such file or directory
sed: can't read MP2/etc/fstab: No such file or directory
sed: can't read MP2/etc/fstab: No such file or directory
sed: can't read MP2/etc/fstab: No such file or directory
awk: fatal: cannot open file `MP1/cmdline.txt' for reading: No such file or directory
sed: can't read MP1/cmdline.txt: No such file or directory
sed: can't read MP1/cmdline.txt: No such file or directory


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



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’ll try again following the instructions by the letter this time and see if it will succeed.

you have to install pv I guess. It says pv command not found

1 Like

Alright, thanks!
I’ll install pv and try again.

Thanks @sradjoker for pointing out the missing package!

The image installed without a hitch. I am not at home now to go through the second stage of the install but when I am done I let you know.

What is pv? :thinking:

Some users wanted a progress bar for the untarring process. So I piped bsdtar to pv and finally to zstd.

Edit:
Sorry I got the order reversed:

 pv "enosLinuxARM-odroid-n2-latest.tar.zst" | zstd -T0 -cd -  | bsdtar -xf -  -C MP2

Edit 2:
Fun fact:
I had to experiment for about half a day on this trying to get the order of the command options right to get it to work. It was/is very confusing.

2 Likes

Problem fixed in the install script

2 Likes

Great!

That was my thinking also when I saw that missing pv command line before.
I thought that perhaps it was something missing from the installer.
It didn’t occur to me though that I should be installing it on my running system :blush:

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