4 ms·
I would like to see a glibc version of Alpine. My favorite feature (the killer feature) of Alpine is that rootfs is not persistent. Persistent storage actually
by LoganDark 4y ago
I would like to see a glibc version of Alpine.
My favorite feature (the killer feature) of Alpine is that rootfs is not persistent. Persistent storage actually only contains the base system itself and each package you install. On startup, the system is loaded into a tmpfs and all your packages are loaded on top of it. I've successfully created a desktop install using this method, it boots off a USB stick and the only persistent partition is /home. I find the cleanliness of this extremely impressive.
IIRC, it only works this way if you don't use the official installer, which wants to make a persistent rootfs. I feel like Alpine has shown me "true level" [0] and I feel dirty using any distro with a persistent rootfs... in fact it's the single largest reason why I haven't felt motivated to try Linux in a while (aside from KISS since it was interesting enough).
There are no other distros like this, so the fact that it uses musl is a little disappointing if I want to use it as a desktop (which I know it's not designed for).
NixOS comes close, but is fully declarative and I don't really want to learn a new DSL today. I should probably just settle and go with Arch or something.
[0]: https://www.youtube.com/watch?v=Q1zBtJhgwBI https://www.youtube.com/watch?v=Q1zBtJhgwBI
- Rediscover 4y agoRegarding the persistent storage, is that anything like PuppyLinux [0] ? Boot off of something (eg, usb drive), it loads the first layer (ro) into tmpfs, then the 2nd-X layers (also ro) over that, and finally a read/write layer of your saves (/home, config changes under /etc, ...), remove boot medium, eventually do a save to some medium. [0] https://puppylinux.com https://puppylinux.com which redirects to https://puppylinux-woof-ce.github.io/ https://puppylinux-woof-ce.github.io/
- silisili 4y agoHave you considered something like Fedora Silverblue?
- LoganDark 4y agoI have, but never got around to trying it. I plan to try Kinoite too, since it's just Silverblue but with KDE Plasma. Maybe I'll actually get around to it.
- speed_spread 4y agoHave a look at Fedora Silverblue? It boots off an immutable image and mounts user env over it. Applications and CLI customization use podman user containers (with "toolbox") and flatpaks. And it's still "just Fedora" so you get all packages and updates you need.
- LoganDark 4y agoSince last commenting here, I've tried both Silverblue and Kinoite. Partitioning for Silverblue is undocumented (I had to do it all custom because I installed to the same USB stick that contained the installer itself), but I was able to figure it out after 4 or 5 tries. OSTree is absolutely awesome, and for me it definitely seems to fill a niche between total anarchy and total NixOS. I could just rebase into Kinoite from my existing Silverblue installation, and then boot right back into Silverblue once I was done trying it. I gotta say, GNOME (Silverblue) was a much better experience for me than KDE Plasma (Kinoite), even though it's Wayland. I'm not sure why I remembered Plasma so fondly, but it looks terrible on my 4K display and has all sorts of issues. The last I had used it was in 2017 on a 1080p screen, so maybe my standards were just low back then, but GNOME has definitely spoiled me, especially with how great its trackpad support is. Additionally, getting Nvidia acceleration on my cheap laptop was darn simple, just install a single package and add a few kargs and boom. Silverblue feels like it has a lot of the same benefits as Alpine without any of the downsides, although the layered packages have to be compiled into an image before they can be used, instead of being applied at boot time. It's only one command, but it takes quite some time on my hexa-core i7-10750H - maybe it'd be faster if I were running it off my internal NVMe SSD. I feel like if I were to switch to Linux desktop it would probably be Silverblue. It's just really good and I'm glad I finally got around to trying it.
- aliqot 4y agoSilverblue is great, my only regret in my own install was not adding more storage. I could just be making this up, but it seemed like flatpaks were taking more storage than an install of the same apps from repositories. That being said, flatseal is amazing, and I wish I could use it for everything. If this is the first time you're hearing about flatseal, check it out! It's a dashboard or control-center for each app you've installed via flatpak, and it features granular control as far as what facilities and resources that specific program can access on your machine.