Manjaro Arm Installer fails

I used the Manjaro Arm Installer script to install Manjaro for Odroid N2 on an SD card. The installation will not boot up. Here is the dialog from the installer script:

-> Getting package lists ready for on2 lxqt edition...
==> Getting /dev/sdc ready for on2...
cat: /sys/block/sdc/sdcp1/start: No such file or directory
cat: /sys/block/sdc/sdcp1/size: No such file or directory
expr: syntax error: missing argument after ‘+’
mount: /var/tmp/manjaro-arm-installer/boot: special device /dev/sdcp1 does not exist.
mount: /var/tmp/manjaro-arm-installer/root: special device /dev/sdcp2 does not exist.
==> Creating install for on2...
==> Used device is /dev/sdcx
-> Downloading latest aarch64 rootfs...
Manjaro-ARM-aarch64 100%[===================>] 182.60M 3.21MB/s in 80s
-> Extracting aarch64 rootfs...
-> Setting up keyrings...
-> Installing packages for lxqt on on2...
execv(pacman) failed: Exec format error
execv(pacman) failed: Exec format error
execv(pacman) failed: Exec format error
-> Enabling services...
-> Applying overlay for lxqt...
-> Setting up users...
-> setting password for root ...
-> Adding user...
-> Enabling user services...
-> Setting up system settings...
-> Doing device specific setups for on2...
-> Cleaning install for unwanted files...
==> on2 lxqt install complete
==> Writing bootloader and cleaning up after install...
mv: cannot stat '/var/tmp/manjaro-arm-installer/root/boot/*': No such file or directory
umount: /var/tmp/manjaro-arm-installer/root: not mounted.
umount: /var/tmp/manjaro-arm-installer/boot: not mounted.
==> Time : 3.60 minutes...

What's the problem here?

Seems it has issues finding/creating the partitions of the SDC device.

@schinfo did the device detection bit. Maybe he knows what's going on there?
It's seems it taking the device as an MMC device, instead of a SDX device.

I'll take a look today evening, when I'm at home

Cann't test it, because I've no Odroid N2 but the build does not work for me either.

This is very frustrating. I'm trying to install on a headless system for testing. When I flash the Manjaro image, I can boot up, but I can't get access because there's no default password. So, I tried using the installer script, but it's broken. I don't understand why the image doesn't include a default password! That would really simplify installation.

The reason is that they are not meant for headless setup. :slight_smile:
When the image boots it presents an OEM setup, where you finish the install, like create users, set passwords etc.

So there's something wromg in the SD/MMC detection. I don't know that code or what it does, that's why I tagged you. :slight_smile:

Think I found the issue. I will fix it in git in a minute.

EDIT:
Should be fixed in git now.

Hi,

I created today a lxqt image for the n2 before the git update, flashed on a sd card, it is working...

sudo buildarmoem -d on2 -e lxqt -v lxqt_19.08.06 -n

I booted the os flashed on the sd card, I configured it, the second boot with the login and password don't offered the selected keyboard during the first boot (os configuration) but an us keyboard... I wrote the simple password and found the lxqt desktop :slight_smile:

the third boot offer the wish keyboard needed for the login and password :slight_smile:

If needed, I saved the complete file generated during the oem image process

buildarmoem is not the manjaro arm installer. It is the Manjaro ARM image creator. :slight_smile:
And yeah, that should still work as usual.

thanks for your teaching.
Enjoy !