r/AlpineLinux • • May 21 '26

diskless apkovl error : /sbin/init not found

Hi, since version 3.22, i have this issue on diskless install :

> setup alpine and config seems to go well.
> after reboot i have this message :
/sbin/init not found, launching initramfs emergency recovery shell....etc.

the only way to boot is to delete the apkovl file and reboot.

the last iso image i can use without issue is : 3.22.0. (then i can install without issue and do apk update & upgrade to 3.22.4.) the few other more recent i tested all has the same issue the seem to be from the apkovl file... (3.23.x,...)

i have been using alpine for a very long time, and always kept using latest version. so did i miss something in the past 2 years regarding some new diskless config ? any tips to troubleshoot ?

Thanks,

Pic 2 : on boot
5 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Responsible_Order808 Jun 22 '26

I found the issue: a local APK installed for testing before the install introduced its own dependencies, such as musl. Even after uninstalling that test APK, the world file retained the old dependencies. Consequently, the installation included a world file containing outdated dependencies with their SHA1 hashes, preventing updates. These legacy dependencies were incompatible with versions 3.23 and 3.24. The issue is now resolved by discontinuing the use of that test APK.