this post was submitted on 01 Dec 2024
680 points (98.4% liked)

Fediverse memes

415 readers
257 users here now

Memes about the Fediverse

founded 2 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 days ago

I use dnsmasq on my router (I use a small server-grade PC as a router). It’s both a DHCP server as well as a caching DNS. Next to that it also runs a TFTP server. TFTP (Trivial File Transfer Protocol) is a standard for simple file transfers mainly used for network booting.

If you tell a machine to boot from the network, it will basically request an IP through DHCP and with that DHCP response comes a list of available network boot options. Each option is contains the name of a file it can load from the TFTP server. If you select one of the options, it will download that file and execute it. That file will usually be a bootloader (like Grub) which will then take over the boot process.

I have set up a bunch of different network boot options, including a Debian installer, a small Linux rescue system and Memtest86+ . That way I can always network-boot any machine on my LAN to either install an OS or diagnose problems.