├── rw
└── var
└── pdb
└── system
4 directories, 0 files
When booting with the above image, cannot find some files.
[ 0.740142] process '/init' started with executable stack
[ 0.749886] sda: sda1 sda2
[ 0.754014] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
opendir: No such file or directory
ERROR: no system package found!
[ 1.758207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 1.759258] SMP: stopping secondary CPUs
[ 1.759869] Kernel Offset: disabled
[ 1.760614] CPU features: 0x0000a,68002238
[ 1.761060] Memory Limit: none
[ 1.761340] Rebooting in 5 seconds..
test procedure (log)
root@debian-4gb-fsn1-2:~# curl -skL --retry 3 --connect-timeout 3 -o chr.img.zip https://download.mikrotik.com/routeros/7.15beta9/chr-7.15beta9-arm64.img.zip
unzip chr.*.zip
rm -rf chr.*.zip
Archive: chr.img.zip
inflating: chr-7.15beta9-arm64.img
root@debian-4gb-fsn1-2:~# # Load nbd module
sudo -E modprobe nbd
root@debian-4gb-fsn1-2:~# qemu-img convert -f raw -O qcow2 chr-*.img chr.qcow2
root@debian-4gb-fsn1-2:~# sudo -E qemu-nbd -c /dev/nbd0 chr.qcow2
root@debian-4gb-fsn1-2:~# sudo -E rm -rf /tmp/chr*
sudo -E mkdir /tmp/chr-test/
root@debian-4gb-fsn1-2:~# sudo -E mount /dev/nbd0p1 /tmp/chr-test/
root@debian-4gb-fsn1-2:~# ls /tmp/chr-test/ -l
total 1
drwxr-xr-x 3 root root 512 Mar 27 20:41 EFI
root@debian-4gb-fsn1-2:~# sudo -E mkdir /tmp/chr-p2/
root@debian-4gb-fsn1-2:~# sudo -E mount /dev/nbd0p2 /tmp/chr-p2/
root@debian-4gb-fsn1-2:~# tree /tmp/chr-p2
-bash: tree: command not found
root@debian-4gb-fsn1-2:~# apt install tree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
tree
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 50.9 kB of archives.
After this operation, 169 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 tree arm64 2.1.0-1 [50.9 kB]
Fetched 50.9 kB in 0s (1,621 kB/s)
Selecting previously unselected package tree.
(Reading database ... 34031 files and directories currently installed.)
Preparing to unpack .../tree_2.1.0-1_arm64.deb ...
Unpacking tree (2.1.0-1) ...
Setting up tree (2.1.0-1) ...
Processing triggers for man-db (2.11.2-2) ...
root@debian-4gb-fsn1-2:~# tree /tmp/chr-p2
/tmp/chr-p2
├── rw
└── var
└── pdb
└── system
5 directories, 0 files
root@debian-4gb-fsn1-2:~#
Wrong comparison method from the start.
Especially because you haven’t even explained well what you’re comparing and where you downloaded the files from,
what procedure did you use, etc., etc., etc.
You’ve definitely made some mistakes or the file you’re checking is a corrupt or incomplete download.
To me the official download appears to be all correct and without problems.
I want to use them on Oracle Cloud (AMPERE/ARM64) instance.
But I have also tried to use it on Hetzner (CAX11 - ARM64/Ampere plan), and got the same result. I will try it again.
Inside the image file are present two partitions, and if you use dd for overwrite the filesystem from the same filesystem…
do not save the file on dev/sda but on another or on memory…
Yes, one is for x86. Another one is for ARM64 (which cannot correctly boot with the same procedure).
My question is why ARM64 image (chr-7.15beta9-arm64.img.zip) seems broken and likely it’s related to the boot up issue.
Yes, this is my question here. Does these missing files cause the problem here?
Or ARM64 image just uses the different behavior or layout for the file system (which I don’t know, so I put a question mark)
Sorry for confusion, it seems the build server has an issue, internal builds worked, but not public release versions. Please wait for next betas to test this.
In short, publicly downloadable ARM64 CHR is not working right now.