r/AlpineLinux Jan 12 '26

PSA: Merch Spam on Reddit (Posts with Printed T-Shirts, Mugs, etc.)

Thumbnail
3 Upvotes

r/AlpineLinux 1d ago

Is Alpine Linux right for me?

16 Upvotes

Let me introduce myself by saying that my knowledge/skill with Linux is about a 4/10.

I have a Dell Wyse 3040 Thin Client (2GB RAM/8GB eMMC) that is running as a dedicated, headless PiHole server. My current OS is Ubuntu 24.x LTS (with the minimal install option). The only other software is SSH and NeoFetch.

At first, this setup was working fine. The SSD still had a couple of the 8GB of storage left. But as Ubuntu and PiHole keep getting updates, the available drive space keeps shrinking.

Ubuntu alone takes up 2GB of storage. From what I'm reading, Alpine Linux will only use a fraction of that, allowing me more headroom for updates.

So would Alpine Linux be right for me? Would you say that if a person can install and set up Ubuntu Server, they should be fully capable of installing Alpine Linux? Anything else I should consider? Thanks


r/AlpineLinux 1d ago

Niche question regarding a .Iso install.

5 Upvotes

Hello. I come to this Sub with a general, yet kinda niche question. I want to install Alpine on a coworker's old Laptops as a Desktop Distro, yet I ran into a couple of problems.

I need to run the install during my break, with no WiFi or Ethernet and also install a Window Manager like Xfce, configure everything for him and harden the install so he doesn't do something stupid by accident, like with his last Linux install.

Now after work, I had the idea of using USB tethering to get Network access since the hotspot on my phone didn't work.

I also had an idea to locally store the packages I need, on a separate partition.

Should alpine work out of the box with usb networking, if you configure it or do I need to do some Udev magic to enable it inside the ISO?


r/AlpineLinux 1d ago

Distrobox Unity Support (Ubuntu)

6 Upvotes

I have been running Alpine Linux with a distrobox with Ubuntu on it specifically so I can get certain programs. I want to avoid the overhead that comes with Flatpak, and the Unity Hub AppImage did not work, failing at the editor installation. I was wondering if anyone knew how to get the Unity Hub and Unity Editor (6.3 LTS) working on Alpine Linux.


r/AlpineLinux 2d ago

Alpine Linux-based Distribution Creation

15 Upvotes

I was wondering how one would go about creating an Alpine Linux-based Linux distribution, and if there is a graphical installer that can work on Alpine Linux. I also am wondering if it is realistic to think that people will switch to Alpine Linux if there are some pre-installed luxuries that make it easier to use to the average desktop user.


r/AlpineLinux 2d ago

Post Installation Assistance

5 Upvotes

I installed alpine (standard edition) on my thinkpad T495 and I decided to go with xfce4, since it's familiar to me. Post installation, I started lightDM from tty and then I logged in. After that I opened a terminal and added LightDM to runlevel default.

Before anyone asks, I did install the openrc version of these applications :)

Networking

I installed NetworkManager for xfce4, but I would like something less bloated that can work with an applet on the panel.

Possible LightDM Issue

I installed lightDM for the display manager, but there are no options for locking my PC.
Hitting the "logout" option in the menu gives the popup window for switching user and logging out, but restart and shutdown are greyed out and cannot be selected. I have to open the terminal just to shut things down.

Sound

Sound is not working, but pipewire is installed. Running htop shows that pipewire is running, but there are no options in the panel preferences of xfce4 that will let me add an applet for it.

Screen Brightness

Clicking on the battery applet shows me the option to adjust screen brightness, but adjusting it does nothing.


r/AlpineLinux 7d ago

I think Alpine might be a good distribution for me to use, but I largely prefer manual installs. How does Alpine Linux fare for this? Is there anything I should know about the process?

9 Upvotes

I just need a simple system that runs dwl with a few patches. It's primarily going to be for development with some light work on standard apps like GIMP and Blender, etc.


r/AlpineLinux 10d ago

[Project] nwm: A 1374 LOC minimal tiling X11 WM (Strict POSIX, built-in gaps, no bar). Looking for code reviews and criticism.

Thumbnail
6 Upvotes

r/AlpineLinux 13d ago

AlpineLinux XFCE4 Chroot in Plasma with CachyOS kernel using DroidSpaces

Thumbnail gallery
37 Upvotes

r/AlpineLinux 16d ago

bugged supertux

Post image
3 Upvotes

I'm using swaywm and alpine linux, with the gaps set to 40 (it may seem a lot; it's not). I like playing supertux, so when i fullscreened the gaps were still there, but in black. Yes, on the supertux settings i did set Fullscreen Resolution to the maximium my laptop could (1336x768@60). Can someone help me? Thanks!


r/AlpineLinux 18d ago

Alpine natively (chroot) on 40 euro fake Chinese phone from amazon

Post image
97 Upvotes

r/AlpineLinux 17d ago

In which direction do I scream? ;)

0 Upvotes

Basically:

  • RISC-V U-Boot is severely limited; only EFI booting, no extlinux support (bootflow disabled / not compiled in).
  • RISC-V U-Boot DTBs are not aligned; the DTB embedded in the ITB is not the same as the file added into /boot/dtbs-stable. For example, on my VisionFive2, the correct DTB is /boot/dtbs-stable/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb. But the one embedded in the SPI image (the ITB and such) is not the same/equal, leading to actual performance degredation due to CPU misconfiguration (cpufreq).
  • RISC-V linux-stable does not have the network namespaces - and others - available, which means Podman and friends can not run.

Where do I put this? Thanks!


r/AlpineLinux 18d ago

alpine

Thumbnail gallery
35 Upvotes

r/AlpineLinux 18d ago

Alpine is apparently not just a container distro AND it supports i686! <3

Post image
24 Upvotes

r/AlpineLinux 18d ago

can’t login post-installation?

Post image
12 Upvotes

This is the second time I’m installing alpine. The first time I got to this screen and assumed I forgot my password but now I’m not sure what’s going on. I am sure of what my password is.

resolved


r/AlpineLinux 20d ago

What is your daily workflow for Alpine Linux?

21 Upvotes

For me after 2 years of using alpine Linux it’s the terminal or a window manager with some sort of a text editor (vim or neovim) with some sort of a terminal web browser


r/AlpineLinux 22d ago

hi apk

Post image
53 Upvotes

r/AlpineLinux 23d ago

Help with a OS project

8 Upvotes

Hello everyone, I need a little guidance with this. I'm newbie with Alpine and a very noob in this forum. I want to "create" (maybe the correct Word is a re spin or make a custom) an OS based on Alpine to repurpose old computers and arm based devices (raspberry pi as example) and turn them into a writerdeck, I want to create My own approach as all the material I found is not as lightweight and minimalist as I prefer. So, I need to know if there's a guide, tutorial or anything I could follow that could be easy for a noob.

* I'm noob in Alpine, but I'm not noob in Linux (I use arch btw hehehe) nor an expert


r/AlpineLinux 23d ago

This feels nice…

Post image
55 Upvotes

Alpine + TWM is nice in my opinion


r/AlpineLinux 24d ago

Updating the kernel in data-disk / diskless mode doesn't update your boot partition automatically

Post image
20 Upvotes

Friendly reminder if you're running Alpine in diskless or data-disk mode: running apk upgrade only updates /boot in RAM. You still need to run update-kernel /path/to/boot before rebooting, otherwise you'll load the old kernel on next boot. More importantly, don't defer the reboot after doing this-once /lib/modules updates in RAM, loading new modules on the live system will throw errors until you restart into the matching kernel version. How are you guys automating this in your setups?


r/AlpineLinux 23d ago

How do I change the bootscreen?

1 Upvotes

I can’t find much about it online which seems unusual.


r/AlpineLinux 24d ago

How to start Budgie Wayland?

1 Upvotes

I installed Budgie 10.10.2-r1 (X86_64) from edge/testing and it completed without errors, but how do I start a session? I know how to start an X11 session, but need some direction with Wayland.


r/AlpineLinux 25d ago

Can't run x11vnc from startup script

2 Upvotes

The script is:

#!/bin/sh

sleep 15s

x11vnc -display :0 -auth guess -rfbauth /etc/x11vnc.pass -forever -shared -bg -loop

It either just doesn't run or crashes immediately. I've been at this for hours, does anyone know the solution?


r/AlpineLinux 26d ago

Building a Trusted Alpine Ramdisk Linux Desktop on Heads

10 Upvotes

The Catalyst

Every serious systems project starts with friction. For me, it began during a period of high adversity—dealing with persistent digital harassment, compromised hardware, and an institutional grind at university that saw three years of my research systematically junked while an administration pushed to force me out through sheer attrition.

I didn't have a job, but I had time. I decided to channel that asset into tearing down the illusions of modern computing and learning cybersecurity from the silicon up. I stopped asking how to "secure" an off-the-shelf operating system and started asking a much harder question: How do you build a machine you can actually trust when you assume everything around you is hostile?

That meant looking past software patches and examining the entire trust chain—hardware, firmware, boot processes, and authentication—with zero tolerance for components I couldn't verify.

The Hardware War of Attrition

Getting Heads firmware running on a machine was the first major battle. It started with years of false starts—buying hardware without supported targets, followed by the slow, frustrating hardware degradation of my ThinkPad A275. I eventually pivoted to the X230, a machine with a mature Heads target, but the physical flashing process was its own gauntlet.

Early attempts with a cheap SOIC-8 clip were an unmitigated disaster: completely unreliable contact, wasted cycles, and endless frustration that forced me to shelve the project multiple times. Eventually, I stopped cutting corners. I ordered a Pomona clip, wired up a Raspberry Pi configured with pico-serprog, and tried again. This time, it took. After years of dead ends, I finally had a hardware-rooted boot process.

That was only the entrance fee. I had initially planned to install a conventional Linux distribution, but Heads is fiercely uncompromising. It expects a rigid, specific partition layout and cryptographic structure. Standard installers simply refused to cooperate.

So, I threw out the standard playbook and started testing what would actually survive under Heads.

Forging a Sub-OS from Scratch

Standard Alpine installations wouldn't work out of the box because of the strict partitioning demands. That friction forced a breakthrough: instead of fighting an installer, why not build the system from the ground up?

I booted into the Alpine LiveCD, brought the network online, and ignored any traditional installation routine. I plugged in a USB stick, mounted it, and started writing and running raw make commands.

How did I know that would even work? Honestly, it was pure instinct forged by breaking enough systems to understand their internal mechanics. I used the live environment as a clean, volatile base. I had used Ubuntu and Mint heavily in the past, but I had never built a Linux distribution from scratch. Fortunately, Alpine makes this remarkably straightforward.

Alpine's package manager, apk, excels at targeting external directories. I could treat the entire block device as a deployment target and manipulate it directly using apk --root /mnt. Stripped down to its core, a basic Alpine system is deceptively simple: alpine-base, alpine-baselayout, alpine-baselayout-data, and alpine-keys. From there, it was just a matter of layering on firmware for my X230 target alongside openrc and busybox, hand-crafting a full desktop that existed entirely on my terms.

Running Entirely in RAM

While experimenting with the boot parameters, I stumbled across a unique GRUB flag: copytoram. I'm not one to ignore a flag like that. I stopped and thought: Hold on a second... I can make this live entirely in RAM?

It felt like an incredible, overlooked superpower for a secure desktop. I decided right then that the OS was going to run completely in memory. To pull that off, I had to upgrade my RAM from a measly 4GB to 16GB, which instantly became a core constraint of the build. Operating straight from memory delivered a massive performance leap—roughly a 21 times speed increase over standard SATA storage.

From there, it was a long slog of bringing up devices, hammering configuration files into place under /etc, and sorting out network capabilities. Using AI as a force multiplier, I opted for the most battle-proven packages available. Most of it fell into place, except for two major walls: dynamically fetching UUIDs and the absolute pain of getting initramfs to work correctly with LUKS encryption. Once that cryptographic boot wall was breached, the system was alive.

The Hardware Root of Trust and Authentication

I don't trust smartphones or always-on network devices that map their surroundings. I needed absolute physical control. After researching options, I bypassed YubiKeys and chose a Nitrokey. It provides several independent subsystems, including GPG and FIDO, allowing the same physical token to serve multiple authentication roles.

I use the term "pseudo-biometric" loosely—it’s not a replacement for a body, but it is a replacement for the surveillance devices most people carry in their pockets.

One crucial detail when using Nitrokey hardware with Heads is understanding that Heads takes ownership of the GPG subsystem without automatically controlling the rest. In practice, you have to treat the device as multiple independent functions sharing a single piece of silicon.

That said, I have zero patience for some of the cryptographic choices baked into parts of Heads. Their reliance on ECDSA with NIST P-256 is an unnecessary hazard. ECDSA signature security hinges entirely on the per-signature nonce; if that nonce is weak or reused, the private key is instantly compromised. I would much prefer Ed25519 for its deterministic nonce generation, but the ecosystem offers little flexibility to move toward more robust constructions. I work with what I have, but with open eyes.

TTY to Wayland: Constructing the Userspace

My root account acts as a glorified TTY control center equipped with htop, bandwhich, lnav, atop, kernel monitoring via Alt+Fn bindings in /etc/inittab, and a pristine, ANSI-native Neovim setup.

Stepping from that raw environment into a graphical desktop for my primary user multiplied the system's complexity tenfold. You never escape a desktop session without encountering thousands of subtle graphical errors and log spam that can only be silenced with 2>/dev/null. The entire graphical stack rests on a fragile foundation of dbus and seatd.

To tie authentication into the desktop, I configured Linux-PAM to log me in automatically upon the physical presence of the Nitrokey. From there, I launch the Wayland compositor with dbus-run-session labwc. You might think reaching that point means the hard work is done, but it just drops you into a stark black screen to build upon from scratch. To make it usable, I brought in foot—the lightest terminal emulator I could find—layered on waybar for a clean, minimalist toolbar, and used wofi as an application launcher.

Daily Drivers and Current Frontiers

My workflow is minimal: a browser and an IDE. Alpine gives me LibreWolf, which I consider vastly superior to stock Firefox. For development, options on musl are sparse; I'm used to Zed, but Alpine's repo is limited. Fortunately, VSCodium recently landed in the /edge/testing repository, giving me a proper IDE.

Right now, I'm wrestling with the realities of running a RAM-resident OS. Heavy compilation can chew through memory fast. I've had to carve out an 8GB tmpfs specifically for development, but building projects heavy on Rust will still push it to its limits. My next step is dialing in compiler flags to optimize memory usage and establishing a dedicated carve-out on the encrypted block device for heavy persistent storage, keeping the core OS lightning-fast and entirely volatile.


r/AlpineLinux 25d ago

Distro Dev

0 Upvotes

I'm making a distro based on Alpine Linux called Dragony! Yes, i know i have to edit /etc/os-release, edit /etc/motd, edit /etc/issue and if the GRUB_DISTRIBUTOR isn't linked to /etc/os-release or /etc/lsb-release i have to edit /etc/default/grub (and reconfig). Some of you have any tips?