r/AlpineLinux • • Apr 12 '26

Anyone luckily install Alpine on Wyse 3040?

2 Upvotes

I'm trying to install Alpine Linux (alpine-extended-3.23.3-x86_64.iso) to Wyse 3040 terminal (Atom x5-8350/2GB RAM/8GB eMMC). Because in ISO there is no 32-bit EFI and partition is to small to add such file from e.g Debian 12 I build a smaller bootia32.efi and added it to EFI partition on USB drive.

When grub started only Linux LTS option is show and when started it's goes soon to shell with an error and freeze:

Mounting boot media failed.
Launching initframfs emergency recovery shell
sh:can't access tty: job control turned off

When I add acpi=off in grup then system boots but there is no eMMC memory available (I read that because in Atom CPU it's kills eMMC detection because Cherry Trail enumerates the eMMC controller through ACPI). I found to use acpi=noirq or noefi acpi=noirq but then I finish in shell with same errors like booting normal.

Does anyone installed Alpine Linux on eMMC?

PS. I was able to install Alpine to external USB drive, but again I have to add acpi=off in grub and eMMC is not visible.


r/AlpineLinux • • Apr 12 '26

Pressbook on Alpine Linux

2 Upvotes

Pressbooks on raspbeery pi4

OS: Alpine Linux v3.23 aarch64

Host: Raspberry Pi 4 Model B Rev 1.4

Kernel: Linux 6.12.67-0-rpi

Uptime: 14 mins

Packages: 194 (apk)

Shell: sh

Terminal: /dev/pts/0

CPU: BCM2711 (4) @ 1.50 GHz

Memory: 394.32 MiB / 7.64 GiB (5%)

Swap: Disabled

Disk (/): 3.73 GiB / 27.73 GiB (13%) - ext4 [External]

Local IP (eth0): 192.168.1.212/24

Locale: C.UTF-8


r/AlpineLinux • • Apr 11 '26

Qterminal fork with a text editor: Nterminal, the Notepad

0 Upvotes

https://github.com/mekineer-com/nterminal

Nterminal adds a seamless text editor to Qterminal. When you are finished editing and want to send your input: CTRL+Enter. All shortcuts:

ctrl+enter: send/execute editor contents in terminal.
ctrl+shift+uparrow: move editor contents to terminal input field.
ctrl+shift+downarrow: move terminal input field contents to editor (do highlight the text first, for God's sake!).
F6: Hide/Show the text editor.

Maybe the Alpine community, being a bunch of die-hard masochist terminal users that enjoy the torture of multiple modes of entry, is not the best reception for this project?

Yet, I feel grateful for Alpine, so wanted to introduce here anyway. Alpine for me == daily driver. Linux newbies in Alpine community == major irritant LOL.


r/AlpineLinux • • Apr 10 '26

dovecot package seems to be missing files in /etc/dovecot/* ?

1 Upvotes

I'm currently experimenting with Alpine but I'm surprised the dovecot package does not populate /etc/dovecot/*

dovecot on 3.23 branch

The files are present in the 3.21 branch:

dovecot on 3.21 branch

Is this in some way intentional or should I file a bug?


r/AlpineLinux • • Apr 07 '26

How the hell is that running on 45 MB ram?!

Post image
224 Upvotes

r/AlpineLinux • • Apr 07 '26

Deep dive

3 Upvotes

Hi, I'm a commissioning engineer with very little experience with Lunix and programming in general. I know a bit of networking and C+ its really in the baby phase. With this project I would like start getting into Linux. Goal:

- Embedded touch screen Display

- Connecting to already existing web application running on a local server (Advise)

- Use a chrome based browser

I could go the easy route and just install Ubuntu and call it day. But i would like to limited the amount of resources and make it as bare bone as possible. Just something that turns on. shows the company logo when booting and goes straight to loading this web page. It doesn't do anything else.

Im now trying to get chromium installed on a Rasberry pi running Alpine. I am already learning a lot, but am i heading in the right direction? Any reading material?


r/AlpineLinux • • Apr 07 '26

installed alpine for the first time baremetal!

Post image
67 Upvotes

i did a dual boot with debian, i just really want to tinker and experiment, and im gonna try out the neuswc window managers and the suckless core project.


r/AlpineLinux • • Apr 06 '26

is alpine linux oniux package a portable standalone program?

Thumbnail repology.org
1 Upvotes

r/AlpineLinux • • Apr 04 '26

Thank god for alpine

Post image
47 Upvotes

r/AlpineLinux • • Mar 31 '26

Alpine or Void

Thumbnail reddit.com
2 Upvotes

r/AlpineLinux • • Mar 30 '26

How could I do EFIstub with automatic fallback?

3 Upvotes

Greetings all!
I'm rather new to AlpineLinux, but have a lot of experience on similar distros like Arch and VoidLinux. I'm currently working on documenting a manual installation of AlpineLinux and already got a system with EFIstub fully working.

Now I would like to have some sort of fallback boot option as a safety net in case something breaks with an update. The idea is that the previous Kernel would be kept, a new fallback initramfs be generated, and it's efi boot entry adjusted accordingly when a new kernel is installed/updated via apk.

Do you have any ideas how I could achieve something like this? I couldn't find much information on this topic, except a ticket about keeping the old kernel by default on GitLab.


r/AlpineLinux • • Mar 26 '26

Is Alpine Linux on desktop viable?

21 Upvotes

I've been trying for the past two days to install Alpine Linux on my desktop, but it seems like this might be totally unviable. None of the Alpine images have the firmware needed for my WiFi adapter (but it is included in linux-firmware-intel), and every hacky workaround that I've tried to apply has been thwarted in some manner. At the moment, I have managed to load iwlwifi without error, but my adapter still does not show up in ip link. The only thing I have yet to try is building a custom install image.

Am I missing something? Or, is Alpine not meant to be installed on real hardware? Have the Alpine devs personally decided that my hardware configuration can go pound sand?


r/AlpineLinux • • Mar 22 '26

i got the suckless core (sinit, ubase, sbase, smdev...) working on an alpine vm

20 Upvotes

r/AlpineLinux • • Mar 21 '26

How can I set up Log2Ram or an equivalent for Pi-Hole?

1 Upvotes

So, I just set up Alpine 3.23 on this mini PC to run Pi-Hole, and it's running well so far, but I'd like to set up Log2Ram or something similar, and I'm kinda lost.

I've used Log2Ram in the past on Debian, which is pretty much what it's designed for, and in theory it can run without systemd, but I haven't been able to find a guide or an install script for installing it on Alpine.

This mini PC has 64GB of eMMC storage, and I'd like to take some strain off of it. Alpine is already a lot snappier than Debian 13 was, so there's that at least.


r/AlpineLinux • • Mar 21 '26

alpine-extended-3.23.3-x86.iso can you guide through setup-alpine?

0 Upvotes

Started alpine-extended-3.23.3-x86.iso on a i686 notebook. I want to test if I can run tor-browser-linux-i686-15.0.7 on it.
Can you guide through the setup-alpine part? Thanks.


r/AlpineLinux • • Mar 20 '26

chromium on alpine and sched_getscheduler issues

3 Upvotes

It seems chromium on alpine has some limitations, is there a way to fix it?

$ /usr/bin/chromium --no-sandbox --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222 2>&1 &
sleep 3
curl -s http://127.0.0.1:9222/json/version 2>&1 || echo "Chrome not responding"

[349810:349827:0318/230040.698273:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[349810:349827:0318/230040.700320:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[349810:349827:0318/230040.700409:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[349810:349827:0318/230040.700435:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[349810:349827:0318/230040.703885:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[349810:349827:0318/230040.714025:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[349847:349847:0318/230040.741934:ERROR:base/memory/shared_memory_switch.cc:289] Failed global descriptor lookup: 7

DevTools listening on ws://127.0.0.1:9222/devtools/browser/7065d0f7-c4cf-4e20-b88f-b46c01e68ac9
[0318/230040.753462:WARNING:third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc:95] sched_getscheduler: Function not implemented (38)
[0318/230040.753559:WARNING:third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc:95] sched_getscheduler: Function not implemented (38)

r/AlpineLinux • • Mar 19 '26

Error installing glibc

0 Upvotes

I am trying to install glibc and ld for an alpine 3.23 server I have just brought online. Looking online, the recommended package is https://github.com/sgerrand/alpine-pkg-glibc/releases however when I download them and add glibc and glibc-bin, I am getting the error “ERROR: glibc-2.35-r1: trying to overwrite lib/ld-linux-x86-64.so.2 owned by gcompat-1.1.0-r4”. Does anyone know why this is happening or how to solve it? Looking at the logs, when I run “apk add glibc-2.35-r1.apk glibc-bin-2.35-r1.apk”, it tries to download and install gcompat as part of the install of glibc. I also cannot find reference to this error online. Any help would be greatly appreciated!


r/AlpineLinux • • Mar 16 '26

Hello from 2007

Post image
44 Upvotes

I now have a desire to install alpine as the main system


r/AlpineLinux • • Mar 17 '26

Alpine specific aliases

4 Upvotes

Perhaps you have better aliases or maybe others?

# List installed pkg & ver matching $PATTERN - if PATTERN is undefined then show all installed pkgs & ver.
AL() {
   apk list -I | cut -f1 -d' ' | sed -e 's/-r\d\+$//'| sed -e 's/\(.*\)-/\1 /'|grep -i "$1"
}

# Search pkgs matching $PATTERN - show which are installed
AS() {
apk list |grep -i "$1"
}

# Simulate apk add pkg  
SA() {
apk add -s "$1"
}

#apk add pkg
AA() {
doas apk add "$1"
}

#Simulate del pkg
SD() {
apk del -s "$1"
}

#apk del pkg
AD() {
doas apk del "$1"
}

#Simulate apk -U upgrade
SU() {
apk update && apk -Us upgrade
}

#apk -U upgrade
AU() {
doas apk -U upgrade
}

r/AlpineLinux • • Mar 16 '26

Purpose of including apt?

0 Upvotes

I see that Alpine has packages for apt, the Debian package manager. Does this mean that some packages from Debian can be installed on an Alpine system, or is apt included for some other reason?


r/AlpineLinux • • Mar 15 '26

Alpine UKI+Secure Boot autoscript

4 Upvotes

I made an autoscript to install Alpine with UKI, Secure Boot (if enabled in UEFI) and mimalloc enabled by default.

You need to run setup-alpine as usual and select none in the disk section, then run this command: apk add curl && curl https://adisz.net/linux/alpine_minimal/auto/ >> auto.sh && sh auto.sh

Here's the code:

#!/bin/sh

### Modifiable variables

KERNEL_VARIANT="lts"

#KERNEL_VARIANT="virt"

MICROCODE="intel"

#MICROCODE="amd"

BOOT_PARTITION_SIZE="256M"

#==================================================#

# Add basic dependencies

apk update && apk add lsblk

#==================================================#

printf '\n'

printf '==============Warning==============\n'

printf '\n'

printf 'This script will format your entire disk!\n'

printf 'Make sure you know what you are doing!\n'

printf 'The system will be installed on the EXT4 partition.\n'

printf 'Unified Kernel Image (UKI) and Secure Boot\n'

printf 'will be automatically enabled (if enabled in UEFI).\n'

printf 'The default memory allocator will be set to mimalloc.\n'

printf 'You can open this script and edit the "Modifiable Variables" section.\n'

printf 'If you want to exit press Ctrl+C.\n'

printf '\n'

printf '==========Available disks==========\n'

printf '\n'

# Disk selector

lsblk -d | tail -n+2 | awk '{print $1" "$4}'

printf '\n'

read -p "Select the disk on which you want to install the system: " SELECTED_DRIVE

INSTALL_DRIVE=/dev/$SELECTED_DRIVE

printf 'Your installation disk is '$INSTALL_DRIVE'\n'

if [ "$INSTALL_DRIVE" = "/dev/sda" -o "$INSTALL_DRIVE" = "/dev/sdb" -o "$INSTALL_DRIVE" = "/dev/sdc" -o "$INSTALL_DRIVE" = "/dev/sdd" ]

then

BOOT_PART="$INSTALL_DRIVE"1

ROOT_PART="$INSTALL_DRIVE"2

printf 'Your BOOT partition is '$BOOT_PART'\n'

printf 'Your ROOT partition is '$ROOT_PART'\n'

fi

if [ "$INSTALL_DRIVE" = "/dev/vda" -o "$INSTALL_DRIVE" = "/dev/vdb" -o "$INSTALL_DRIVE" = "/dev/vdc" -o "$INSTALL_DRIVE" = "/dev/vdd" ]

then

BOOT_PART="$INSTALL_DRIVE"1

ROOT_PART="$INSTALL_DRIVE"2

printf 'Your BOOT partition is '$BOOT_PART'\n'

printf 'Your ROOT partition is '$ROOT_PART'\n'

fi

if [ "$INSTALL_DRIVE" = "/dev/nvme0n1" -o "$INSTALL_DRIVE" = "/dev/nvme0n2" -o "$INSTALL_DRIVE" = "/dev/nvme0n3" -o "$INSTALL_DRIVE" = "/dev/nvme0n4" ]

then

BOOT_PART="$INSTALL_DRIVE"p1

ROOT_PART="$INSTALL_DRIVE"p2

printf 'Your BOOT partition is '$BOOT_PART'\n'

printf 'Your ROOT partition is '$ROOT_PART'\n'

fi

printf '\n'

#==================================================#

# Modify installation script

sed -i '7i BOOTLOADER="none"' /usr/sbin/setup-disk

#==================================================#

# Add repos

#rm /etc/apk/repositories

#printf 'http://ftp.icm.edu.pl/pub/Linux/distributions/alpine/edge/main\n' >> /etc/apk/repositories

#printf 'http://ftp.icm.edu.pl/pub/Linux/distributions/alpine/edge/community\n' >> /etc/apk/repositories

#printf 'http://ftp.icm.edu.pl/pub/Linux/distributions/alpine/edge/testing\n' >> /etc/apk/repositories

#==================================================#

# Add disk packages

apk update && apk add dosfstools e2fsprogs efibootmgr

#==================================================#

# Cleaning disk

dd if=/dev/zero of=$INSTALL_DRIVE bs=4096 count=1

sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' << EOF | fdisk $INSTALL_DRIVE

d # delete partition

1 # delete partition 1

d # delete partition

2 # delete partition 2

d # delete partition

3 # delete partition 3

d # delete partition

4 # delete partition 4

d # delete partition

5 # delete partition 5

p # print the in-memory partition table

w # write the partition table

q # and we're done

EOF

#==================================================#

# Make partition table

sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' << EOF | fdisk $INSTALL_DRIVE

g # set gpt table

n # new partition

p # primary partition

1 # partition number 1

# default - start at beginning of disk

+$BOOT_PARTITION_SIZE # EFI parttion

t # change partition type step 1

ef # change partition type step 2

n # new partition

p # primary partition

2 # partion number 2

# default, start immediately after preceding partition

# default, extend partition to end of disk

a # make a partition bootable

1 # bootable partition is partition 1 -- /dev/sda1

p # print the in-memory partition table

w # write the partition table

q # and we're done

EOF

#==================================================#

# Format partitions

mkfs.vfat -F 32 $BOOT_PART && fatlabel $BOOT_PART ESP && mkfs.ext4 -F -L "Alpine Linux" $ROOT_PART

#==================================================#

# Mount partitions

mount -t ext4 $ROOT_PART /mnt && mkdir -p /mnt/boot && mount -t vfat $BOOT_PART /mnt/boot && rm -rf /mnt/lost+found

#==================================================#

# Base install

setup-disk -m sys /mnt

#==================================================#

# Create UKI dirs

mkdir -p /mnt/etc/kernel && mkdir -p /mnt/etc/kernel-hooks.d

#==================================================#

# Create cmdline

blkid $ROOT_PART | awk '{print $4}' | sed 's/"//g' $1 >> root_uuid.txt

ROOT_UUID=$(cat root_uuid.txt)

rm root_uuid.txt

printf 'root='$ROOT_UUID' modules=sd-mod,usb-storage,ext4 rootfstype=ext4 rw '$MICROCODE'_iommu=on sysrq_always_enabled=1 audit=0 quiet loglevel=3 bgrt_disable\n' >> /mnt/etc/kernel/cmdline

#==================================================#

# Create UKI update script

printf '#!/bin/sh\n' >> /mnt/etc/kernel-hooks.d/99-zz_uki.sh

printf 'uki=/boot/alpine.efi\n' >> /mnt/etc/kernel-hooks.d/99-zz_uki.sh

printf 'ukify build --linux /boot/'vmlinuz-$KERNEL_VARIANT' --initrd /boot/'$MICROCODE-ucode.img' --initrd /boot/'initramfs-$KERNEL_VARIANT' --cmdline @/etc/kernel/cmdline --os-release @/usr/lib/os-release --output $uki\n' >> /mnt/etc/kernel-hooks.d/99-zz_uki.sh

printf 'sbctl sign $uki\n' >> /mnt/etc/kernel-hooks.d/99-zz_uki.sh

chmod a+x /mnt/etc/kernel-hooks.d/99-zz_uki.sh

#==================================================#

# Stuff in chroot

cat << EOF | chroot /mnt

apk add ukify sbctl systemd-efistub mimalloc2

sbctl create-keys && sbctl enroll-keys -m ; apk add $MICROCODE-ucode kernel-hooks

sed -i '3i LD_PRELOAD=/usr/lib/libmimalloc.so.2' /etc/profile

sed -i '4i' /etc/profile

EOF

#==================================================#

# Add bootable UEFI entry

efibootmgr -c -d $INSTALL_DRIVE -L "Alpine Linux" -l '\alpine.efi' -u

#==================================================#

# Unmount partitions and reboot

umount $BOOT_PART ; umount $ROOT_PART ; reboot

#==================================================#


r/AlpineLinux • • Mar 15 '26

Google Gemini CLI on Alpine Linux: BusyBox + musl fixes, faster startup, anti-crash

10 Upvotes

I’ve been running Google’s official Gemini CLI on Alpine Linux and hit a cluster of issues that made it rough in practice:

  • BusyBox-incompatible entrypoint
  • slow startup
  • PTY problems on Alpine
  • noninteractive shell/tool issues
  • ugly behavior when gemini-3-pro-preview quota is exhausted

I split the work into two repos:

Current Alpine fixes include:

  • BusyBox-safe entrypoint
  • fast --version
  • Alpine PTY preference
  • noninteractive shell PTY fix
  • auth-startup fix
  • faster Alpine startup path
  • silent preview fallback (anti-crash):

    • gemini-3-pro-preview
    • gemini-3-flash-preview
    • gemini-2.5-flash-lite
  • generic subagent quota fallback (anti-crash):

    • subagent 429/model exhaustion now degrades through the fallback chain instead of acting like a dead session
    • non-preview chain is now gemini-2.5-pro -> gemini-2.5-flash -> gemini-2.5-flash-lite
    • complex flash-lite tasks now recover into a readable quota explanation instead of just dropping out

This does not increase Google quota. It just makes the CLI behave better on Alpine.

If anyone else is running Gemini CLI on Alpine, BusyBox, or a small VPS, I’d be interested in comparing notes.

Ps. Two more fixes:

  • Latest Gemini fix preserved in hot handoff:

    • 42d9e8f8c malformed-stream retry budget increased to 3
    • codebase_investigator disabled locally to avoid quota burn on this box/account

r/AlpineLinux • • Mar 10 '26

Just installed alpine

14 Upvotes

So I have just installed alpine and set up KDE plasma desktop. I'm new to alpine and Linux in general I already had a little experience with arch but this is it and my question is, are there some things I must or should do on a fresh alpine install?


r/AlpineLinux • • Mar 11 '26

El framebuffer de mi tty en Alpine no funciona

0 Upvotes

He intentado hacer un sistema solo tty con aplicaciones de terminal solo y en la parte de los browser quería usar algo como links en modo grafico o netsurf-framebuffer pero ninguno funciona.

Links me dice que no va ninguno de los drivers y no detecta el framebuffer y netsurf que no puede abrir el display.

He probado ha hacer la instalación de v86d con la guia de Alpine wiki, iniciar las apps en root y siguen dando el mismo error.

También probé a mandar ruido a el framebuffer /dev/fb0 y me salió como estàtica en la pantalla por lo que el framebuffer no parece estar bloqueado porque otra aplicación lo está gastando.

Le ha pasado algo parecido a alguien? Os funcionan vuestras aplicaciones gráficas en la terminal sin tener ningún escritorio o gestor de ventanas activo?