PXE icon indicating copy to clipboard operation
PXE copied to clipboard

Iventoy fails to run on alpine linux

Open pitsi opened this issue 6 months ago • 1 comments

I want to run iventoy on a vm running alpine linux x64. I downloaded the latest version from here, extracted it in a folder, and when I first tried to run it, it complained about some missing grep flag because the stock grep on alpine is the one provided by busybox.

# ./iventoy.sh start
grep: unrecognized option: P
BusyBox v1.36.1 (2024-06-10 15:30:53 UTC) multi-call binary.

I installed the regular grep, but iventoy still fails. although the mentioned file is at the right place and is an executable

# ./iventoy.sh start
env: can't execute '/root/dl/iventoy-1.0.20/lib/iventoy': No such file or directory
iventoy start FAILED
# file lib/iventoy
lib/iventoy: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=ab59f1557a16f087393d74ee2f927edee436d2a4, not stripped

Installing bash did not help either

# bash iventoy.sh start
env: can't execute '/root/dl/iventoy-1.0.20/lib/iventoy': No such file or directory
iventoy start FAILED

I assume that all this happens because alpine is built with musl instead of glibc that other distros are built. Am I right?

Relevant threads on r/ventoy and r/linux4noobs with someone having the same issue. https://old.reddit.com/r/Ventoy/duplicates/1e05cqw/cannot_get_iventoy_to_run_on_alpine_linux/ https://old.reddit.com/r/linux4noobs/comments/1e0ywqz/cannot_get_iventoy_to_run_on_alpine_linux/

pitsi avatar Aug 13 '24 08:08 pitsi