r/AlpineLinux • u/xxtechxx1939 • 28d ago
Got genuine Alpine Linux running on a Samsung Galaxy A21s using my custom uni-loader build!
Hey Reddit!
I wanted to share my recent progress: I’ve successfully managed to boot a genuine Alpine Linux kernel on a Samsung Galaxy A21s using my own custom build of uni-loader.
Current Status & Debugging (as seen in the photo):
The uni-loader initializes perfectly, and the Linux kernel successfully kicks in and starts scanning the internal partition blocks (mmcblk0pX).
Right now, it drops into an emergency shell because it's struggling to mount the Alpine rootfs. It's currently throwing Magic Mismatch and failed to recognize exfat type errors across the blocks while searching for the root filesystem.
Essentially, the kernel itself boots flawlessly, but I still need to fix the partition table mapping, format the target block correctly, or ensure the rootfs.tar.gz is properly placed so the init script can mount it.
Once the rootfs mount issue is resolved, I'll move on to fixing drivers and getting the rest of the hardware working. Let me know what you think, or if you have any questions about the uni-loader compilation process!
Device Specs & Details:
• Device: Samsung Galaxy A21s (SM-A217F) — 3GB RAM variant
• OS: Alpine Linux
• Boot Method: Custom-compiled uni-loader build
• Current State: Kernel boots successfully into initramfs / emergency shell; rootfs mounting is WIP.