this post was submitted on 01 Dec 2024
612 points (98.6% liked)

Fediverse memes

443 readers
1 users here now

Memes about the Fediverse

Other relevant communities:

founded 3 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 weeks 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.