r/AlpineLinux

Is there any "real" downside to running Alpine straight out of initramfs?

Is there any "real" downside to running Alpine straight out of initramfs?

I'm a pretty long-term Linux user and avid distro-hopper. For a couple of years now, I've been using Alpine on my headless servers and it's been great.

On my laptop, I've recently been enjoying immutable distros (cycling through Fedora variants), and I finally got around to wanting to build my own custom one with bootc with all the software I care about, exactly how I want it.

I thought about moving my servers to Fedora as well and just making bootc images for each use case they have. I was up and running pretty quick, but the sheer size of a "minimal" Fedora image with systemd and all that was just silly for what it does.

That got me thinking about how I could make immutable Alpine images instead, which eventually led me down a rabbit-hole to ideas like Frood: https://words.filippo.io/frood/

My Alpine server image is genuinely tiny. The entire full image is smaller than Fedora's initramfs by an order of magnitude. So, I thought, why not skip a boot phase, speed up my startup, and run the whole thing from initramfs in memory.

If anyone has tried this, are there any real downsides to it? I don't mean "if you someday want to do XYZ, it'll be tough" - but like, "this is a bad idea today because of XYZ".

I've already built the system, it appears to work just fine on my hardware for the past week, but I assume there are some known unknowns I might be walking into. I've got a mounted FS for any persistence I might need, and I re-build and re-install if there are missing packages or updates I want.

*I should note that I've done this sorta thing for embedded ARM systems for years using Buildroot and Yocto, so building/maintaining a kernel, filesystem, and bootloaders is fine. I've never thought to try this on x86 as I just assumed it was much harder than it ended up being.

u/sweatandgain — 8 hours ago
▲ 7 r/AlpineLinux+15 crossposts

Got tired of Windows hiding everything, so I built my own control tool

Windows keeps getting more bloated, more locked down, and more filled with stuff nobody actually wants. Every update hides more settings, adds more ads, and buries basic controls behind layers of UI. Even simple things that used to be one click now require digging through menus, registry edits, or random scripts from the internet.

I got tired of fighting the OS just to make it behave like a normal system again. So instead of relying on debloat scripts or hoping Microsoft stops adding nonsense, I started building my own tool to expose the controls Windows keeps burying.

The goal wasn’t to make something flashy or corporate-looking. I just wanted a clean interface that gives back the options Windows tries to hide. Something practical, fast, and actually useful.

Right now it already handles things like:

revealing hidden system options

disabling annoying built‑in features

cleaning up parts of the OS that normally require scripts

undoing some of Microsoft’s “forced” decisions

making Windows feel less restrictive and less like an ad platform

I’m improving it based on real use, not marketing. If something is annoying in Windows, I try to make it fixable. If something is buried, I try to surface it. If something is forced, I try to give the user a choice again.

If you want to check it out or give feedback, it’s here: https://crazyking.win

crazyking.win
u/Competitive_Try9911 — 20 hours ago

Bluetooth "No default controller available" after update

I'm using Alpine on my laptop (a HP Probook 4 G1ah), and for the most part it's been good

buut today I've turned it on and noticed the bluetooth isn't working.
Went through the troubleshooting steps on the wiki, but it hasn't helped.

dmesg | grep -i bluetooth | grep -i firmware returned nothing, and just dmesg | grep -i bluetooth gave an error like "failed to register coredump" and "failed to send wmt func ctrl"?

I have all the relevant firmware packages, the HP firmware, AMD firmware, all of the linux-firmware-* packages even. It worked before, and then I updated to the latest packages and the latest stable kernel (though switching back to the LTS kernel did not fix it) and now it's not working.

u/ChocolateAlpine — 1 day ago

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

reddit.com

Age verification on Alpine ?

Hi! I've recently switched to Alpine Linux and I'm loving it so far. And I'm just wondering if the devs stated if they are or not (hopefully) implementing age verification because of the California recent laws. Do anyone know anything about this?

reddit.com
u/Icy-Plate9343 — 2 days ago

Yo guys, how do I fix this race condition?

I don't know what happened exactly, is it related to my recent grub death? If I mount it manually, it works! Also, mkinitfs don't let me replace /init. Is there any hook or cmdline option to resolve this rc?

u/Se1d228 — 2 days ago
▲ 7 r/AlpineLinux+1 crossposts

New to linux looking for webhosting help

I am trying to use Alpine in a VM to get familiar with it but later I will put in on a raspberry PI. I am new to linux and do not have much coding experience, but I am pretty good with figuring tech stuff out.

I am trying to host a small little HTML website with nginx, I have it configured to my windows machine, I attempted to use WINE to run the exe, to no success. Would this be possible, or would I need to bite the bullet and redo it on the linux machine?

I am also attempting to host a small chatroom, however I am unfamiliar with this domain of things, is there an easy way to do this, with it still being mine, and old internet styled (like the rest of my webpages, cuz i dont know how to make stuff)

I know alpine is good for lightweight envirouments, but are these necessarily even something i should use Alpine for?

reddit.com
u/Personman444 — 3 days ago

[XFCE] Genuinely amazing distro

Couldn't get my discrete Nvidia GPU working but Intel iGPU is more than enough to do all stuff I want here.

Still, I am surprised myself how simple this distro to learn.

Edit: I forgot to mention that I got Steam working (from Steam Appimage which is made to be musl compatible)

u/tungnon — 6 days ago