frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Diskless Linux boot using ZFS, iSCSI and PXE

https://aniket.foo/posts/20260505-netboot/
49•stereo-highway•3h ago

Comments

ggm•1h ago
NFS diskless is the more common approach I've used but this is very cool.
ahepp•1h ago
When I tried root-on-nfs I had a lot of issues. The Redhat and Arch package managers don't seem to like it (presumably a sqlite thing?).
contingencies•40m ago
You can download the rootfs, extract it to a ramdisk, and just run in memory. This is fast for everything. Unfortunately, memory just got super expensive. Fortunately, Linux requires ~no memory to do many useful things.
KaiserPro•7m ago
NFS diskless was easier for me to setup when I was doing it.

THe caveat was, you needed readonly root, so that meant freezing the OS, anything that needed changing was either stored in a ram disk (that you need to setup) or a per host nfs area (kinda like overlayfs, but not)

protoman3000•54m ago
Pretty cool! You could also boot into an ephemeral minimal initrd that displays a selection menu instead of doing it in iPXE. That would grab the new kernel and initrd from the network and kexecs it without reboot.
yjftsjthsd-h•47m ago
Nice. I'm extra fond of ZFS backed network root filesystem, because it lets you put an OS on ZFS without needing to deal with ZFS support in that OS. (One of these days I want to try OpenBSD with its root on NFS on ZFS, either from Linux or FreeBSD.)

Does anyone have an opinion on iSCSI vs NBD?

ahepp•46m ago
You might find it worth upgrading to 10gbps if you continue to go down this road. The Mikrotik CRS-309 has served me well, and a couple Intel X520-DA2s. I believe those NICs can do iSCSI natively, and pass the session to the operating system with iBFT.

SFP28 might be cheap enough now too, I'm not sure...

dhash•41m ago
something worth mentioning here is that iSCSI is quite unhappy on congested networks or packet loss caused by incast traffic.

to make this actually work well, consider modifying your switches QoS settings to carve out a priority VLAN for iSCSI traffic

fragmede•35m ago
or a north-south/east-west architecture, so there's an entirely separate network just for iSCSI. Control plane vs data plane.
tehlike•39m ago
I used similar ipxe setup for robotic cluster - every robot booted from the same thing, then kubernetes managed the containe orchestration. it was fun.
anonymousiam•35m ago
I've done a lot of headless/diskless stuff. I haven't done much for years, because my NAS only has gigabit Ethernet ports. I can cascade them and get four Gbps downstream, but it's still painful.

I have recently upgraded my house to 10Gbps Ethernet, with only one room still stuck at gigabit, and unfortunately, it's my main office. I'm working on getting the drop there now (literally, just taking a break here).

Even once I'm done, accessing an iSCSI drive over 10GbE will be 4-8 times slower than a local NVMe drive, but it will sure be a lot better than it was!

Ideally, I could run VMs on the NAS and have great performance, but that's another hardware upgrade...

louwrentius•33m ago
I would probably recommend to look into NVMe over TCP over iSCSI, especially for fast NVMe drives.
deathanatos•24m ago
> UEFI fixes that to some extent, but it’s a pain to maintain the UEFI entries manually and change them every time the kernel updates.

… you don't have to update the UEFI entries every time the kernel updates. (I guess you might if you do like a kernel w/ CONFIG_EFI_STUB, and you place the new kernel under a different filename than what the UEFI boot entry point to then you might … but I was under the impression that that'd be kind of an unusual setup, and I thought most of us booting w/ EFI were doing so with Grub.)

yjftsjthsd-h•20m ago
Even if you do CONFIG_EFI_STUB, there should be a post-update hook to automatically call efibootmgr.

Valve releases Steam Controller CAD files under Creative Commons license

https://www.digitalfoundry.net/news/2026/05/valve-releases-steam-controller-cad-files-under-creat...
1264•haunter•14h ago•390 comments

Appearing productive in the workplace

https://nooneshappy.com/article/appearing-productive-in-the-workplace/
937•diebillionaires•14h ago•363 comments

Diskless Linux boot using ZFS, iSCSI and PXE

https://aniket.foo/posts/20260505-netboot/
49•stereo-highway•3h ago•14 comments

Permacomputing Principles

https://permacomputing.net/principles/
83•andsoitis•4h ago•20 comments

SQLite Is a Library of Congress Recommended Storage Format

https://sqlite.org/locrsf.html
133•whatisabcdefgh•8h ago•31 comments

Vibe coding and agentic engineering are getting closer than I'd like

https://simonwillison.net/2026/May/6/vibe-coding-and-agentic-engineering/
522•e12e•15h ago•572 comments

ProgramBench: Can Language Models Rebuild Programs from Scratch?

https://arxiv.org/abs/2605.03546
11•jonbaer•2h ago•8 comments

The Mathematical Dance Inside Plant Cells

https://www.quantamagazine.org/the-hidden-mathematical-dance-inside-plant-cells-20260504/
17•isaacfrond•1d ago•1 comments

The Vatican's Website in Latin

https://www.vatican.va/latin/latin_index.html
102•ks2048•4h ago•64 comments

Programming Still Sucks

https://www.stvn.sh/writing/programming-still-sucks-fqffhyp
266•jeromechoo•11h ago•104 comments

From Supabase to Clerk to Better Auth

https://blog.val.town/better-auth
238•stevekrouse•13h ago•164 comments

RSS Feeds Send Me More Traffic Than Google

https://shkspr.mobi/blog/2026/05/rss-feeds-send-me-more-traffic-than-google/
36•SpyCoder77•5h ago•4 comments

What I Learned Making an App for My Family

https://mendelgreenberg.com/posts/ourcar/
26•chabad360•16h ago•2 comments

Pen pal programs endure in a digital age

https://apnews.com/article/pen-pals-letters-comeback-bc87e1b9c229665bafd368e19751d6ca
32•petethomas•1d ago•2 comments

Google Cloud fraud defense, the next evolution of reCAPTCHA

https://cloud.google.com/blog/products/identity-security/introducing-google-cloud-fraud-defense-t...
263•unforgivenpasta•12h ago•257 comments

Show HN: Hallucinopedia

http://halupedia.com/
193•bstrama•13h ago•177 comments

Finding the differences in a series of power supplies

https://www.lttlabs.com/articles/2026/05/05/testing-psu-series
37•LabsLucas•1d ago•2 comments

Show HN: Tilde.run – Agent sandbox with a transactional, versioned filesystem

https://tilde.run/
148•ozkatz•14h ago•105 comments

Community firmware for the Xteink X4 e-paper reader

https://github.com/crosspoint-reader/crosspoint-reader
78•dmos62•1d ago•21 comments

Building the TD4 4-Bit CPU

https://jayakody2000lk.blogspot.com/2026/05/building-td4-4-bit-cpu.html
7•zdw•1h ago•5 comments

Learning the Integral of a Diffusion Model

https://sander.ai/2026/05/06/flow-maps.html
124•benanne•11h ago•20 comments

Building my own Vi text editor in BASIC

https://leetusman.com/nosebook/yvi
45•zeech•1d ago•21 comments

A Theory of Deep Learning

https://elonlit.com/scrivings/a-theory-of-deep-learning/
165•elonlit•1d ago•34 comments

Wolfgang Koeppen's Structural Musicality

https://www.theparisreview.org/blog/2026/05/04/wolfgang-koeppens-structural-musicality/
6•prismatic•2d ago•0 comments

Perturb-MARS: Reading mouse experiments through a human lens

https://www.noetik.blog/p/perturb-mars-reading-mouse-experiments
17•crescit_eundo•2d ago•2 comments

SoundOff: Low-Cost Passive Ultrasound Tags

https://yibo-fu.com/SoundOff-Low-cost-Passive-Ultrasound-Tags-for-Non-invasive-and-Non
56•jonbaer•13h ago•1 comments

Ted Turner has died

https://www.cnn.com/2026/05/06/us/ted-turner-death
260•pseudolus•15h ago•204 comments

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions

https://github.com/olivier-ls/php-fts
58•asmodios•9h ago•13 comments

Inkscape 1.4.4

https://inkscape.org/doc/release_notes/1.4.4/Inkscape_1.4.4.html
269•s1291•10h ago•81 comments

Show HN: I built an open-source email builder, alternative to Beefree/Unlayer

https://play.templatical.com
126•oahmadov•14h ago•31 comments