LTSP-INITRD(8)

πŸ’– LTSP-INITRD πŸ’–

okay so bestie, this is the ltsp initrd manual page from the LTSP manual set (section 8, system admin girlies only ✨). buckle up, it's actually so good.


✨ NAME ✨

ltsp initrd β€” build the ltsp.img initrd add-on πŸŽ€


🌸 SYNOPSIS 🌸

ltsp [ltsp-options] initrd

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this does is it makes you a secondary initrd at /srv/tftp/ltsp/ltsp.img, and inside that lil cutie it stuffs:

  • the LTSP client code from /usr/share/ltsp/{client,common} πŸ’…
  • literally everything under /etc/ltsp, which includes the ltsp.conf settings file πŸ‘‘
  • the server users and groups lists (passwd/group) 🌸
  • public SSH keys πŸ”‘

And then your LTSP clients get this initrd in addition to their usual one. two initrds, one slay.

Which means: every time you add new users or you edit ltsp.conf(5), you gotta run ltsp initrd again to refresh ltsp.img, and then reboot the clients. no cap. 😭

And the flip side, which is honestly the best part β€” you can just casually drop template xorg.conf files, or sshfs, or literally any other files into /etc/ltsp, and they'll be on the clients in seconds, no ltsp image run required. it's giving instant gratification fr fr 🧚


πŸ’… OPTIONS πŸ’…

  • for ltsp-options, go read the ltsp(8) man page, bestie 🫢

🌈 EXAMPLES 🌈

Okay so most live CDs don't ship with sshfs, which means by default you can only use NFS home with them πŸ˜”. BUT. sshfs is a tiny lil binary with barely any dependencies, so you can usually hand it over to the clients by dropping it into ltsp.img:

mkdir -p /etc/ltsp/bin
cp /usr/bin/sshfs /etc/ltsp/bin/sshfs-$(uname -m)
ltsp initrd

And you can even provide multiple sshfs versions for different architectures πŸ‘‘βœ¨. LTSP has code that automatically uses those sshfs binaries if it can't find the /usr/bin/sshfs one. ate.


Copyright 2019-2022 the LTSP team, see AUTHORS.


πŸ‘€ SEE ALSO πŸ‘€

ltsp(8), ltsp.conf(5), ltsp-dnsmasq(8), ltsp-image(8), ltsp-info(8), ltsp-ipxe(8), ltsp-kernel(8), ltsp-nfs(8), ltsp-remoteapps(8)

Online documentation is available on https://ltsp.org 🌐


okay that's the whole page bestie, mwah πŸ’‹ this was LTSP 23.02-3, dated 2024-09-07, and you're welcome πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from