News for hackers. Stuff that matters.
Re:Frood, an Alpine Initramfs NAS (2024) by yjftsjthsd-h on Tuesday June 16, 2026 @04:57PM (#48561958)
If you already have a ZFS pool, I'd probably personally just throw on zfsbootmenu and a ZFS-root Alpine install. But, this is cooler and does have advantages:)
Re:Frood, an Alpine Initramfs NAS (2024) by FiloSottile on Tuesday June 16, 2026 @05:51PM (#48562651)
TIL about ZFSBootMenu! Still, the whole frood system is significantly less complex than ZFSBootMenu alone.
Re:Frood, an Alpine Initramfs NAS (2024) by sunshine-o on Tuesday June 16, 2026 @05:11PM (#48562162)
ZFSBootMenu and Alpine are a beautiful match.
Re:Frood, an Alpine Initramfs NAS (2024) by cassianoleal on Tuesday June 16, 2026 @04:58PM (#48561971)
> root/etc/ssh/ssh_host_ed25519_key and root/etc/ssh/ssh_host_ed25519_key.pub and root/root/.ssh/authorized_keys for obvious reasons.

What are the _obvious_ reasons for the NAS root to have an SSH key?

Re:Frood, an Alpine Initramfs NAS (2024) by yjftsjthsd-h on Tuesday June 16, 2026 @05:10PM (#48562150)
To log in and administer it? There's even an example; search for "extlinux --once". (There are other options, like a web UI or non-root SSH, but that's the obvious thing. Also if you want to advocate non-root I'm going to want to hear a threat model.)
Re:Frood, an Alpine Initramfs NAS (2024) by cassianoleal on Tuesday June 16, 2026 @05:24PM (#48562344)
You don't need a private key on the host for that, only your public key in authorized_keys.

Edit: Oh boy I should have paid more attention. Those are the host keys. :facepalm:

Re:Frood, an Alpine Initramfs NAS (2024) by seemaze on Tuesday June 16, 2026 @05:08PM (#48562108)
Re:Frood, an Alpine Initramfs NAS (2024) by tomhow on Tuesday June 16, 2026 @05:16PM (#48562247)
Thanks, macroexpanded!

Frood, an Alpine Initramfs NAS - https://news.ycombinator.com/item?id=42428722 - Dec 2024 (13 comments)

Re:Frood, an Alpine Initramfs NAS (2024) by moondev on Tuesday June 16, 2026 @09:55PM (#48564801)
Re:Frood, an Alpine Initramfs NAS (2024) by MuffinFlavored on Tuesday June 16, 2026 @09:57PM (#48564823)
I'd like the see the author achieve the same setup but with Nix
Re:Frood, an Alpine Initramfs NAS (2024) by sudobash1 on Tuesday June 16, 2026 @11:27PM (#48565345)
Unlikely to happen (with the author anyway). From TFA:

> Importantly to me, it’s not defined in some complex DSL

Re:Frood, an Alpine Initramfs NAS (2024) by a96 on Thursday June 18, 2026 @07:12AM (#48583649)
I'd like to see some other author achieve the same setup with Nix.

.. and/or Guix.

Re:Frood, an Alpine Initramfs NAS (2024) by CTDOCodebases on Wednesday June 17, 2026 @02:21AM (#48566492)
This looks interesting. I just set up an Alpine Diskless system that boots from a USB stick.

I originally tried to set up a NixOS diskless system with persistence for the same reason as the author but the LLM jerked me around and I had little understanding of the implications of the commands I was using. So I thought it best to pull the plug on that and stick with something more familiar.

Re:Frood, an Alpine Initramfs NAS (2024) by s_ting765 on Wednesday June 17, 2026 @03:57AM (#48567208)
You can do the same from an USI made from mkosi (mainstream distros support) with kernel boot parameter systemd.volatile=overlay. https://github.com/rhee876527/UKIfy-Xubuntu